llvm-project/clang/lib
Leonard Chan 2e009dbcb3 [clang] Frontend components for the relative vtables ABI
This patch contains all of the clang changes from D72959.

- Generalize the relative vtables ABI such that it can be used by other targets.
- Add an enum VTableComponentLayout which controls whether components in the
  vtable should be pointers to other structs or relative offsets to those structs.
  Other ABIs can change this enum to restructure how components in the vtable
  are laid out/accessed.
- Add methods to ConstantInitBuilder for inserting relative offsets to a
  specified position in the aggregate being constructed.

See D72959 for background info.

Differential Revision: https://reviews.llvm.org/D77592
2020-06-10 12:48:10 -07:00
..
ARCMigrate [NFC] Refactoring PropertyAttributeKind for ObjCPropertyDecl and ObjCDeclSpec. 2020-04-23 17:21:25 -04:00
AST [clang] Frontend components for the relative vtables ABI 2020-06-10 12:48:10 -07:00
ASTMatchers [ASTMatchers] Matchers related to C++ inheritance 2020-05-29 12:38:01 -07:00
Analysis Assignment and Inc/Dec operators wouldn't register as a mutation when Implicit Paren Casts were present 2020-06-09 19:45:57 +01:00
Basic [OpenMP][AMDGCN] Support OpenMP offloading for AMDGCN architecture - Part 2 2020-06-10 18:09:59 +00:00
CodeGen [clang] Frontend components for the relative vtables ABI 2020-06-10 12:48:10 -07:00
CrossTU Revert "[analyzer] On-demand parsing capability for CTU" 2020-06-10 17:55:37 +02:00
DirectoryWatcher [DirectoryWatcher] Do not use FSEvents on non-macOS platforms 2020-04-23 10:22:28 -07:00
Driver [hip] Fix device-only relocatable code compilation. 2020-06-10 14:10:41 -04:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] Microsoft style fixes for C# properties 2020-06-09 14:50:34 +01:00
Frontend [clang] Frontend components for the relative vtables ABI 2020-06-10 12:48:10 -07:00
FrontendTool [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
Headers Rename arg name in __clang_hip_math.h 2020-06-08 14:13:32 -04:00
Index [ARM] Add __bf16 as new Bfloat16 C Type 2020-06-05 10:32:43 +01:00
Lex [clang] Always allow including builtin headers in [no_undeclared_headers] modules. 2020-06-04 08:33:39 +02:00
Parse PR46255: Fix field diagnostics for C records with anonymous members. 2020-06-09 12:27:44 -07:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [clang][Attribute] Fix noderef attribute false-negatives 2020-06-10 12:20:54 -07:00
Serialization [ObjC] Fix AST serialization for pseudo-strong parameters 2020-06-08 11:54:01 -04:00
StaticAnalyzer [clang][StaticAnalyzer] Fix unused variable warning for debug builds 2020-06-09 13:35:41 +02:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling Propose naming principle for NodeRole and apply it 2020-06-04 20:08:35 +02:00
CMakeLists.txt Move unittest helpers to a shared location 2020-05-29 16:47:33 +02:00