llvm-capstone/clang/unittests
Kinuko Yasuda 0612c9b09a
[clang][dataflow] Ignore assignment where base class's operator is used (#66364)
In C++ it seems it is legit to use base class's operator (e.g. `using
Base::operator=`) to perform copy if the base class is the common
ancestor of the source and destination object. In such a case we
shouldn't try to access fields beyond that of the base class, however
such a case seems to be very rare (typical code would implement a copy
constructor instead), and could add complexities, so in this patch we
simply bail if the method operator's parent class is different from the
type of the destination object that this framework recognizes.
2023-09-14 20:45:56 +02:00
..
Analysis [clang][dataflow] Ignore assignment where base class's operator is used (#66364) 2023-09-14 20:45:56 +02:00
AST Reland "Update GoogleTest to v1.14.0 (#65823)" 2023-09-13 14:17:24 -07:00
ASTMatchers [clang][ASTMatcher] Add matcher for 'MacroQualifiedType' 2023-08-16 18:03:16 +08:00
Basic Sarif: stabilize artifacts order 2023-07-20 21:37:50 -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] More on unbreakable strings in TypeScript (#66321) 2023-09-14 12:41:21 +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
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