llvm-project/clang/lib/Basic
Jon Chesterfield 77579b99e9 [openmp][nfc] Replace OMPGridValues array with struct
[nfc] Replaces enum indices into an array with a struct. Named the
fields to match the enum, leaves memory layout and initialization unchanged.

Motivation is to later safely remove dead fields and replace redundant ones
with (compile time) computation. It should also be possible to factor some
common fields into a base and introduce a gfx10 amdgpu instance with less
duplication than the arrays of integers require.

Reviewed By: ronlieb

Differential Revision: https://reviews.llvm.org/D108339
2021-08-19 13:25:42 +01:00
..
Targets [openmp][nfc] Replace OMPGridValues array with struct 2021-08-19 13:25:42 +01:00
Attributes.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00
Builtins.cpp The compiler is crashing when compiling a coroutine intrinsic without 2021-05-26 18:07:31 -07:00
CMakeLists.txt [clang] NFC, move DarwinSDKInfo to lib/Basic 2021-07-20 13:22:48 -07:00
CharInfo.cpp
CodeGenOptions.cpp [NFC] Remove duplicate isNoBuiltinFunc method 2021-03-10 09:18:55 +01:00
Cuda.cpp [AMDGPU] Add gfx1035 target 2021-06-24 14:32:41 -04:00
DarwinSDKInfo.cpp [clang][driver][darwin] Add driver support for Mac Catalyst 2021-07-22 10:20:19 -07:00
Diagnostic.cpp [clang] Add a new nullability annotation for swift async: _Nullable_result 2020-12-07 17:19:20 -05:00
DiagnosticIDs.cpp [clang][NFC] pack StaticDiagInfoRec 2021-03-03 02:53:10 +00:00
DiagnosticOptions.cpp
ExpressionTraits.cpp [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits... 2020-06-11 14:35:52 +01:00
FileEntry.cpp Basic: Add native support for stdin to SourceManager and FileManager 2020-12-23 15:18:50 -08:00
FileManager.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
FileSystemStatCache.cpp
IdentifierTable.cpp Correct the 'KEYALL' mask. 2021-05-27 07:20:32 -07:00
LangOptions.cpp [OpenCL] Clang diagnostics allow reporting C++ for OpenCL version. 2021-08-13 13:55:22 +01:00
LangStandards.cpp Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
Module.cpp [clang][modules] Build inferred modules 2021-05-17 10:40:51 +02:00
NoSanitizeList.cpp [clang][patch] Inclusive language, modify filename SanitizerBlacklist.h to NoSanitizeList.h 2021-02-22 15:11:37 -05:00
ObjCRuntime.cpp
OpenCLOptions.cpp [OpenCL] Add support of __opencl_c_pipes feature macro. 2021-07-30 18:10:25 +03:00
OpenMPKinds.cpp [OpenMP] Implement '#pragma omp unroll'. 2021-06-10 14:30:17 -05:00
OperatorPrecedence.cpp
ProfileList.cpp Fix "not all control paths return a value" warning. NFCI. 2021-01-27 10:15:21 +00:00
SanitizerSpecialCaseList.cpp Reland 9f3fdb0d7fab: [Driver] Use VFS to check if sanitizer blacklists exist 2019-11-21 11:56:09 +01:00
Sanitizers.cpp [clang-cl][sanitizer] Add -fsanitize-address-use-after-return to clang. 2021-06-11 12:07:35 -07:00
SourceLocation.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
SourceManager.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
Stack.cpp [msvc] Add necessary #include to make compiler intrinsics available. 2019-08-26 18:33:15 +00:00
TargetID.cpp [clang][AMDGPU] rename sram-ecc as sramecc 2020-12-07 18:05:47 -05:00
TargetInfo.cpp [OpenCL] Add support of __opencl_c_pipes feature macro. 2021-07-30 18:10:25 +03:00
Targets.cpp [OpenCL] Add support of __opencl_c_read_write_images feature macro 2021-07-13 15:38:23 +03:00
Targets.h De-templatize non-dependent VS macro logic, NFC 2019-07-09 20:57:28 +00:00
TokenKinds.cpp Use switch instead of series of comparisons 2019-08-03 16:32:49 +00:00
TypeTraits.cpp [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits... 2020-06-11 14:35:52 +01:00
Version.cpp Remove HAVE_VCS_VERSION_INC, not needed 2020-10-29 13:09:05 -07:00
Warnings.cpp [Sema] Special case -Werror-implicit-function-declaration and reject other -Werror- 2020-11-05 10:25:30 -08:00
XRayInstr.cpp [clang][cli] Generate and round-trip CodeGen options 2021-02-09 11:43:38 +01:00
XRayLists.cpp Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00