clang  14.0.0git
LangOptions.h
Go to the documentation of this file.
1 //===- LangOptions.h - C Language Family Language Options -------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 /// \file
10 /// Defines the clang::LangOptions interface.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_CLANG_BASIC_LANGOPTIONS_H
15 #define LLVM_CLANG_BASIC_LANGOPTIONS_H
16 
18 #include "clang/Basic/LLVM.h"
21 #include "clang/Basic/Sanitizers.h"
23 #include "clang/Basic/Visibility.h"
24 #include "llvm/ADT/FloatingPointMode.h"
25 #include "llvm/ADT/StringRef.h"
26 #include "llvm/ADT/Triple.h"
27 #include <string>
28 #include <vector>
29 
30 namespace clang {
31 
32 /// Bitfields of LangOptions, split out from LangOptions in order to ensure that
33 /// this large collection of bitfields is a trivial class type.
35  friend class CompilerInvocation;
36 
37 public:
38  // Define simple language options (with no accessors).
39 #define LANGOPT(Name, Bits, Default, Description) unsigned Name : Bits;
40 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description)
41 #include "clang/Basic/LangOptions.def"
42 
43 protected:
44  // Define language options of enumeration type. These are private, and will
45  // have accessors (below).
46 #define LANGOPT(Name, Bits, Default, Description)
47 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
48  unsigned Name : Bits;
49 #include "clang/Basic/LangOptions.def"
50 };
51 
52 /// In the Microsoft ABI, this controls the placement of virtual displacement
53 /// members used to implement virtual inheritance.
55 
56 /// Keeps track of the various options that can be
57 /// enabled, which controls the dialect of C or C++ that is accepted.
58 class LangOptions : public LangOptionsBase {
59 public:
61  using RoundingMode = llvm::RoundingMode;
62 
65 
66  // Automatic variables live on the stack, and when trivial they're usually
67  // uninitialized because it's undefined behavior to use them without
68  // initializing them.
70 
72  // Default C standard behavior.
74 
75  // -fwrapv
77 
78  // -ftrapv
80  };
81 
82  // FIXME: Unify with TUKind.
84  /// Not compiling a module interface at all.
86 
87  /// Compiling a module from a module map.
89 
90  /// Compiling a module from a list of header files.
92 
93  /// Compiling a C++ modules TS module interface unit.
95  };
96 
102  };
103 
105 
113  };
114 
116 
117  // Corresponds to _MSC_VER
119  MSVC2010 = 1600,
120  MSVC2012 = 1700,
121  MSVC2013 = 1800,
122  MSVC2015 = 1900,
123  MSVC2017 = 1910,
124  MSVC2017_5 = 1912,
125  MSVC2017_7 = 1914,
126  MSVC2019 = 1920,
127  MSVC2019_8 = 1928,
128  };
129 
134  // The "default" SYCL version to be used when none is specified on the
135  // frontend command line.
137  };
138 
139  /// Clang versions with different platform ABI conformance.
140  enum class ClangABI {
141  /// Attempt to be ABI-compatible with code generated by Clang 3.8.x
142  /// (SVN r257626). This causes <1 x long long> to be passed in an
143  /// integer register instead of an SSE register on x64_64.
144  Ver3_8,
145 
146  /// Attempt to be ABI-compatible with code generated by Clang 4.0.x
147  /// (SVN r291814). This causes move operations to be ignored when
148  /// determining whether a class type can be passed or returned directly.
149  Ver4,
150 
151  /// Attempt to be ABI-compatible with code generated by Clang 6.0.x
152  /// (SVN r321711). This causes determination of whether a type is
153  /// standard-layout to ignore collisions between empty base classes
154  /// and between base classes and member subobjects, which affects
155  /// whether we reuse base class tail padding in some ABIs.
156  Ver6,
157 
158  /// Attempt to be ABI-compatible with code generated by Clang 7.0.x
159  /// (SVN r338536). This causes alignof (C++) and _Alignof (C11) to be
160  /// compatible with __alignof (i.e., return the preferred alignment)
161  /// rather than returning the required alignment.
162  Ver7,
163 
164  /// Attempt to be ABI-compatible with code generated by Clang 9.0.x
165  /// (SVN r351319). This causes vectors of __int128 to be passed in memory
166  /// instead of passing in multiple scalar registers on x86_64 on Linux and
167  /// NetBSD.
168  Ver9,
169 
170  /// Attempt to be ABI-compatible with code generated by Clang 11.0.x
171  /// (git 2e10b7a39b93). This causes clang to pass unions with a 256-bit
172  /// vector member on the stack instead of using registers, to not properly
173  /// mangle substitutions for template names in some cases, and to mangle
174  /// declaration template arguments without a cast to the parameter type
175  /// even when that can lead to mangling collisions.
176  Ver11,
177 
178  /// Attempt to be ABI-compatible with code generated by Clang 12.0.x
179  /// (git 8e464dd76bef). This causes clang to mangle lambdas within
180  /// global-scope inline variables incorrectly.
181  Ver12,
182 
183  /// Conform to the underlying platform's C and C++ ABIs as closely
184  /// as we can.
185  Latest
186  };
187 
188  enum class CoreFoundationABI {
189  /// No interoperability ABI has been specified
190  Unspecified,
191  /// CoreFoundation does not have any language interoperability
192  Standalone,
193  /// Interoperability with the ObjectiveC runtime
194  ObjectiveC,
195  /// Interoperability with the latest known version of the Swift runtime
196  Swift,
197  /// Interoperability with the Swift 5.0 runtime
198  Swift5_0,
199  /// Interoperability with the Swift 4.2 runtime
200  Swift4_2,
201  /// Interoperability with the Swift 4.1 runtime
202  Swift4_1,
203  };
204 
205  enum FPModeKind {
206  // Disable the floating point pragma
208 
209  // Enable the floating point pragma
211 
212  // Aggressively fuse FP ops (E.g. FMA) disregarding pragmas.
214 
215  // Aggressively fuse FP ops and honor pragmas.
217  };
218 
219  /// Alias for RoundingMode::NearestTiesToEven.
220  static constexpr unsigned FPR_ToNearest =
221  static_cast<unsigned>(llvm::RoundingMode::NearestTiesToEven);
222 
223  /// Possible floating point exception behavior.
225  /// Assume that floating-point exceptions are masked.
227  /// Transformations do not cause new exceptions but may hide some.
229  /// Strictly preserve the floating-point exception semantics.
231  };
232 
233  /// Possible exception handling behavior.
235 
237  /// Permit no implicit vector bitcasts.
238  None,
239  /// Permit vector bitcasts between integer vectors with different numbers
240  /// of elements but the same total bit-width.
241  Integer,
242  /// Permit vector bitcasts between all vectors with the same total
243  /// bit-width.
244  All,
245  };
246 
247  enum class AltivecSrcCompatKind {
248  // All vector compares produce scalars except vector pixel and vector bool.
249  // The types vector pixel and vector bool return vector results.
250  Mixed,
251  // All vector compares produce vector results as in GCC.
252  GCC,
253  // All vector compares produce scalars as in XL.
254  XL,
255  // Default clang behaviour.
256  Default = Mixed,
257  };
258 
260  /// No signing for any function.
261  None,
262  /// Sign the return address of functions that spill LR.
263  NonLeaf,
264  /// Sign the return address of all functions,
265  All
266  };
267 
269  /// Return address signing uses APIA key.
270  AKey,
271  /// Return address signing uses APIB key.
272  BKey
273  };
274 
275  enum class ThreadModelKind {
276  /// POSIX Threads.
277  POSIX,
278  /// Single Threaded Environment.
279  Single
280  };
281 
282  enum class ExtendArgsKind {
283  /// Integer arguments are sign or zero extended to 32/64 bits
284  /// during default argument promotions.
285  ExtendTo32,
286  ExtendTo64
287  };
288 
289 public:
290  /// The used language standard.
292 
293  /// Set of enabled sanitizers.
295  /// Is at least one coverage instrumentation type enabled.
296  bool SanitizeCoverage = false;
297 
298  /// Paths to files specifying which objects
299  /// (files, functions, variables) should not be instrumented.
300  std::vector<std::string> NoSanitizeFiles;
301 
302  /// Paths to the XRay "always instrument" files specifying which
303  /// objects (files, functions, variables) should be imbued with the XRay
304  /// "always instrument" attribute.
305  /// WARNING: This is a deprecated field and will go away in the future.
306  std::vector<std::string> XRayAlwaysInstrumentFiles;
307 
308  /// Paths to the XRay "never instrument" files specifying which
309  /// objects (files, functions, variables) should be imbued with the XRay
310  /// "never instrument" attribute.
311  /// WARNING: This is a deprecated field and will go away in the future.
312  std::vector<std::string> XRayNeverInstrumentFiles;
313 
314  /// Paths to the XRay attribute list files, specifying which objects
315  /// (files, functions, variables) should be imbued with the appropriate XRay
316  /// attribute(s).
317  std::vector<std::string> XRayAttrListFiles;
318 
319  /// Paths to special case list files specifying which entities
320  /// (files, functions) should or should not be instrumented.
321  std::vector<std::string> ProfileListFiles;
322 
324 
326 
328 
329  /// The name of the handler function to be called when -ftrapv is
330  /// specified.
331  ///
332  /// If none is specified, abort (GCC-compatible behaviour).
334 
335  /// The module currently being compiled as specified by -fmodule-name.
337 
338  /// The name of the current module, of which the main source file
339  /// is a part. If CompilingModule is set, we are compiling the interface
340  /// of this module, otherwise we are compiling an implementation file of
341  /// it. This starts as ModuleName in case -fmodule-name is provided and
342  /// changes during compilation to reflect the current module.
344 
345  /// The names of any features to enable in module 'requires' decls
346  /// in addition to the hard-coded list in Module.cpp and the target features.
347  ///
348  /// This list is sorted.
349  std::vector<std::string> ModuleFeatures;
350 
351  /// Options for parsing comments.
353 
354  /// A list of all -fno-builtin-* function names (e.g., memset).
355  std::vector<std::string> NoBuiltinFuncs;
356 
357  /// A prefix map for __FILE__, __BASE_FILE__ and __builtin_FILE().
358  std::map<std::string, std::string, std::greater<std::string>> MacroPrefixMap;
359 
360  /// Triples of the OpenMP targets that the host code codegen should
361  /// take into account in order to generate accurate offloading descriptors.
362  std::vector<llvm::Triple> OMPTargetTriples;
363 
364  /// Name of the IR file that contains the result of the OpenMP target
365  /// host code generation.
367 
368  /// The user provided compilation unit ID, if non-empty. This is used to
369  /// externalize static variables which is needed to support accessing static
370  /// device variables in host code for single source offloading languages
371  /// like CUDA/HIP.
373 
374  /// C++ ABI to compile with, if specified by the frontend through -fc++-abi=.
375  /// This overrides the default ABI used by the target.
377 
378  /// Indicates whether the front-end is explicitly told that the
379  /// input is a header file (i.e. -x c-header).
380  bool IsHeaderFile = false;
381 
382  LangOptions();
383 
384  // Define accessors/mutators for language options of enumeration type.
385 #define LANGOPT(Name, Bits, Default, Description)
386 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
387  Type get##Name() const { return static_cast<Type>(Name); } \
388  void set##Name(Type Value) { Name = static_cast<unsigned>(Value); }
389 #include "clang/Basic/LangOptions.def"
390 
391  /// Are we compiling a module interface (.cppm or module map)?
392  bool isCompilingModule() const {
393  return getCompilingModule() != CMK_None;
394  }
395 
396  /// Do we need to track the owning module for a local declaration?
397  bool trackLocalOwningModule() const {
398  return isCompilingModule() || ModulesLocalVisibility;
399  }
400 
401  bool isSignedOverflowDefined() const {
402  return getSignedOverflowBehavior() == SOB_Defined;
403  }
404 
407  !ObjCSubscriptingLegacyRuntime;
408  }
409 
410  bool isCompatibleWithMSVC(MSVCMajorVersion MajorVersion) const {
411  return MSCompatibilityVersion >= MajorVersion * 100000U;
412  }
413 
414  /// Reset all of the options that are not considered when building a
415  /// module.
416  void resetNonModularOptions();
417 
418  /// Is this a libc/libm function that is no longer recognized as a
419  /// builtin because a -fno-builtin-* option has been specified?
420  bool isNoBuiltinFunc(StringRef Name) const;
421 
422  /// True if any ObjC types may have non-trivial lifetime qualifiers.
424  return ObjCAutoRefCount || ObjCWeak;
425  }
426 
428  return ConvergentFunctions;
429  }
430 
431  /// Return the OpenCL C or C++ version as a VersionTuple.
432  VersionTuple getOpenCLVersionTuple() const;
433 
434  /// Return the OpenCL version that kernel language is compatible with
435  unsigned getOpenCLCompatibleVersion() const;
436 
437  /// Return the OpenCL C or C++ for OpenCL language name and version
438  /// as a string.
440 
441  /// Check if return address signing is enabled.
442  bool hasSignReturnAddress() const {
443  return getSignReturnAddressScope() != SignReturnAddressScopeKind::None;
444  }
445 
446  /// Check if return address signing uses AKey.
448  return getSignReturnAddressKey() == SignReturnAddressKeyKind::AKey;
449  }
450 
451  /// Check if leaf functions are also signed.
453  return getSignReturnAddressScope() == SignReturnAddressScopeKind::All;
454  }
455 
456  bool hasSjLjExceptions() const {
457  return getExceptionHandling() == ExceptionHandlingKind::SjLj;
458  }
459 
460  bool hasSEHExceptions() const {
461  return getExceptionHandling() == ExceptionHandlingKind::WinEH;
462  }
463 
464  bool hasDWARFExceptions() const {
465  return getExceptionHandling() == ExceptionHandlingKind::DwarfCFI;
466  }
467 
468  bool hasWasmExceptions() const {
469  return getExceptionHandling() == ExceptionHandlingKind::Wasm;
470  }
471 
472  bool isSYCL() const { return SYCLIsDevice || SYCLIsHost; }
473 
474  /// Remap path prefix according to -fmacro-prefix-path option.
475  void remapPathPrefix(SmallString<256> &Path) const;
476 };
477 
478 /// Floating point control options
479 class FPOptionsOverride;
480 class FPOptions {
481 public:
482  // We start by defining the layout.
483  using storage_type = uint16_t;
484 
485  using RoundingMode = llvm::RoundingMode;
486 
487  static constexpr unsigned StorageBitSize = 8 * sizeof(storage_type);
488 
489  // Define a fake option named "First" so that we have a PREVIOUS even for the
490  // real first option.
491  static constexpr storage_type FirstShift = 0, FirstWidth = 0;
492 #define OPTION(NAME, TYPE, WIDTH, PREVIOUS) \
493  static constexpr storage_type NAME##Shift = \
494  PREVIOUS##Shift + PREVIOUS##Width; \
495  static constexpr storage_type NAME##Width = WIDTH; \
496  static constexpr storage_type NAME##Mask = ((1 << NAME##Width) - 1) \
497  << NAME##Shift;
498 #include "clang/Basic/FPOptions.def"
499 
500  static constexpr storage_type TotalWidth = 0
501 #define OPTION(NAME, TYPE, WIDTH, PREVIOUS) +WIDTH
502 #include "clang/Basic/FPOptions.def"
503  ;
504  static_assert(TotalWidth <= StorageBitSize, "Too short type for FPOptions");
505 
506 private:
508 
509 public:
510  FPOptions() : Value(0) {
511  setFPContractMode(LangOptions::FPM_Off);
512  setRoundingMode(static_cast<RoundingMode>(LangOptions::FPR_ToNearest));
513  setFPExceptionMode(LangOptions::FPE_Ignore);
514  }
515  explicit FPOptions(const LangOptions &LO) {
516  Value = 0;
517  // The language fp contract option FPM_FastHonorPragmas has the same effect
518  // as FPM_Fast in frontend. For simplicity, use FPM_Fast uniformly in
519  // frontend.
520  auto LangOptContractMode = LO.getDefaultFPContractMode();
521  if (LangOptContractMode == LangOptions::FPM_FastHonorPragmas)
522  LangOptContractMode = LangOptions::FPM_Fast;
523  setFPContractMode(LangOptContractMode);
524  setRoundingMode(LO.getFPRoundingMode());
525  setFPExceptionMode(LO.getFPExceptionMode());
526  setAllowFPReassociate(LO.AllowFPReassoc);
527  setNoHonorNaNs(LO.NoHonorNaNs);
528  setNoHonorInfs(LO.NoHonorInfs);
529  setNoSignedZero(LO.NoSignedZero);
530  setAllowReciprocal(LO.AllowRecip);
531  setAllowApproxFunc(LO.ApproxFunc);
532  if (getFPContractMode() == LangOptions::FPM_On &&
533  getRoundingMode() == llvm::RoundingMode::Dynamic &&
534  getFPExceptionMode() == LangOptions::FPE_Strict)
535  // If the FP settings are set to the "strict" model, then
536  // FENV access is set to true. (ffp-model=strict)
537  setAllowFEnvAccess(true);
538  else
539  setAllowFEnvAccess(LangOptions::FPM_Off);
540  }
541 
543  return getFPContractMode() == LangOptions::FPM_On;
544  }
546  setFPContractMode(LangOptions::FPM_On);
547  }
548 
550  return getFPContractMode() == LangOptions::FPM_Fast;
551  }
553  setFPContractMode(LangOptions::FPM_Fast);
554  }
555 
556  bool isFPConstrained() const {
557  return getRoundingMode() != llvm::RoundingMode::NearestTiesToEven ||
558  getFPExceptionMode() != LangOptions::FPE_Ignore ||
559  getAllowFEnvAccess();
560  }
561 
562  bool operator==(FPOptions other) const { return Value == other.Value; }
563 
564  /// Return the default value of FPOptions that's used when trailing
565  /// storage isn't required.
567 
568  storage_type getAsOpaqueInt() const { return Value; }
570  FPOptions Opts;
571  Opts.Value = Value;
572  return Opts;
573  }
574 
575  // We can define most of the accessors automatically:
576 #define OPTION(NAME, TYPE, WIDTH, PREVIOUS) \
577  TYPE get##NAME() const { \
578  return static_cast<TYPE>((Value & NAME##Mask) >> NAME##Shift); \
579  } \
580  void set##NAME(TYPE value) { \
581  Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \
582  }
583 #include "clang/Basic/FPOptions.def"
584  LLVM_DUMP_METHOD void dump();
585 };
586 
587 /// Represents difference between two FPOptions values.
588 ///
589 /// The effect of language constructs changing the set of floating point options
590 /// is usually a change of some FP properties while leaving others intact. This
591 /// class describes such changes by keeping information about what FP options
592 /// are overridden.
593 ///
594 /// The integral set of FP options, described by the class FPOptions, may be
595 /// represented as a default FP option set, defined by language standard and
596 /// command line options, with the overrides introduced by pragmas.
597 ///
598 /// The is implemented as a value of the new FPOptions plus a mask showing which
599 /// fields are actually set in it.
602  FPOptions::storage_type OverrideMask = 0;
603 
604 public:
605  using RoundingMode = llvm::RoundingMode;
606 
607  /// The type suitable for storing values of FPOptionsOverride. Must be twice
608  /// as wide as bit size of FPOption.
609  using storage_type = uint32_t;
610  static_assert(sizeof(storage_type) >= 2 * sizeof(FPOptions::storage_type),
611  "Too short type for FPOptionsOverride");
612 
613  /// Bit mask selecting bits of OverrideMask in serialized representation of
614  /// FPOptionsOverride.
615  static constexpr storage_type OverrideMaskBits =
616  (static_cast<storage_type>(1) << FPOptions::StorageBitSize) - 1;
617 
620  : Options(LO), OverrideMask(OverrideMaskBits) {}
622  : Options(FPO), OverrideMask(OverrideMaskBits) {}
623 
624  bool requiresTrailingStorage() const { return OverrideMask != 0; }
625 
627  setFPContractModeOverride(LangOptions::FPM_On);
628  }
629 
631  setFPContractModeOverride(LangOptions::FPM_Fast);
632  }
633 
635  setFPContractModeOverride(LangOptions::FPM_Off);
636  }
637 
639  setAllowFPReassociateOverride(!Value);
640  setNoHonorNaNsOverride(!Value);
641  setNoHonorInfsOverride(!Value);
642  setNoSignedZeroOverride(!Value);
643  setAllowReciprocalOverride(!Value);
644  setAllowApproxFuncOverride(!Value);
645  if (Value)
646  /* Precise mode implies fp_contract=on and disables ffast-math */
648  else
649  /* Precise mode disabled sets fp_contract=fast and enables ffast-math */
651  }
652 
654  return (static_cast<storage_type>(Options.getAsOpaqueInt())
656  OverrideMask;
657  }
659  FPOptionsOverride Opts;
660  Opts.OverrideMask = I & OverrideMaskBits;
662  return Opts;
663  }
664 
666  FPOptions Result =
667  FPOptions::getFromOpaqueInt((Base.getAsOpaqueInt() & ~OverrideMask) |
668  (Options.getAsOpaqueInt() & OverrideMask));
669  return Result;
670  }
671 
673  return applyOverrides(FPOptions(LO));
674  }
675 
676  bool operator==(FPOptionsOverride other) const {
677  return Options == other.Options && OverrideMask == other.OverrideMask;
678  }
679  bool operator!=(FPOptionsOverride other) const { return !(*this == other); }
680 
681 #define OPTION(NAME, TYPE, WIDTH, PREVIOUS) \
682  bool has##NAME##Override() const { \
683  return OverrideMask & FPOptions::NAME##Mask; \
684  } \
685  TYPE get##NAME##Override() const { \
686  assert(has##NAME##Override()); \
687  return Options.get##NAME(); \
688  } \
689  void clear##NAME##Override() { \
690  /* Clear the actual value so that we don't have spurious differences when \
691  * testing equality. */ \
692  Options.set##NAME(TYPE(0)); \
693  OverrideMask &= ~FPOptions::NAME##Mask; \
694  } \
695  void set##NAME##Override(TYPE value) { \
696  Options.set##NAME(value); \
697  OverrideMask |= FPOptions::NAME##Mask; \
698  }
699 #include "clang/Basic/FPOptions.def"
700  LLVM_DUMP_METHOD void dump();
701 };
702 
703 /// Describes the kind of translation unit being processed.
704 enum TranslationUnitKind {
705  /// The translation unit is a complete translation unit.
706  TU_Complete,
707 
708  /// The translation unit is a prefix to a translation unit, and is
709  /// not complete.
710  TU_Prefix,
711 
712  /// The translation unit is a module.
713  TU_Module,
714 
715  /// The translation unit is a is a complete translation unit that we might
716  /// incrementally extend later.
718 };
719 
720 } // namespace clang
721 
722 #endif // LLVM_CLANG_BASIC_LANGOPTIONS_H
clang::LangOptions::LaxVectorConversionKind
LaxVectorConversionKind
Definition: LangOptions.h:236
clang::LangOptions::SignReturnAddressScopeKind
SignReturnAddressScopeKind
Definition: LangOptions.h:259
clang::LangOptions::DCC_FastCall
@ DCC_FastCall
Definition: LangOptions.h:109
clang::LangOptions::PPTMK_FullGeneralitySingleInheritance
@ PPTMK_FullGeneralitySingleInheritance
Definition: LangOptions.h:99
clang::FPOptionsOverride::operator==
bool operator==(FPOptionsOverride other) const
Definition: LangOptions.h:676
clang::LangOptions::CurrentModule
std::string CurrentModule
The name of the current module, of which the main source file is a part.
Definition: LangOptions.h:343
clang::FPOptionsOverride::setAllowFPContractAcrossStatement
void setAllowFPContractAcrossStatement()
Definition: LangOptions.h:630
clang::LangOptions::isSignedOverflowDefined
bool isSignedOverflowDefined() const
Definition: LangOptions.h:401
clang::LangOptions::hasSEHExceptions
bool hasSEHExceptions() const
Definition: LangOptions.h:460
clang::LangOptions::ExceptionHandlingKind::DwarfCFI
@ DwarfCFI
clang::LangOptions::CMK_ModuleInterface
@ CMK_ModuleInterface
Compiling a C++ modules TS module interface unit.
Definition: LangOptions.h:94
Visibility.h
clang::LangOptions::ExceptionHandlingKind::None
@ None
clang::LangOptions::XRayAlwaysInstrumentFiles
std::vector< std::string > XRayAlwaysInstrumentFiles
Paths to the XRay "always instrument" files specifying which objects (files, functions,...
Definition: LangOptions.h:306
clang::FPOptions::isFPConstrained
bool isFPConstrained() const
Definition: LangOptions.h:556
clang::LangOptions::TrivialAutoVarInitKind::Zero
@ Zero
ObjCRuntime.h
clang::LangOptions::getOpenCLCompatibleVersion
unsigned getOpenCLCompatibleVersion() const
Return the OpenCL version that kernel language is compatible with.
Definition: LangOptions.cpp:55
clang::LangOptions::CoreFoundationABI::Swift
@ Swift
Interoperability with the latest known version of the Swift runtime.
clang::LangOptions::StackProtectorMode
StackProtectorMode
Definition: LangOptions.h:64
clang::LangOptions::isSignReturnAddressScopeAll
bool isSignReturnAddressScopeAll() const
Check if leaf functions are also signed.
Definition: LangOptions.h:452
clang::LangOptions::SYCLMajorVersion
SYCLMajorVersion
Definition: LangOptions.h:130
clang::FPOptionsOverride::requiresTrailingStorage
bool requiresTrailingStorage() const
Definition: LangOptions.h:624
string
string(SUBSTRING ${CMAKE_CURRENT_BINARY_DIR} 0 ${PATH_LIB_START} PATH_HEAD) string(SUBSTRING $
Definition: CMakeLists.txt:22
clang::LangOptions::ClangABI::Latest
@ Latest
Conform to the underlying platform's C and C++ ABIs as closely as we can.
clang::LangOptions::AltivecSrcCompatKind::GCC
@ GCC
clang::LangOptions::ExceptionHandlingKind::Wasm
@ Wasm
clang::LangOptions::SSPStrong
@ SSPStrong
Definition: LangOptions.h:64
clang::LangOptions::ASMM_On
@ ASMM_On
Definition: LangOptions.h:115
clang::FPOptions::FirstShift
static constexpr storage_type FirstShift
Definition: LangOptions.h:491
clang::LangOptions::isCompilingModule
bool isCompilingModule() const
Are we compiling a module interface (.cppm or module map)?
Definition: LangOptions.h:392
clang::LangOptions::OverflowHandler
std::string OverflowHandler
The name of the handler function to be called when -ftrapv is specified.
Definition: LangOptions.h:333
clang::LangOptions::ClangABI::Ver11
@ Ver11
Attempt to be ABI-compatible with code generated by Clang 11.0.x (git 2e10b7a39b93).
clang::LangOptions::ASMM_Off
@ ASMM_Off
Definition: LangOptions.h:115
clang::LangOptions::assumeFunctionsAreConvergent
bool assumeFunctionsAreConvergent() const
Definition: LangOptions.h:427
clang::LangOptions::FPE_MayTrap
@ FPE_MayTrap
Transformations do not cause new exceptions but may hide some.
Definition: LangOptions.h:228
clang::FPOptions::operator==
bool operator==(FPOptions other) const
Definition: LangOptions.h:562
clang::LangOptions::CoreFoundationABI::Unspecified
@ Unspecified
No interoperability ABI has been specified.
clang::LangOptions::MSVC2010
@ MSVC2010
Definition: LangOptions.h:119
clang::LangOptions::CFRuntime
CoreFoundationABI CFRuntime
Definition: LangOptions.h:325
clang::LangOptions::SSPReq
@ SSPReq
Definition: LangOptions.h:64
clang::FPOptionsOverride::OverrideMaskBits
static constexpr storage_type OverrideMaskBits
Bit mask selecting bits of OverrideMask in serialized representation of FPOptionsOverride.
Definition: LangOptions.h:615
clang::LangOptions::ObjCConstantStringClass
std::string ObjCConstantStringClass
Definition: LangOptions.h:327
clang::LangOptions::allowsNonTrivialObjCLifetimeQualifiers
bool allowsNonTrivialObjCLifetimeQualifiers() const
True if any ObjC types may have non-trivial lifetime qualifiers.
Definition: LangOptions.h:423
clang::LangOptions::CXXABI
llvm::Optional< TargetCXXABI::Kind > CXXABI
C++ ABI to compile with, if specified by the frontend through -fc++-abi=.
Definition: LangOptions.h:376
clang::LangOptions::FPM_On
@ FPM_On
Definition: LangOptions.h:210
clang::LangOptions::SignReturnAddressScopeKind::NonLeaf
@ NonLeaf
Sign the return address of functions that spill LR.
clang::LangOptions::SignReturnAddressScopeKind::None
@ None
No signing for any function.
clang::FPOptions::FPOptions
FPOptions(const LangOptions &LO)
Definition: LangOptions.h:515
clang::LangOptions::CMK_ModuleMap
@ CMK_ModuleMap
Compiling a module from a module map.
Definition: LangOptions.h:88
clang::FPOptionsOverride::FPOptionsOverride
FPOptionsOverride()
Definition: LangOptions.h:618
llvm::Optional< TargetCXXABI::Kind >
clang::LangOptions::XRayAttrListFiles
std::vector< std::string > XRayAttrListFiles
Paths to the XRay attribute list files, specifying which objects (files, functions,...
Definition: LangOptions.h:317
clang::LangOptions::CoreFoundationABI::Swift4_1
@ Swift4_1
Interoperability with the Swift 4.1 runtime.
clang::LangOptions::GCOnly
@ GCOnly
Definition: LangOptions.h:63
clang::LangOptions::DCC_None
@ DCC_None
Definition: LangOptions.h:107
clang::LangOptions::GCMode
GCMode
Definition: LangOptions.h:63
clang::FPOptions::setAllowFPContractWithinStatement
void setAllowFPContractWithinStatement()
Definition: LangOptions.h:545
clang::LangOptions::getOpenCLVersionString
std::string getOpenCLVersionString() const
Return the OpenCL C or C++ for OpenCL language name and version as a string.
Definition: LangOptions.cpp:71
clang::LangOptions::hasDWARFExceptions
bool hasDWARFExceptions() const
Definition: LangOptions.h:464
clang::FPOptionsOverride::setFPPreciseEnabled
void setFPPreciseEnabled(bool Value)
Definition: LangOptions.h:638
clang::LangOptions::MacroPrefixMap
std::map< std::string, std::string, std::greater< std::string > > MacroPrefixMap
A prefix map for FILE, BASE_FILE and __builtin_FILE().
Definition: LangOptions.h:358
clang::MSVtorDispMode::ForVFTable
@ ForVFTable
clang::MSVtorDispMode
MSVtorDispMode
In the Microsoft ABI, this controls the placement of virtual displacement members used to implement v...
Definition: LangOptions.h:54
clang::FPOptions::RoundingMode
llvm::RoundingMode RoundingMode
Definition: LangOptions.h:485
clang::LangOptions::DefaultCallingConvention
DefaultCallingConvention
Definition: LangOptions.h:106
clang::LangOptions::SignReturnAddressKeyKind::AKey
@ AKey
Return address signing uses APIA key.
clang::LangOptions::FPR_ToNearest
static constexpr unsigned FPR_ToNearest
Alias for RoundingMode::NearestTiesToEven.
Definition: LangOptions.h:220
clang::TU_Prefix
@ TU_Prefix
The translation unit is a prefix to a translation unit, and is not complete.
Definition: LangOptions.h:709
clang::LangOptions::CompilingModuleKind
CompilingModuleKind
Definition: LangOptions.h:83
clang::LangStandard::Kind
Kind
Definition: LangStandard.h:64
clang::LangOptions::TrivialAutoVarInitKind
TrivialAutoVarInitKind
Definition: LangOptions.h:69
U
clang::LangOptions::PPTMK_FullGeneralityVirtualInheritance
@ PPTMK_FullGeneralityVirtualInheritance
Definition: LangOptions.h:101
clang::FPOptionsOverride::FPOptionsOverride
FPOptionsOverride(const LangOptions &LO)
Definition: LangOptions.h:619
clang::FPOptionsOverride::storage_type
uint32_t storage_type
The type suitable for storing values of FPOptionsOverride.
Definition: LangOptions.h:609
clang::LangOptions::SanitizeCoverage
bool SanitizeCoverage
Is at least one coverage instrumentation type enabled.
Definition: LangOptions.h:296
clang::TU_Module
@ TU_Module
The translation unit is a module.
Definition: LangOptions.h:712
clang::FPOptions::storage_type
uint16_t storage_type
Definition: LangOptions.h:483
clang::LangOptions::SSPOff
@ SSPOff
Definition: LangOptions.h:64
clang::FPOptions::getAsOpaqueInt
storage_type getAsOpaqueInt() const
Definition: LangOptions.h:568
clang::LangOptions::SOB_Trapping
@ SOB_Trapping
Definition: LangOptions.h:79
clang::LangOptions::ClangABI::Ver12
@ Ver12
Attempt to be ABI-compatible with code generated by Clang 12.0.x (git 8e464dd76bef).
clang::LangOptions::LaxVectorConversionKind::Integer
@ Integer
Permit vector bitcasts between integer vectors with different numbers of elements but the same total ...
clang::LangOptions::isCompatibleWithMSVC
bool isCompatibleWithMSVC(MSVCMajorVersion MajorVersion) const
Definition: LangOptions.h:410
clang::LangOptions::AltivecSrcCompatKind
AltivecSrcCompatKind
Definition: LangOptions.h:247
clang::FPOptionsOverride::applyOverrides
FPOptions applyOverrides(const LangOptions &LO)
Definition: LangOptions.h:672
clang::SanitizerSet
Definition: Sanitizers.h:153
clang::LangOptions::ObjCRuntime
clang::ObjCRuntime ObjCRuntime
Definition: LangOptions.h:323
clang::LangOptions::OMPTargetTriples
std::vector< llvm::Triple > OMPTargetTriples
Triples of the OpenMP targets that the host code codegen should take into account in order to generat...
Definition: LangOptions.h:362
clang::LangOptions::CMK_None
@ CMK_None
Not compiling a module interface at all.
Definition: LangOptions.h:85
clang::LangOptions::CoreFoundationABI::ObjectiveC
@ ObjectiveC
Interoperability with the ObjectiveC runtime.
clang::LangOptions::MSVCMajorVersion
MSVCMajorVersion
Definition: LangOptions.h:118
clang::LangOptions::hasWasmExceptions
bool hasWasmExceptions() const
Definition: LangOptions.h:468
clang::LangOptions::MSVC2019
@ MSVC2019
Definition: LangOptions.h:126
clang::LangOptionsBase
Bitfields of LangOptions, split out from LangOptions in order to ensure that this large collection of...
Definition: LangOptions.h:34
clang::FPOptionsOverride
Represents difference between two FPOptions values.
Definition: LangOptions.h:600
clang::LangOptions::FPExceptionModeKind
FPExceptionModeKind
Possible floating point exception behavior.
Definition: LangOptions.h:224
clang::TU_Incremental
@ TU_Incremental
The translation unit is a is a complete translation unit that we might incrementally extend later.
Definition: LangOptions.h:716
clang::LangOptions::CMK_HeaderModule
@ CMK_HeaderModule
Compiling a module from a list of header files.
Definition: LangOptions.h:91
clang::LangOptions::ThreadModelKind::POSIX
@ POSIX
POSIX Threads.
clang::FPOptions::allowFPContractWithinStatement
bool allowFPContractWithinStatement() const
Definition: LangOptions.h:542
clang::FPOptionsOverride::applyOverrides
FPOptions applyOverrides(FPOptions Base)
Definition: LangOptions.h:665
clang::LangOptions::ExtendArgsKind
ExtendArgsKind
Definition: LangOptions.h:282
clang::FPOptions
Definition: LangOptions.h:480
clang::LangOptions::ModuleFeatures
std::vector< std::string > ModuleFeatures
The names of any features to enable in module 'requires' decls in addition to the hard-coded list in ...
Definition: LangOptions.h:349
clang::LangOptions::NoBuiltinFuncs
std::vector< std::string > NoBuiltinFuncs
A list of all -fno-builtin-* function names (e.g., memset).
Definition: LangOptions.h:355
clang::LangOptions::CoreFoundationABI
CoreFoundationABI
Definition: LangOptions.h:188
llvm::SmallString
Definition: LLVM.h:37
clang::LangOptions::TrivialAutoVarInitKind::Uninitialized
@ Uninitialized
clang::LangOptions::SYCL_Default
@ SYCL_Default
Definition: LangOptions.h:136
clang::LangOptions::hasSjLjExceptions
bool hasSjLjExceptions() const
Definition: LangOptions.h:456
clang::LangOptions::SYCL_2017
@ SYCL_2017
Definition: LangOptions.h:132
clang::LangOptions::CoreFoundationABI::Swift5_0
@ Swift5_0
Interoperability with the Swift 5.0 runtime.
clang::LangOptions::HybridGC
@ HybridGC
Definition: LangOptions.h:63
clang::FPOptionsOverride::FPOptionsOverride
FPOptionsOverride(FPOptions FPO)
Definition: LangOptions.h:621
clang::LangOptions::DCC_VectorCall
@ DCC_VectorCall
Definition: LangOptions.h:111
clang::LangOptions::IsHeaderFile
bool IsHeaderFile
Indicates whether the front-end is explicitly told that the input is a header file (i....
Definition: LangOptions.h:380
Base
clang::LangOptions::ExtendArgsKind::ExtendTo32
@ ExtendTo32
Integer arguments are sign or zero extended to 32/64 bits during default argument promotions.
clang::LangOptions::ClangABI::Ver4
@ Ver4
Attempt to be ABI-compatible with code generated by Clang 4.0.x (SVN r291814).
clang::FPOptions::defaultWithoutTrailingStorage
static FPOptions defaultWithoutTrailingStorage(const LangOptions &LO)
Return the default value of FPOptions that's used when trailing storage isn't required.
Definition: LangOptions.cpp:81
clang::LangOptions::ExtendArgsKind::ExtendTo64
@ ExtendTo64
clang::LangOptions::isNoBuiltinFunc
bool isNoBuiltinFunc(StringRef Name) const
Is this a libc/libm function that is no longer recognized as a builtin because a -fno-builtin-* optio...
Definition: LangOptions.cpp:41
clang::LangOptions::ClangABI
ClangABI
Clang versions with different platform ABI conformance.
Definition: LangOptions.h:140
clang::LangOptions::SYCL_None
@ SYCL_None
Definition: LangOptions.h:131
TargetCXXABI.h
clang::Visibility
Visibility
Describes the different kinds of visibility that a declaration may have.
Definition: Visibility.h:33
clang::MSVtorDispMode::Never
@ Never
clang::LangOptions::DCC_CDecl
@ DCC_CDecl
Definition: LangOptions.h:108
clang::LangOptions::Sanitize
SanitizerSet Sanitize
Set of enabled sanitizers.
Definition: LangOptions.h:294
clang::LangOptions::FPModeKind
FPModeKind
Definition: LangOptions.h:205
clang::LangOptions::XRayNeverInstrumentFiles
std::vector< std::string > XRayNeverInstrumentFiles
Paths to the XRay "never instrument" files specifying which objects (files, functions,...
Definition: LangOptions.h:312
clang::LangOptions::SOB_Undefined
@ SOB_Undefined
Definition: LangOptions.h:73
clang::FPOptionsOverride::operator!=
bool operator!=(FPOptionsOverride other) const
Definition: LangOptions.h:679
clang::LangOptions::LangOptions
LangOptions()
Definition: LangOptions.cpp:19
clang::LangOptions::getOpenCLVersionTuple
VersionTuple getOpenCLVersionTuple() const
Return the OpenCL C or C++ version as a VersionTuple.
Definition: LangOptions.cpp:48
clang::MSVtorDispMode::ForVBaseOverride
@ ForVBaseOverride
clang::LangOptions::remapPathPrefix
void remapPathPrefix(SmallString< 256 > &Path) const
Remap path prefix according to -fmacro-prefix-path option.
Definition: LangOptions.cpp:65
clang::LangOptions::ExceptionHandlingKind
ExceptionHandlingKind
Possible exception handling behavior.
Definition: LangOptions.h:234
clang::LangOptions::NoSanitizeFiles
std::vector< std::string > NoSanitizeFiles
Paths to files specifying which objects (files, functions, variables) should not be instrumented.
Definition: LangOptions.h:300
clang::CommentOptions
Options for controlling comment parsing.
Definition: CommentOptions.h:23
LangStandard.h
clang::LangOptions::NonGC
@ NonGC
Definition: LangOptions.h:63
clang::LangOptions::ExceptionHandlingKind::SjLj
@ SjLj
clang::LangOptions::SignedOverflowBehaviorTy
SignedOverflowBehaviorTy
Definition: LangOptions.h:71
clang::LangOptions::ThreadModelKind
ThreadModelKind
Definition: LangOptions.h:275
clang::LangOptions::LaxVectorConversionKind::All
@ All
Permit vector bitcasts between all vectors with the same total bit-width.
clang::LangOptions::ASMM_Target
@ ASMM_Target
Definition: LangOptions.h:115
clang::LangOptions::AltivecSrcCompatKind::Default
@ Default
clang::LangOptions::SYCL_2020
@ SYCL_2020
Definition: LangOptions.h:133
clang::LangOptions::ClangABI::Ver3_8
@ Ver3_8
Attempt to be ABI-compatible with code generated by Clang 3.8.x (SVN r257626).
Value
Value
Definition: UninitializedValues.cpp:102
clang::LangOptions::DCC_RegCall
@ DCC_RegCall
Definition: LangOptions.h:112
clang::LangOptions::SSPOn
@ SSPOn
Definition: LangOptions.h:64
LLVM.h
clang::LangOptions::AltivecSrcCompatKind::XL
@ XL
clang::LangOptions::ThreadModelKind::Single
@ Single
Single Threaded Environment.
clang::LangOptions::MSVC2017
@ MSVC2017
Definition: LangOptions.h:123
clang::LangOptions::FPM_FastHonorPragmas
@ FPM_FastHonorPragmas
Definition: LangOptions.h:216
clang::FPOptions::TotalWidth
static constexpr storage_type TotalWidth
Definition: LangOptions.h:500
clang::LangOptions::TrivialAutoVarInitKind::Pattern
@ Pattern
clang::LangOptions::hasSignReturnAddress
bool hasSignReturnAddress() const
Check if return address signing is enabled.
Definition: LangOptions.h:442
clang::LangOptions::CUID
std::string CUID
The user provided compilation unit ID, if non-empty.
Definition: LangOptions.h:372
clang::ObjCRuntime
The basic abstraction for the target Objective-C runtime.
Definition: ObjCRuntime.h:28
clang::LangOptions::isSubscriptPointerArithmetic
bool isSubscriptPointerArithmetic() const
Definition: LangOptions.h:405
clang::LangOptions::LangStd
LangStandard::Kind LangStd
The used language standard.
Definition: LangOptions.h:291
clang::FPOptionsOverride::dump
LLVM_DUMP_METHOD void dump()
Definition: LangOptions.cpp:93
clang::LangOptions::isSYCL
bool isSYCL() const
Definition: LangOptions.h:472
clang::LangOptions
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
Definition: LangOptions.h:58
clang::LangOptions::LaxVectorConversionKind::None
@ None
Permit no implicit vector bitcasts.
clang::LangOptions::ProfileListFiles
std::vector< std::string > ProfileListFiles
Paths to special case list files specifying which entities (files, functions) should or should not be...
Definition: LangOptions.h:321
clang::LangOptions::AltivecSrcCompatKind::Mixed
@ Mixed
clang::TranslationUnitKind
TranslationUnitKind
Describes the kind of translation unit being processed.
Definition: LangOptions.h:703
Sanitizers.h
clang::FPOptions::FPOptions
FPOptions()
Definition: LangOptions.h:510
clang::LangOptions::ClangABI::Ver9
@ Ver9
Attempt to be ABI-compatible with code generated by Clang 9.0.x (SVN r351319).
clang::FPOptionsOverride::getFromOpaqueInt
static FPOptionsOverride getFromOpaqueInt(storage_type I)
Definition: LangOptions.h:658
clang::LangOptions::SignReturnAddressKeyKind
SignReturnAddressKeyKind
Definition: LangOptions.h:268
clang::LangOptions::PragmaMSPointersToMembersKind
PragmaMSPointersToMembersKind
Definition: LangOptions.h:97
clang::LangOptions::DCC_StdCall
@ DCC_StdCall
Definition: LangOptions.h:110
clang::LangOptions::ExceptionHandlingKind::WinEH
@ WinEH
clang
Definition: CalledOnceCheck.h:17
clang::LangOptions::MSVC2015
@ MSVC2015
Definition: LangOptions.h:122
clang::LangOptions::OMPHostIRFile
std::string OMPHostIRFile
Name of the IR file that contains the result of the OpenMP target host code generation.
Definition: LangOptions.h:366
clang::LangOptions::PPTMK_BestCase
@ PPTMK_BestCase
Definition: LangOptions.h:98
clang::LangOptions::MSVC2019_8
@ MSVC2019_8
Definition: LangOptions.h:127
clang::LangOptions::isSignReturnAddressWithAKey
bool isSignReturnAddressWithAKey() const
Check if return address signing uses AKey.
Definition: LangOptions.h:447
clang::LangOptions::CoreFoundationABI::Standalone
@ Standalone
CoreFoundation does not have any language interoperability.
clang::FPOptionsOverride::getAsOpaqueInt
storage_type getAsOpaqueInt() const
Definition: LangOptions.h:653
clang::LangOptions::SignReturnAddressKeyKind::BKey
@ BKey
Return address signing uses APIB key.
clang::FPOptionsOverride::setDisallowFPContract
void setDisallowFPContract()
Definition: LangOptions.h:634
clang::CompilerInvocation
Helper class for holding the data necessary to invoke the compiler.
Definition: CompilerInvocation.h:193
clang::LangOptions::resetNonModularOptions
void resetNonModularOptions()
Reset all of the options that are not considered when building a module.
Definition: LangOptions.cpp:25
clang::LangOptions::FPE_Ignore
@ FPE_Ignore
Assume that floating-point exceptions are masked.
Definition: LangOptions.h:226
CommentOptions.h
clang::LangOptions::trackLocalOwningModule
bool trackLocalOwningModule() const
Do we need to track the owning module for a local declaration?
Definition: LangOptions.h:397
clang::LangOptions::FPE_Strict
@ FPE_Strict
Strictly preserve the floating-point exception semantics.
Definition: LangOptions.h:230
clang::FPOptions::getFromOpaqueInt
static FPOptions getFromOpaqueInt(storage_type Value)
Definition: LangOptions.h:569
clang::LangOptions::MSVC2017_5
@ MSVC2017_5
Definition: LangOptions.h:124
clang::TU_Complete
@ TU_Complete
The translation unit is a complete translation unit.
Definition: LangOptions.h:705
clang::LangOptions::CommentOpts
CommentOptions CommentOpts
Options for parsing comments.
Definition: LangOptions.h:352
clang::LangOptions::FPM_Off
@ FPM_Off
Definition: LangOptions.h:207
clang::LangOptions::SignReturnAddressScopeKind::All
@ All
Sign the return address of all functions,.
clang::LangOptions::PPTMK_FullGeneralityMultipleInheritance
@ PPTMK_FullGeneralityMultipleInheritance
Definition: LangOptions.h:100
clang::LangOptions::ClangABI::Ver7
@ Ver7
Attempt to be ABI-compatible with code generated by Clang 7.0.x (SVN r338536).
clang::FPOptions::allowFPContractAcrossStatement
bool allowFPContractAcrossStatement() const
Definition: LangOptions.h:549
clang::FPOptionsOverride::setAllowFPContractWithinStatement
void setAllowFPContractWithinStatement()
Definition: LangOptions.h:626
clang::FPOptions::dump
LLVM_DUMP_METHOD void dump()
Definition: LangOptions.cpp:86
clang::FPOptions::FirstWidth
static constexpr storage_type FirstWidth
Definition: LangOptions.h:491
clang::FPOptions::StorageBitSize
static constexpr unsigned StorageBitSize
Definition: LangOptions.h:487
clang::LangOptions::SOB_Defined
@ SOB_Defined
Definition: LangOptions.h:76
clang::LangOptions::MSVC2013
@ MSVC2013
Definition: LangOptions.h:121
clang::ObjCRuntime::isSubscriptPointerArithmetic
bool isSubscriptPointerArithmetic() const
Is subscripting pointer arithmetic?
Definition: ObjCRuntime.h:340
clang::LangOptions::ModuleName
std::string ModuleName
The module currently being compiled as specified by -fmodule-name.
Definition: LangOptions.h:336
clang::LangOptions::FPM_Fast
@ FPM_Fast
Definition: LangOptions.h:213
clang::LangOptions::ClangABI::Ver6
@ Ver6
Attempt to be ABI-compatible with code generated by Clang 6.0.x (SVN r321711).
clang::FPOptions::setAllowFPContractAcrossStatement
void setAllowFPContractAcrossStatement()
Definition: LangOptions.h:552
clang::LangOptions::AddrSpaceMapMangling
AddrSpaceMapMangling
Definition: LangOptions.h:115
clang::LangOptions::RoundingMode
llvm::RoundingMode RoundingMode
Definition: LangOptions.h:61
clang::LangOptions::MSVC2017_7
@ MSVC2017_7
Definition: LangOptions.h:125
clang::LangOptions::CoreFoundationABI::Swift4_2
@ Swift4_2
Interoperability with the Swift 4.2 runtime.
clang::LangOptions::MSVC2012
@ MSVC2012
Definition: LangOptions.h:120
clang::FPOptionsOverride::RoundingMode
llvm::RoundingMode RoundingMode
Definition: LangOptions.h:605