@@ -209,17 +209,17 @@ CODEGENOPT(ObjCAvoidHeapifyLocalBlocks, 1, 0, Benign)
209209
210210
211211// The optimization options affect frontend options, which in turn do affect the AST.
212- VALUE_CODEGENOPT(OptimizationLevel, 2, 0, Affecting ) ///< The -O[0-3] option specified.
213- VALUE_CODEGENOPT(OptimizeSize, 2, 0, Affecting ) ///< If -Os (==1, Benign) or -Oz (==2, Benign) is specified.
212+ VALUE_CODEGENOPT(OptimizationLevel, 2, 0, Compatible ) ///< The -O[0-3] option specified.
213+ VALUE_CODEGENOPT(OptimizeSize, 2, 0, Compatible ) ///< If -Os (==1, Benign) or -Oz (==2, Benign) is specified.
214214
215215CODEGENOPT(AtomicProfileUpdate , 1, 0, Benign) ///< Set -fprofile-update=atomic
216216CODEGENOPT(ContinuousProfileSync, 1, 0, Benign) ///< Enable continuous instrumentation profiling
217217/// Choose profile instrumenation kind or no instrumentation.
218218
219- ENUM_CODEGENOPT(ProfileInstr, llvm::driver:: ProfileInstrKind, 4, llvm::driver:: ProfileInstrKind::ProfileNone, Benign)
219+ ENUM_CODEGENOPT(ProfileInstr, ProfileInstrKind, 4, ProfileInstrKind::ProfileNone, Benign)
220220
221221/// Choose profile kind for PGO use compilation.
222- ENUM_CODEGENOPT(ProfileUse, llvm::driver:: ProfileInstrKind, 2, llvm::driver:: ProfileInstrKind::ProfileNone, Benign)
222+ ENUM_CODEGENOPT(ProfileUse, ProfileInstrKind, 2, ProfileInstrKind::ProfileNone, Benign)
223223/// Partition functions into N groups and select only functions in group i to be
224224/// instrumented. Selected group numbers can be 0 to N-1 inclusive.
225225VALUE_CODEGENOPT(ProfileTotalFunctionGroups, 32, 1, Benign)
@@ -244,8 +244,8 @@ CODEGENOPT(SaveTempLabels , 1, 0, Benign) ///< Save temporary labels.
244244CODEGENOPT(SanitizeAddressUseAfterScope , 1, 0, Benign) ///< Enable use-after-scope detection
245245 ///< in AddressSanitizer
246246ENUM_CODEGENOPT(SanitizeAddressUseAfterReturn,
247- llvm:: AsanDetectStackUseAfterReturnMode, 2,
248- llvm:: AsanDetectStackUseAfterReturnMode::Runtime,
247+ AsanDetectStackUseAfterReturnMode, 2,
248+ AsanDetectStackUseAfterReturnMode::Runtime,
249249 Benign
250250 ) ///< Set detection mode for stack-use-after-return.
251251CODEGENOPT(SanitizeAddressPoisonCustomArrayCookie, 1, 0, Benign) ///< Enable poisoning operator new[] which is not a replaceable
@@ -255,9 +255,9 @@ CODEGENOPT(SanitizeAddressGlobalsDeadStripping, 1, 0, Benign) ///< Enable linker
255255CODEGENOPT(SanitizeAddressUseOdrIndicator, 1, 0, Benign) ///< Enable ODR indicator globals
256256CODEGENOPT(SanitizeMemoryTrackOrigins, 2, 0, Benign) ///< Enable tracking origins in
257257 ///< MemorySanitizer
258- ENUM_CODEGENOPT(SanitizeAddressDtor, llvm:: AsanDtorKind, 2,
259- llvm:: AsanDtorKind::Global, Benign) ///< Set how ASan global
260- ///< destructors are emitted.
258+ ENUM_CODEGENOPT(SanitizeAddressDtor, AsanDtorKind, 2,
259+ AsanDtorKind::Global, Benign) ///< Set how ASan global
260+ ///< destructors are emitted.
261261CODEGENOPT(SanitizeMemoryParamRetval, 1, 0, Benign) ///< Enable detection of uninitialized
262262 ///< parameters and return values
263263 ///< in MemorySanitizer
@@ -375,13 +375,13 @@ VALUE_CODEGENOPT(SmallDataLimit, 32, 0, Benign)
375375VALUE_CODEGENOPT(SSPBufferSize, 32, 0, Benign)
376376
377377/// The kind of inlining to perform.
378- ENUM_CODEGENOPT(Inlining, InliningMethod, 2, NormalInlining, Benign )
378+ ENUM_CODEGENOPT(Inlining, InliningMethod, 2, NormalInlining, Compatible )
379379
380380/// The maximum stack size a function can have to be considered for inlining.
381381VALUE_CODEGENOPT(InlineMaxStackSize, 32, UINT_MAX, Benign)
382382
383383// Vector functions library to use.
384- ENUM_CODEGENOPT(VecLib, llvm::driver:: VectorLibrary, 4, llvm::driver:: VectorLibrary::NoLibrary, Benign)
384+ ENUM_CODEGENOPT(VecLib, VectorLibrary, 4, VectorLibrary::NoLibrary, Benign)
385385
386386/// The default TLS model to use.
387387ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel, Benign)
@@ -457,8 +457,8 @@ ENUM_CODEGENOPT(SwiftAsyncFramePointer, SwiftAsyncFramePointerKind, 2,
457457CODEGENOPT(SkipRaxSetup, 1, 0, Benign)
458458
459459/// Whether to zero out caller-used registers before returning.
460- ENUM_CODEGENOPT(ZeroCallUsedRegs, llvm::ZeroCallUsedRegs:: ZeroCallUsedRegsKind,
461- 5, llvm::ZeroCallUsedRegs:: ZeroCallUsedRegsKind::Skip, Benign)
460+ ENUM_CODEGENOPT(ZeroCallUsedRegs, ZeroCallUsedRegsKind,
461+ 5, ZeroCallUsedRegsKind::Skip, Benign)
462462
463463/// Modify C++ ABI to returning `this` pointer from constructors and
464464/// non-deleting destructors. (No effect on Microsoft ABI.)
@@ -477,8 +477,8 @@ CODEGENOPT(ResMayAlias, 1, 0, Benign)
477477
478478/// Controls how unwind v2 (epilog) information should be generated for x64
479479/// Windows.
480- ENUM_CODEGENOPT(WinX64EHUnwindV2, llvm:: WinX64EHUnwindV2Mode,
481- 2, llvm:: WinX64EHUnwindV2Mode::Disabled, Benign)
480+ ENUM_CODEGENOPT(WinX64EHUnwindV2, WinX64EHUnwindV2Mode,
481+ 2, WinX64EHUnwindV2Mode::Disabled, Benign)
482482
483483/// FIXME: Make DebugOptions its own top-level .def file.
484484#include "DebugOptions.def"
0 commit comments