Searched refs:getLangOpts (Results 1 - 25 of 250) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DFixIt.cpp23 Context.getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDataCollection.cpp21 Context.getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp20 const LangOptions &LangOpts = PP.getLangOpts();
H A DFrontendActions.cpp106 CI.getLangOpts(), FixItOpts.get()));
132 CI.getLangOpts(), FixItOpts.get());
167 if (CI.getLangOpts().ObjCRuntime.isNonFragile())
169 InFile, std::move(OS), CI.getDiagnostics(), CI.getLangOpts(),
173 CI.getLangOpts(),
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp63 assert(getLangOpts().CPlusPlusModules && getLangOpts().ModulesTS &&
93 assert((getLangOpts().ModulesTS || getLangOpts().CPlusPlusModules) &&
99 switch (getLangOpts().getCompilingModule()) {
146 if (getLangOpts().CPlusPlusModules && !IsFirstDecl && !GlobalModuleFragment) {
170 if (!getLangOpts().CurrentModule.empty() &&
171 getLangOpts().CurrentModule != ModuleName) {
174 << getLangOpts().CurrentModule;
177 const_cast<LangOptions&>(getLangOpts())
[all...]
H A DSemaCUDA.cpp28 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
33 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
192 if ((getLangOpts().CUDAIsDevice && CalleeTarget == CFT_Device) ||
193 (!getLangOpts().CUDAIsDevice &&
558 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
568 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() ||
607 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
617 if (getLangOpts().CUDAIsDevice) {
635 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation");
644 if (getLangOpts()
[all...]
H A DSemaDecl.cpp154 return getLangOpts().CPlusPlus;
157 return getLangOpts().Char8;
292 getLangOpts().CPlusPlus17 && !IsCtorOrDtorName &&
364 if (Result.empty() && getLangOpts().MSVCCompat && (!SS || SS->isEmpty())) {
395 !(getLangOpts().CPlusPlus && NewSSPtr &&
559 assert(getLangOpts().MSVCCompat && "shouldn't be called in non-MSVC mode");
695 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
725 if (getLangOpts().CPlusPlus && !IsTemplateName) {
753 if (getLangOpts().MSVCCompat && isMicrosoftMissingTypename(SS, S))
771 bool CheckTemplate = R.getSema().getLangOpts()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DGeneratePCH.cpp51 if (PP.getLangOpts().isCompilingModule()) {
53 PP.getLangOpts().CurrentModule, /*AllowSearch*/ false);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp20 Context.getLangOpts());
27 Range.getEnd(), Context.getSourceManager(), Context.getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DARCMT.cpp195 CInvok->getLangOpts()->ObjCAutoRefCount = true;
196 CInvok->getLangOpts()->setGC(LangOptions::NonGC);
211 CInvok->getLangOpts()->ObjCWeakRuntime = HasARCRuntime(origCI);
212 CInvok->getLangOpts()->ObjCWeak = CInvok->getLangOpts()->ObjCWeakRuntime;
227 printer.BeginSourceFile(PP.getLangOpts(), &PP);
241 if (!origCI.getLangOpts()->ObjC)
244 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC();
284 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
300 Ctx.getSourceManager(), Ctx.getLangOpts());
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DTokenConcatenation.cpp48 const LangOptions &LangOpts = PP.getLangOpts();
89 if (PP.getLangOpts().CPlusPlus11) {
102 if (PP.getLangOpts().CPlusPlus17)
106 if (PP.getLangOpts().CPlusPlus2a)
231 if (!PP.getLangOpts().CPlusPlus11)
270 (PP.getLangOpts().CPlusPlus && FirstChar == '*');
289 (PP.getLangOpts().CPlusPlus && FirstChar == ':');
293 return PP.getLangOpts().CPlusPlus && FirstChar == '*';
295 return PP.getLangOpts().CPlusPlus2a && FirstChar == '>';
H A DLiteralSupport.cpp574 if (PP.getLangOpts().FixedPoint) {
593 if (!PP.getLangOpts().FixedPoint) break;
600 if (!PP.getLangOpts().FixedPoint) break;
608 if (!(PP.getLangOpts().Half || PP.getLangOpts().FixedPoint)) break;
622 if ((PP.getTargetInfo().hasFloat16Type() || PP.getLangOpts().CUDA) &&
661 if (PP.getLangOpts().MicrosoftExt) {
714 if (isValidUDSuffix(PP.getLangOpts(), UDSuffixBuf)) {
758 !isValidUDSuffix(PP.getLangOpts(), StringRef(s, ThisTokEnd - s))) {
875 << PP.getLangOpts()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DFrontendAction.cpp146 CI.getLangOpts().CurrentModule, /*AllowSearch*/false);
244 new Lexer(MainFileID, MainFileBuf, SourceMgr, CI.getLangOpts()));
262 if (Lexer::getSpelling(LineNoLoc, Buffer, SourceMgr, CI.getLangOpts())
450 if (CI.getLangOpts().CurrentModule.empty()) {
462 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule,
466 << CI.getLangOpts().CurrentModule << ModuleMapFilename;
472 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(),
507 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule,
522 CI.getLangOpts(), M->IsExternC);
524 CI.getLangOpts(), FileMg
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseInit.cpp34 if (!PP.getLangOpts().CPlusPlus11)
239 if (getLangOpts().ObjC && getLangOpts().CPlusPlus) {
272 } else if (getLangOpts().ObjC && Tok.is(tok::identifier)) {
342 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) &&
388 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus11) {
436 if (!getLangOpts().CPlusPlus)
450 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) ||
H A DParser.cpp44 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland))
193 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) {
194 if (getLangOpts().CPlusPlus11)
218 if (II->isCPlusPlusKeyword(getLangOpts())) {
435 if (getLangOpts().DelayedTemplateParsing &&
457 if (getLangOpts().ObjC) {
483 if (getLangOpts().AltiVec || getLangOpts().ZVector) {
487 if (getLangOpts()
[all...]
H A DParseDecl.cpp99 Lexer::isAtStartOfMacroExpansion(StartLoc, SM, PP.getLangOpts());
101 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts());
232 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts());
523 getTargetInfo(), getLangOpts())) {
667 assert(getLangOpts().DeclSpecKeyword && "__declspec keyword is not enabled");
830 if (!getLangOpts().ObjC)
1762 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) {
1869 return getLangOpts().CPlusPlus;
1873 getLangOpts().CPlusPlus11 && NextToken().is(tok::l_square);
1877 getLangOpts()
[all...]
H A DParseExpr.cpp399 getLangOpts().CPlusPlus11);
453 if (getLangOpts().ObjC && getLangOpts().CPlusPlus &&
464 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {
540 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {
543 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional)
561 getLangOpts().CPlusPlus11);
595 getLangOpts().CPlusPlus11);
638 if (!getLangOpts().CPlusPlus)
923 if (!getLangOpts()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp32 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) &&
121 if (CGF.getContext().getLangOpts().OpenCL) {
207 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd &&
342 if (!getLangOpts().AppleKext && !TLS) {
352 if (!getLangOpts().Exceptions)
355 if (getLangOpts().Sanitize.has(SanitizerKind::Address) &&
359 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) &&
363 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) &&
367 if (getLangOpts()
[all...]
H A DSanitizerMetadata.cpp34 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
65 if (!isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
82 if (isAsanHwasanOrMemTag(CGM.getLangOpts().Sanitize))
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp95 getLangOpts());
97 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
H A DAnalysisManager.cpp41 Ctx(ASTCtx), LangOpts(ASTCtx.getLangOpts()),
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h87 LangOptions *getLangOpts() { return LangOpts.get(); } function in class:clang::CompilerInvocationBase
88 const LangOptions *getLangOpts() const { return LangOpts.get(); } function in class:clang::CompilerInvocationBase
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp59 const LangOptions &Context::getLangOpts() const { return Ctx.getLangOpts(); } function in class:Context
H A DContext.h58 const LangOptions &getLangOpts() const;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DSourceCode.h86 Context.getLangOpts());

Completed in 361 milliseconds

12345678910