Home
last modified time | relevance | path

Searched refs:LangOptions (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DLexer.h94 LangOptions LangOpts;
150 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
157 const SourceManager &SM, const LangOptions &LangOpts);
172 const LangOptions &getLangOpts() const { return LangOpts; } in getLangOpts()
308 const LangOptions &LangOpts,
318 const LangOptions &LangOpts,
332 const LangOptions &options,
341 const LangOptions &LangOpts);
347 const LangOptions &LangOpts,
355 const LangOptions &LangOpts);
[all …]
H A DLiteralSupport.h34 class LangOptions; variable
44 const LangOptions &LangOpts;
60 const SourceManager &SM, const LangOptions &LangOpts,
100 static bool isValidUDSuffix(const LangOptions &LangOpts, StringRef Suffix);
212 const LangOptions &Features;
229 const SourceManager &sm, const LangOptions &features,
278 static bool isValidUDSuffix(const LangOptions &LangOpts, StringRef Suffix);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DOpenCLOptions.h56 static inline bool isOpenCLVersionContainedInMask(const LangOptions &LO, in isOpenCLVersionContainedInMask()
97 bool isAvailableIn(const LangOptions &LO) const { in isAvailableIn()
104 bool isCoreIn(const LangOptions &LO) const { in isCoreIn()
109 bool isOptionalCoreIn(const LangOptions &LO) const { in isOptionalCoreIn()
119 bool isAvailableOption(llvm::StringRef Ext, const LangOptions &LO) const;
125 bool isSupported(llvm::StringRef Ext, const LangOptions &LO) const;
129 bool isSupportedCore(llvm::StringRef Ext, const LangOptions &LO) const;
134 const LangOptions &LO) const;
139 const LangOptions &LO) const;
143 bool isSupportedExtension(llvm::StringRef Ext, const LangOptions &LO) const;
[all …]
H A DLangOptions.h58 class LangOptions : public LangOptionsBase {
365 LangOptions();
482 setFPContractMode(LangOptions::FPM_Off); in FPOptions()
483 setRoundingMode(static_cast<RoundingMode>(LangOptions::FPR_ToNearest)); in FPOptions()
484 setFPExceptionMode(LangOptions::FPE_Ignore); in FPOptions()
486 explicit FPOptions(const LangOptions &LO) { in FPOptions()
492 if (LangOptContractMode == LangOptions::FPM_FastHonorPragmas) in FPOptions()
493 LangOptContractMode = LangOptions::FPM_Fast; in FPOptions()
503 if (getFPContractMode() == LangOptions::FPM_On && in FPOptions()
505 getFPExceptionMode() == LangOptions::FPE_Strict) in FPOptions()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
H A DAArch64.h80 void getTargetDefinesARMV81A(const LangOptions &Opts,
82 void getTargetDefinesARMV82A(const LangOptions &Opts,
84 void getTargetDefinesARMV83A(const LangOptions &Opts,
86 void getTargetDefinesARMV84A(const LangOptions &Opts,
88 void getTargetDefinesARMV85A(const LangOptions &Opts,
90 void getTargetDefinesARMV86A(const LangOptions &Opts,
92 void getTargetDefinesARMV87A(const LangOptions &Opts,
94 void getTargetDefines(const LangOptions &Opts,
150 void getTargetDefines(const LangOptions &Opts,
178 void getTargetDefines(const LangOptions &Opts,
[all …]
H A DARM.h155 void getTargetDefinesARMV81A(const LangOptions &Opts,
157 void getTargetDefinesARMV82A(const LangOptions &Opts,
159 void getTargetDefinesARMV83A(const LangOptions &Opts,
161 void getTargetDefines(const LangOptions &Opts,
198 void getTargetDefines(const LangOptions &Opts,
205 void getTargetDefines(const LangOptions &Opts,
216 void getVisualStudioDefines(const LangOptions &Opts,
231 void getTargetDefines(const LangOptions &Opts,
242 void getTargetDefines(const LangOptions &Opts,
251 void getTargetDefines(const LangOptions &Opts,
[all …]
H A DOSTargets.h23 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple,
30 void getTargetDefines(const LangOptions &Opts, in getTargetDefines()
41 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines()
61 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines()
73 void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts,
80 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines()
173 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines()
205 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines()
265 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines()
288 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, in getOSDefines()
[all …]
H A DAArch64.cpp128 llvm::StringSwitch<LangOptions::SignReturnAddressScopeKind>(PBP.Scope) in validateBranchProtection()
129 .Case("non-leaf", LangOptions::SignReturnAddressScopeKind::NonLeaf) in validateBranchProtection()
130 .Case("all", LangOptions::SignReturnAddressScopeKind::All) in validateBranchProtection()
131 .Default(LangOptions::SignReturnAddressScopeKind::None); in validateBranchProtection()
134 BPI.SignKey = LangOptions::SignReturnAddressKeyKind::AKey; in validateBranchProtection()
136 BPI.SignKey = LangOptions::SignReturnAddressKeyKind::BKey; in validateBranchProtection()
156 void AArch64TargetInfo::getTargetDefinesARMV81A(const LangOptions &Opts, in getTargetDefinesARMV81A()
163 void AArch64TargetInfo::getTargetDefinesARMV82A(const LangOptions &Opts, in getTargetDefinesARMV82A()
169 void AArch64TargetInfo::getTargetDefinesARMV83A(const LangOptions &Opts, in getTargetDefinesARMV83A()
177 void AArch64TargetInfo::getTargetDefinesARMV84A(const LangOptions &Opts, in getTargetDefinesARMV84A()
[all …]
H A DOSTargets.cpp22 void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, in getDarwinDefines()
138 static void addMinGWDefines(const llvm::Triple &Triple, const LangOptions &Opts, in addMinGWDefines()
151 static void addVisualCDefines(const LangOptions &Opts, MacroBuilder &Builder) { in addVisualCDefines()
178 if (Opts.CPlusPlus11 && Opts.isCompatibleWithMSVC(LangOptions::MSVC2015)) in addVisualCDefines()
181 if (Opts.isCompatibleWithMSVC(LangOptions::MSVC2015)) { in addVisualCDefines()
204 void addWindowsDefines(const llvm::Triple &Triple, const LangOptions &Opts, in addWindowsDefines()
H A DSPIR.cpp19 void SPIRTargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines()
24 void SPIR32TargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines()
30 void SPIR64TargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines()
H A DSPIR.h90 void getTargetDefines(const LangOptions &Opts,
133 void adjust(LangOptions &Opts) override { in adjust()
167 void getTargetDefines(const LangOptions &Opts,
182 void getTargetDefines(const LangOptions &Opts,
H A DWebAssembly.cpp70 void WebAssemblyTargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines()
237 void WebAssemblyTargetInfo::adjust(LangOptions &Opts) { in adjust()
242 Opts.setThreadModel(LangOptions::ThreadModelKind::Single); in adjust()
246 void WebAssembly32TargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines()
252 void WebAssembly64TargetInfo::getTargetDefines(const LangOptions &Opts, in getTargetDefines()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DLangOptions.cpp17 LangOptions::LangOptions() : LangStd(LangStandard::lang_unspecified) { in LangOptions() function in LangOptions
23 void LangOptions::resetNonModularOptions() { in resetNonModularOptions()
39 bool LangOptions::isNoBuiltinFunc(StringRef FuncName) const { in isNoBuiltinFunc()
46 VersionTuple LangOptions::getOpenCLVersionTuple() const { in getOpenCLVersionTuple()
51 FPOptions FPOptions::defaultWithoutTrailingStorage(const LangOptions &LO) { in defaultWithoutTrailingStorage()
H A DOpenCLOptions.cpp18 const LangOptions &LO) const { in isAvailableOption()
40 const LangOptions &LO) const { in isSupported()
47 const LangOptions &LO) const { in isSupportedCore()
54 const LangOptions &LO) const { in isSupportedOptionalCore()
61 const LangOptions &LO) const { in isSupportedCoreOrOptionalCore()
66 const LangOptions &LO) const { in isSupportedExtension()
94 const LangOptions &Opts) { in addSupport()
H A DIdentifierTable.cpp70 IdentifierTable::IdentifierTable(const LangOptions &LangOpts, in IdentifierTable()
127 static KeywordStatus getKeywordStatus(const LangOptions &LangOpts, in getKeywordStatus()
166 const LangOptions &LangOpts, IdentifierTable &Table) { in AddKeyword()
171 !LangOpts.isCompatibleWithMSVC(LangOptions::MSVC2015)) in AddKeyword()
206 void IdentifierTable::AddKeywords(const LangOptions &LangOpts) { in AddKeywords()
240 static KeywordStatus getTokenKwStatus(const LangOptions &LangOpts, in getTokenKwStatus()
252 bool IdentifierInfo::isKeyword(const LangOptions &LangOpts) const { in isKeyword()
264 bool IdentifierInfo::isCPlusPlusKeyword(const LangOptions &LangOpts) const { in isCPlusPlusKeyword()
269 LangOptions LangOptsNoCPP = LangOpts; in isCPlusPlusKeyword()
277 IdentifierInfo::isReserved(const LangOptions &LangOpts) const { in isReserved()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DCompilerInvocation.h75 std::shared_ptr<LangOptions> LangOpts;
99 LangOptions *getLangOpts() { return LangOpts.get(); } in getLangOpts()
100 const LangOptions *getLangOpts() const { return LangOpts.get(); } in getLangOpts()
226 setLangDefaults(LangOptions &Opts, InputKind IK, const llvm::Triple &T,
257 static bool ParseLangArgs(LangOptions &Opts, llvm::opt::ArgList &Args,
263 static void GenerateLangArgs(const LangOptions &Opts,
273 const LangOptions &LangOptsRef);
280 const LangOptions *LangOpts);
H A DLogDiagnosticPrinter.h19 class LangOptions; variable
53 const LangOptions *LangOpts;
72 void BeginSourceFile(const LangOptions &LO, const Preprocessor *PP) override { in BeginSourceFile()
H A DDiagnosticRenderer.h29 class LangOptions; variable
49 const LangOptions &LangOpts;
71 DiagnosticRenderer(const LangOptions &LangOpts,
144 DiagnosticNoteRenderer(const LangOptions &LangOpts, in DiagnosticNoteRenderer()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Core/
H A DRewriter.h26 class LangOptions; variable
34 const LangOptions *LangOpts = nullptr;
69 explicit Rewriter(SourceManager &SM, const LangOptions &LO) in Rewriter()
72 void setSourceMgr(SourceManager &SM, const LangOptions &LO) { in setSourceMgr()
78 const LangOptions &getLangOpts() const { return *LangOpts; } in getLangOpts()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DIssueHash.h16 class LangOptions; variable
38 const LangOptions &LangOpts);
46 const Decl *IssueDecl, const LangOptions &LangOpts);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Core/
H A DReplacement.h105 const LangOptions &LangOpts = LangOptions());
111 const LangOptions &LangOpts = LangOptions());
138 const LangOptions &LangOpts);
361 const LangOptions &LangOpts) { in Replacement()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Edit/
H A DEditedSource.h26 class LangOptions; variable
37 const LangOptions &LangOpts;
73 EditedSource(const SourceManager &SM, const LangOptions &LangOpts,
78 const LangOptions &getLangOpts() const { return LangOpts; } in getLangOpts()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Rewrite/Frontend/
H A DASTConsumers.h24 class LangOptions; variable
31 DiagnosticsEngine &Diags, const LangOptions &LOpts,
36 DiagnosticsEngine &Diags, const LangOptions &LOpts,
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCoverageMappingGen.h26 class LangOptions; variable
138 const LangOptions &LangOpts;
143 const LangOptions &LangOpts) in CoverageMappingGen()
147 const LangOptions &LangOpts, in CoverageMappingGen()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSarifDiagnostics.cpp32 const LangOptions &LO;
35 SarifDiagnostics(const std::string &Output, const LangOptions &LO) in SarifDiagnostics()
181 static json::Object createTextRegion(const LangOptions &LO, SourceRange R, in createTextRegion()
198 static json::Object createPhysicalLocation(const LangOptions &LO, in createPhysicalLocation()
256 static json::Object createThreadFlow(const LangOptions &LO, in createThreadFlow()
274 static json::Object createCodeFlow(const LangOptions &LO, in createCodeFlow()
281 static json::Object createResult(const LangOptions &LO, in createResult()
366 static json::Object createRun(const LangOptions &LO, in createRun()

12345678910>>...13