llvm-capstone/clang/unittests
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
AST [clang][AST] fix lack comparison of declRefExpr in ASTStructuralEquivalence (#66041) 2023-09-21 14:55:19 +08:00
ASTMatchers [clang][ASTMatcher] Add matcher for 'MacroQualifiedType' 2023-08-16 18:03:16 +08:00
Basic [clang] NFCI: Use FileEntryRef in FileManagerTest 2023-09-20 18:41:25 -07:00
CodeGen Stop using legacy helpers indicating typed pointer types. NFC 2023-08-02 12:08:37 +02:00
CrossTU [clang] NFCI: Change returned AnalyzerOptions smart pointer to reference 2023-09-05 13:23:53 -07:00
DirectoryWatcher [CMake] Reduce deps 2023-04-20 08:45:38 +09:00
Driver [Driver][unittest] Unbreak ToolChainTest.cpp compilation with -Werror 2023-08-16 10:37:14 +02:00
Format [clang-format] Properly indent lines inside Verilog case structure (#65861) 2023-09-16 14:30:19 +00:00
Frontend [clang] Introduce copy-on-write CompilerInvocation (#65412) 2023-09-07 14:01:40 -07:00
Index [index][clangd] Consider labels when indexing function bodies 2023-08-01 09:07:05 +02:00
Interpreter [test][clang-repl][Orc] Lsan report workaround 2023-09-13 09:07:30 -07:00
Introspection [CMake] Reorder and reformat deps 2023-04-17 00:32:16 +09:00
Lex [clang] NFCI: Use FileEntryRef in FileManager::getBufferForFile() 2023-09-13 15:02:20 -07:00
libclang [libclang] Expose arguments of clang::annotate 2023-08-11 10:03:39 -04:00
Rename Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Rewrite
Sema [Modules] [Sema] Don't try to getAcceptableDecls during the iteration of noload_lookups 2023-06-09 11:32:06 +08:00
Serialization Turn off memory leaks in unit test 2023-09-14 13:16:22 +02:00
StaticAnalyzer [clang] NFCI: Change returned AnalyzerOptions smart pointer to reference 2023-09-05 13:23:53 -07:00
Support [Clang] Add machinery to catch overflow in unary minus outside of a constant expression context 2023-01-31 09:35:12 -08:00
Tooling [clang][lex] Use preferred path separator in includer-relative lookup 2023-09-08 16:38:08 -07:00
CMakeLists.txt [clang] Fix linking to LLVMTestingAnnotations in standalone build 2023-01-24 13:21:24 +01:00