llvm-project/clang/lib
James Y Knight 4ddf140c00 Fix PR35902: incorrect alignment used for ubsan check.
UBSan was using the complete-object align rather than nv alignment
when checking the "this" pointer of a method.

Furthermore, CGF.CXXABIThisAlignment was also being set incorrectly,
due to an incorrectly negated test. The latter doesn't appear to have
had any impact, due to it not really being used anywhere.

Differential Revision: https://reviews.llvm.org/D93072
2020-12-28 18:11:17 -05:00
..
APINotes APINotes: add bitcode format schema definitions 2020-12-08 21:15:41 +00:00
ARCMigrate ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRef 2020-12-09 14:16:05 -08:00
AST [CodeGen][ObjC] Destroy callee-destroyed arguments in the caller 2020-12-28 11:52:27 -08:00
ASTMatchers [ASTMatchers] Traverse-ignore range-for implementation details 2020-12-22 12:09:32 +00:00
Analysis [ASTImporter] Add support for importing GenericSelectionExpr AST nodes. 2020-12-16 15:39:50 -08:00
Basic Basic: Add native support for stdin to SourceManager and FileManager 2020-12-23 15:18:50 -08:00
CodeGen Fix PR35902: incorrect alignment used for ubsan check. 2020-12-28 18:11:17 -05:00
CrossTU Use basic_string::find(char) instead of basic_string::find(const char *s, size_type pos=0) 2020-12-16 23:28:32 -08:00
DirectoryWatcher Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
Driver Revert "-fstack-clash-protection: Return an actual error when used on unsupported OS" 2020-12-22 06:51:19 -05:00
Edit [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
Format [clang-format] PR48569 clang-format fails to align case label with `switch` with Whitesmith Indentation 2020-12-26 15:19:03 +00:00
Frontend Basic: Add native support for stdin to SourceManager and FileManager 2020-12-23 15:18:50 -08:00
FrontendTool
Headers [cuda][hip] Fix typoes in header wrappers. 2020-12-21 13:02:47 -05:00
Index Revert "[c++20] P1907R1: Support for generalized non-type template arguments of scalar type." 2020-12-22 10:18:08 -08:00
IndexSerialization
Lex Revert "Lex: Migrate HeaderSearch::LoadedModuleMaps to FileEntryRef" 2020-12-14 22:05:08 -05:00
Parse Make LLVM build in C++20 mode 2020-12-17 10:44:10 +00:00
Rewrite SourceManager: Clarify that FileInfo always has a ContentCache, NFC 2020-10-23 12:38:53 -04:00
Sema Revert "Following up on PR48517, fix handling of template arguments that refer" 2020-12-22 10:18:08 -08:00
Serialization Revert "[c++20] P1907R1: Support for generalized non-type template arguments of scalar type." 2020-12-22 10:18:08 -08:00
StaticAnalyzer Make LLVM build in C++20 mode 2020-12-17 10:44:10 +00:00
Testing
Tooling Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00