llvm-capstone/clang/lib
Sunrise 3542168be0
[clang][AST] fix lack comparison of declRefExpr in ASTStructuralEquivalence (#66041)
Fixed #66047
Before fix,the following testcase expected true.
```cpp
TEST_F(StructuralEquivalenceStmtTest, DeclRefENoEq) {
  std::string Prefix = "enum Test { AAA, BBB };";
  auto t = makeStmts(
      Prefix + "void foo(int i) {if (i > 0) {i = AAA;} else {i = BBB;}}",
      Prefix + "void foo(int i) {if (i > 0) {i = BBB;} else {i = AAA;}}",
      Lang_CXX03, ifStmt());
  EXPECT_FALSE(testStructuralMatch(t)); // EXPECT_TRUE
}
```
2023-09-21 14:55:19 +08:00
..
Analysis [clang][dataflow] Identify post-visit state changes in the HTML logger. (#66746) 2023-09-20 15:18:57 +02:00
APINotes [APINotes] Support SwiftImportAs for C++ structs 2023-09-07 08:39:35 +01:00
ARCMigrate [clang] NFCI: Use FileEntryRef in FileRemapper (2/2) 2023-09-10 08:19:26 -07:00
AST [clang][AST] fix lack comparison of declRefExpr in ASTStructuralEquivalence (#66041) 2023-09-21 14:55:19 +08:00
ASTMatchers [ASTMatchers] Modernize TimeBucketRegion (NFC) 2023-08-27 16:13:48 -07:00
Basic [NFC] Minimize header includes (#66339) 2023-09-14 02:29:11 -07:00
CodeGen Revert "[Coverage] Fix -Wswitch after D138847" 2023-09-20 14:45:19 -07:00
CrossTU [clang] NFCI: Change returned AnalyzerOptions smart pointer to reference 2023-09-05 13:23:53 -07:00
DirectoryWatcher [clang] Use std::optional instead of llvm::Optional (NFC) 2023-01-02 15:54:57 -08:00
Driver [Driver] Some improvements for path handling on NetBSD (#66863) 2023-09-20 12:50:37 -04:00
Edit Revert "[NFC][clang] EditedSource::applyRewrites - useless call" 2023-08-23 08:32:30 -07:00
ExtractAPI [clang] NFCI: Use FileEntryRef in FileManager::getCanonicalName() 2023-09-13 15:31:58 -07:00
Format [clang-format][NFC] Clean up signatures of some parser functions (#66569) 2023-09-20 01:13:05 -07:00
Frontend Implement mangling rules for C++20 concepts and requires-expressions. 2023-09-20 12:38:15 -07:00
FrontendTool [clang] NFCI: Change returned AnalyzerOptions smart pointer to reference 2023-09-05 13:23:53 -07:00
Headers [X86] Align other variants to use void * as 512 variants. (#66310) 2023-09-20 20:59:25 +08:00
Index Reapply "[clang] NFCI: Adopt SourceManager::getFileEntryRefForID()" 2023-09-08 19:04:01 -07:00
IndexSerialization
Interpreter [NFC][CodeGen] Change CodeGenOpt::Level/CodeGenFileType into enum classes (#66295) 2023-09-14 14:10:14 -07:00
Lex Re-apply "[Parse] Split incremental-extensions" (#66446) 2023-09-20 23:35:34 -07:00
Parse Re-apply "[Parse] Split incremental-extensions" (#66446) 2023-09-20 23:35:34 -07:00
Rewrite Partially revert "[clang] NFCI: Adopt SourceManager::getFileEntryRefForID()" 2023-09-06 11:59:40 -07:00
Sema [Sema] Fix fixit cast printing inside macros (#66853) 2023-09-20 17:32:35 -07:00
Serialization Implement mangling rules for C++20 concepts and requires-expressions. 2023-09-20 12:38:15 -07:00
StaticAnalyzer [analyzer] Fix StackAddrEscapeChecker crash on temporary object fields (#66493) 2023-09-20 13:54:21 +02:00
Support [RISCV] Support vector crypto extension C intrinsics 2023-08-08 17:09:49 -07:00
Testing [IncludeCleaner][clangd] Mark umbrella headers as users of private 2023-03-23 13:08:07 +01:00
Tooling [DependencyScanningFilesystem] Make sure the local/shared cache filename lookups use only absolute paths (#66122) 2023-09-19 18:18:23 -07:00
CMakeLists.txt