llvm-capstone/clang/lib/Basic
Juergen Ributzka c5a33befcc
[clang][modules] Fix CodeGen options that can affect the AST. (#78816)
`OptimizationLevel` and `OptimizeSize` can affect the generated AST. They indirectly affect the `Optimize` and `OptimizeSize` frontend options, which in turn set predefined macro definitions.

This fixes rdar://121228252.
2024-01-23 09:30:58 -08:00
..
Targets [ARM] Introduce the v9.5-A architecture version to Arm targets (#78994) 2024-01-23 14:39:15 +00:00
Attributes.cpp [clang] Use StringRef::{starts,ends}_with (NFC) (#75149) 2023-12-13 08:54:13 -08:00
Builtins.cpp [clang] Add a namespace for interesting identifiers. 2023-06-22 13:24:00 -04:00
BuiltinTargetFeatures.h [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
CharInfo.cpp
CLWarnings.cpp [clang] Use std::optional instead of llvm::Optional (NFC) 2023-01-02 15:54:57 -08:00
CMakeLists.txt [OpenMP] atomic compare fail : Parser & AST support 2023-11-26 13:34:34 -06:00
CodeGenOptions.cpp [clang][modules] Fix CodeGen options that can affect the AST. (#78816) 2024-01-23 09:30:58 -08:00
Cuda.cpp [CUDA] Add support for CUDA-12.3 and sm_90a (#74895) 2023-12-11 12:18:28 -08:00
DarwinSDKInfo.cpp [clang] Use std::optional instead of llvm::Optional (NFC) 2023-01-14 12:31:01 -08:00
Diagnostic.cpp [Clang][Sema] Fix display of characters on static assertion failure 2023-10-04 14:09:06 +09:00
DiagnosticIDs.cpp [clang] Use StringRef::{starts,ends}_with (NFC) (#75149) 2023-12-13 08:54:13 -08:00
DiagnosticOptions.cpp [clang] Use std::underlying_type_t (NFC) 2022-10-12 19:20:38 -07:00
ExpressionTraits.cpp
FileEntry.cpp
FileManager.cpp [clang] Use SmallString::operator std::string (NFC) 2024-01-20 18:57:30 -08:00
FileSystemStatCache.cpp
IdentifierTable.cpp [clang] Use StringRef::ltrim (NFC) 2023-12-27 09:10:39 -08:00
LangOptions.cpp [C23] Rename C2x -> C23; NFC 2023-08-11 07:43:43 -04:00
LangStandards.cpp [clang] Language to String function (#69487) 2023-10-27 17:22:49 -04:00
MakeSupport.cpp Ensure newlines at the end of files (NFC) 2022-07-17 15:37:45 -07:00
Module.cpp [clang] Use StringRef::{starts,ends}_with (NFC) (#75149) 2023-12-13 08:54:13 -08:00
NoSanitizeList.cpp [sanitizer] Add "mainfile" prefix to sanitizer special case list 2022-07-15 10:39:26 -07:00
ObjCRuntime.cpp
OpenCLOptions.cpp [clang] Use *{Set,Map}::contains (NFC) 2023-03-14 19:17:18 -07:00
OpenMPKinds.cpp [OpenMP] atomic compare fail : Parser & AST support 2023-11-26 13:34:34 -06:00
OperatorPrecedence.cpp
ParsedAttrInfo.cpp [NFC][clang] Fix coverity static analyzer concerns about AUTO_CAUSES_COPY 2023-04-17 21:33:21 -04:00
ProfileList.cpp [SpecialCaseList] Add option to use Globs instead of Regex to match patterns 2023-09-01 09:06:11 -07:00
Sanitizers.cpp [Driver] Adjust -fsanitize=function & -mexecute-only interop after D158614 2023-08-30 20:30:13 -07:00
SanitizerSpecialCaseList.cpp [SpecialCaseList] Add option to use Globs instead of Regex to match patterns 2023-09-01 09:06:11 -07:00
Sarif.cpp [clang] Use StringRef::{starts,ends}_with (NFC) (#75149) 2023-12-13 08:54:13 -08:00
SourceLocation.cpp Reapply "[clang] NFCI: Adopt SourceManager::getFileEntryRefForID()" 2023-09-08 19:04:01 -07:00
SourceManager.cpp [clang] Improve SourceManager::PrintStats() 2023-11-06 14:45:04 -08:00
SourceMgrAdapter.cpp [APINotes] Upstream APINotesManager 2023-11-17 13:28:51 +00:00
Stack.cpp Remove unused #include "llvm/ADT/Optional.h" 2022-12-05 06:31:11 +00:00
TargetID.cpp [NFC][clang] Fix static analyzer concerns about AUTO_CAUSES_COPY 2023-04-28 18:58:55 -07:00
TargetInfo.cpp [clang] Use StringRef::{starts,ends}_with (NFC) (#75149) 2023-12-13 08:54:13 -08:00
Targets.cpp Hurd: Add x86_64 support (#78065) 2024-01-17 14:38:40 -08:00
Targets.h [clang] Return std::unique_ptr<TargetInfo> from AllocateTarget 2023-04-18 10:07:26 +00:00
TokenKinds.cpp
TypeTraits.cpp [clang] fix frontend crash when evaluating type trait 2022-08-13 00:02:19 +08:00
Version.cpp [clang] Add getClangVendor() and use it in CodeGenModule.cpp (#75935) 2023-12-20 20:09:39 +01:00
Warnings.cpp [Basic] Use StringRef::consume_front (NFC) 2024-01-15 21:25:48 -08:00
XRayInstr.cpp
XRayLists.cpp