/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/ |
H A D | FixIt.cpp | 23 Context.getLangOpts());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | DataCollection.cpp | 21 Context.getLangOpts());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteTest.cpp | 20 const LangOptions &LangOpts = PP.getLangOpts();
|
H A D | FrontendActions.cpp | 106 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 D | SemaModule.cpp | 63 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 D | SemaCUDA.cpp | 28 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 D | SemaDecl.cpp | 154 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 D | GeneratePCH.cpp | 51 if (PP.getLangOpts().isCompilingModule()) { 53 PP.getLangOpts().CurrentModule, /*AllowSearch*/ false);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | SourceCode.cpp | 20 Context.getLangOpts()); 27 Range.getEnd(), Context.getSourceManager(), Context.getLangOpts());
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 195 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 D | TokenConcatenation.cpp | 48 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 D | LiteralSupport.cpp | 574 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 D | FrontendAction.cpp | 146 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 D | ParseInit.cpp | 34 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 D | Parser.cpp | 44 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 D | ParseDecl.cpp | 99 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 D | ParseExpr.cpp | 399 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 D | CGDeclCXX.cpp | 32 (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 D | SanitizerMetadata.cpp | 34 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 D | CheckerContext.cpp | 95 getLangOpts()); 97 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
|
H A D | AnalysisManager.cpp | 41 Ctx(ASTCtx), LangOpts(ASTCtx.getLangOpts()),
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 87 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 D | Context.cpp | 59 const LangOptions &Context::getLangOpts() const { return Ctx.getLangOpts(); } function in class:Context
|
H A D | Context.h | 58 const LangOptions &getLangOpts() const;
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Transformer/ |
H A D | SourceCode.h | 86 Context.getLangOpts());
|