| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[clang] Use StringRef::operator== instead of StringRef::equals (NFC) (#91844) I'm planning to remove StringRef::equals in favor of StringRef::operator==. - StringRef::operator==/!= outnumber StringRef::equals by a factor of 24 under clang/ in terms of their usage. - The elimination of StringRef::equals brings StringRef closer to std::string_view, which has operator== but not equals. - S == "foo" is more readable than S.equals("foo"), especially for !Long.Expression.equals("str") vs Long.Expression != "str". | 2 年前 | |
[ASTMatchers] Fix classIsDerivedFrom for recusrive cases (#67307) By ensuring the base is only visited once. This avoids infinite recursion and expontential running times in some corner cases. See the added tests for examples. Apart from the cases that caused infinite recursion and used to crash, this change is an NFC and results of the matchers are the same. | 2 年前 | |
[clang][ASTMatcher] Add matchers for CXXFoldExpr (#71245) Adds support for the following matchers related to CXXFoldExpr: cxxFoldExpr, callee, hasInit, hasPattern, isRightFold, isLeftFold, isUnaryFold, isBinaryFold, hasOperator, hasLHS, hasRHS. | 2 年前 | |
cmake: add missing dependencies on ClangDriverOptions tablegen The modules build trips over this frequently because there is no textual include of the tablegen output, but the module includes it. Differential revision: https://reviews.llvm.org/D157119 | 2 年前 | |
[clang] Stop including llvm/ADT/StringMap.h (NFC) These source files do not use StringMap.h. | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 2 年前 |