| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | SemaModule.cpp | 63 assert(getLangOpts().CPlusPlusModules && getLangOpts().ModulesTS && in ActOnGlobalModuleFragmentDecl() 93 assert((getLangOpts().ModulesTS || getLangOpts().CPlusPlusModules) && in ActOnModuleDecl() 99 switch (getLangOpts().getCompilingModule()) { in ActOnModuleDecl() 146 if (getLangOpts().CPlusPlusModules && !IsFirstDecl && !GlobalModuleFragment) { in ActOnModuleDecl() 170 if (!getLangOpts().CurrentModule.empty() && in ActOnModuleDecl() 171 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl() 174 << getLangOpts().CurrentModule; in ActOnModuleDecl() 177 const_cast<LangOptions&>(getLangOpts()).CurrentModule = ModuleName; in ActOnModuleDecl() 221 if (getLangOpts().ModulesLocalVisibility) in ActOnModuleDecl() 313 if (getLangOpts().ModulesTS) { in ActOnModuleImport() [all …]
|
| D | SemaCUDA.cpp | 38 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PushForceCUDAHostDevice() 43 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PopForceCUDAHostDevice() 235 if ((getLangOpts().CUDAIsDevice && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference() 236 (!getLangOpts().CUDAIsDevice && in IdentifyCUDAPreference() 662 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in maybeAddCUDAHostDeviceAttrs() 672 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddCUDAHostDeviceAttrs() 715 if (getLangOpts().CUDAIsDevice && !VD->hasAttr<CUDAConstantAttr>() && in MaybeAddCUDAConstantAttr() 728 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CUDADiagIfDeviceCode() 740 if (!getLangOpts().CUDAIsDevice) in CUDADiagIfDeviceCode() 758 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in CUDADiagIfHostCode() [all …]
|
| D | SemaDecl.cpp | 156 return getLangOpts().CPlusPlus; in isSimpleTypeSpecifier() 159 return getLangOpts().Char8; in isSimpleTypeSpecifier() 294 getLangOpts().CPlusPlus17 && !IsCtorOrDtorName && in getTypeName() 366 if (Result.empty() && getLangOpts().MSVCCompat && (!SS || SS->isEmpty())) { in getTypeName() 397 !(getLangOpts().CPlusPlus && NewSSPtr && in getTypeName() 567 assert(getLangOpts().MSVCCompat && "shouldn't be called in non-MSVC mode"); in ActOnMSVCUnknownTypeName() 703 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); in DiagnoseUnknownTypeName() 733 if (getLangOpts().CPlusPlus && !IsTemplateName) { in DiagnoseUnknownTypeName() 764 if (getLangOpts().MSVCCompat && isMicrosoftMissingTypename(SS, S)) in DiagnoseUnknownTypeName() 782 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate() [all …]
|
| D | Sema.cpp | 100 Policy.Bool = Context.getLangOpts().Bool; in getPrintingPolicy() 177 CurFPFeatures(pp.getLangOpts()), LangOpts(pp.getLangOpts()), PP(pp), in Sema() 185 AlignPackStack(AlignPackInfo(getLangOpts().XLPragmaPack)), in Sema() 216 if (getLangOpts().ObjC) 219 if (getLangOpts().CPlusPlus) 281 if (getLangOpts().ObjC) { in Initialize() 311 if (getLangOpts().MSVCCompat) { in Initialize() 312 if (getLangOpts().CPlusPlus && in Initialize() 322 if (getLangOpts().OpenCL) { in Initialize() 324 Context.getTargetInfo().getSupportedOpenCLOpts(), getLangOpts()); in Initialize() [all …]
|
| D | SemaType.cpp | 1332 if (S.getLangOpts().CPlusPlus14 && in ConvertDeclSpecToType() 1351 if (S.getLangOpts().ImplicitInt) { in ConvertDeclSpecToType() 1364 if (S.getLangOpts().CPlusPlus && !DS.isTypeSpecPipe()) { in ConvertDeclSpecToType() 1372 } else if ((S.getLangOpts().OpenCLVersion >= 200 || in ConvertDeclSpecToType() 1373 S.getLangOpts().OpenCLCPlusPlus) && in ConvertDeclSpecToType() 1401 if (!S.getLangOpts().C99) { in ConvertDeclSpecToType() 1402 if (S.getLangOpts().CPlusPlus) in ConvertDeclSpecToType() 1404 S.getLangOpts().CPlusPlus11 ? in ConvertDeclSpecToType() 1426 if (!S.getLangOpts().C99) { in ConvertDeclSpecToType() 1427 if (S.getLangOpts().CPlusPlus) in ConvertDeclSpecToType() [all …]
|
| D | SemaExpr.cpp | 72 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && in CanUseDecl() 155 if (S.getLangOpts().CPlusPlus) in diagnoseUseOfInternalDeclInInlineFunction() 222 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) { in DiagnoseUseOfDecl() 296 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && in DiagnoseUseOfDecl() 300 if (getLangOpts().CUDA && !CheckCUDACall(Loc, FD)) in DiagnoseUseOfDecl() 303 if (getLangOpts().SYCLIsDevice && !checkSYCLDeviceFunction(Loc, FD)) in DiagnoseUseOfDecl() 472 else if (getLangOpts().CPlusPlus11) in DiagnoseSentinelCalls() 528 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) { in DefaultFunctionArrayConversion() 643 if (getLangOpts().CPlusPlus && in DefaultLvalueConversion() 658 if (getLangOpts().OpenCL && in DefaultLvalueConversion() [all …]
|
| D | SemaCXXScopeSpec.cpp | 180 assert(getLangOpts().CPlusPlus && "Only callable in C++"); in getCurrentInstantiationOf() 351 if (Context.getLangOpts().CPlusPlus11) in isAcceptableNestedNameSpecifier() 359 if (Context.getLangOpts().CPlusPlus11) in isAcceptableNestedNameSpecifier() 613 << IdInfo.Identifier << getLangOpts().CPlusPlus in BuildCXXNestedNameSpecifier() 623 << IdInfo.Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 631 if (Found.empty() && !ErrorRecoveryLookup && !getLangOpts().MSVCCompat) { in BuildCXXNestedNameSpecifier() 643 Name.getAsString() == Corrected.getAsString(getLangOpts()); in BuildCXXNestedNameSpecifier() 675 !getLangOpts().CPlusPlus11) { in BuildCXXNestedNameSpecifier() 811 if (getLangOpts().MSVCCompat) { in BuildCXXNestedNameSpecifier() 829 << Context.getTypeDeclType(TD) << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() [all …]
|
| D | SemaLookup.cpp | 299 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure() 818 if (!isOpenCLVersionContainedInMask(Context.getLangOpts(), in InsertOCLBuiltinDeclarationsFromTable() 886 if (!S.getLangOpts().OpenCLCPlusPlus) in InsertOCLBuiltinDeclarationsFromTable() 910 if (getLangOpts().CPlusPlus && NameKind == Sema::LookupOrdinaryName) { in LookupBuiltin() 921 if (getLangOpts().OpenCL && getLangOpts().DeclareOpenCLBuiltins) { in LookupBuiltin() 934 if ((getLangOpts().CPlusPlus || getLangOpts().OpenCL) && in LookupBuiltin() 996 if (getLangOpts().CPlusPlus11) { in ForceDeclarationOfImplicitMembers() 1047 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName() 1069 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName() 1091 if (S.getLangOpts().CPlusPlus) in LookupDirect() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/ |
| D | CGDeclCXX.cpp | 32 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) && in EmitDeclInit() 121 if (CGF.getContext().getLangOpts().OpenCL) { in EmitDeclDestroy() 207 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd && in EmitCXXGlobalVarDeclInit() 429 if (!getLangOpts().AppleKext && !TLS) { in CreateGlobalInitOrCleanUpFunction() 439 if (!getLangOpts().Exceptions) in CreateGlobalInitOrCleanUpFunction() 442 if (getLangOpts().Sanitize.has(SanitizerKind::Address) && in CreateGlobalInitOrCleanUpFunction() 446 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) && in CreateGlobalInitOrCleanUpFunction() 450 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) && in CreateGlobalInitOrCleanUpFunction() 454 if (getLangOpts().Sanitize.has(SanitizerKind::KernelHWAddress) && in CreateGlobalInitOrCleanUpFunction() 458 if (getLangOpts().Sanitize.has(SanitizerKind::MemTag) && in CreateGlobalInitOrCleanUpFunction() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
| D | ARCMT.cpp | 196 CInvok->getLangOpts()->ObjCAutoRefCount = true; in createInvocationForMigration() 197 CInvok->getLangOpts()->setGC(LangOptions::NonGC); in createInvocationForMigration() 212 CInvok->getLangOpts()->ObjCWeakRuntime = HasARCRuntime(origCI); in createInvocationForMigration() 213 CInvok->getLangOpts()->ObjCWeak = CInvok->getLangOpts()->ObjCWeakRuntime; in createInvocationForMigration() 228 printer.BeginSourceFile(PP.getLangOpts(), &PP); in emitPremigrationErrors() 242 if (!origCI.getLangOpts()->ObjC) in checkForManualIssues() 245 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); in checkForManualIssues() 285 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 301 Ctx.getSourceManager(), Ctx.getLangOpts()); in checkForManualIssues() 309 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Parse/ |
| D | ParseDecl.cpp | 100 Lexer::isAtStartOfMacroExpansion(StartLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID() 102 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID() 255 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes() 556 getTargetInfo(), getLangOpts())) { in ParseMicrosoftDeclSpecArgs() 700 assert(getLangOpts().DeclSpecKeyword && "__declspec keyword is not enabled"); in ParseMicrosoftDeclSpecs() 864 if (!getLangOpts().ObjC) in ParseNullabilityTypeSpecifiers() 1621 const auto &LangOpts = getLangOpts(); in ProhibitCXX11Attributes() 1722 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration() 1829 return getLangOpts().CPlusPlus; in MightBeDeclarator() 1832 return Context == DeclaratorContext::Member && getLangOpts().CPlusPlus11 && in MightBeDeclarator() [all …]
|
| D | Parser.cpp | 45 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland)) in getSEHExceptKeyword() 194 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { in ConsumeExtraSemi() 195 if (getLangOpts().CPlusPlus11) in ConsumeExtraSemi() 219 if (II->isCPlusPlusKeyword(getLangOpts())) { in expectIdentifier() 482 if (getLangOpts().ObjC) { in Initialize() 510 if (getLangOpts().AltiVec || getLangOpts().ZVector) { in Initialize() 515 if (getLangOpts().AltiVec) in Initialize() 535 if(getLangOpts().Borland) { in Initialize() 557 if (getLangOpts().CPlusPlusModules) { in Initialize() 594 !getLangOpts().CPlusPlus && !getLangOpts().IsHeaderFile) in ParseFirstTopLevelDecl() [all …]
|
| D | ParseExpr.cpp | 399 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 453 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && in ParseRHSOfBinaryExpression() 464 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseRHSOfBinaryExpression() 540 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseRHSOfBinaryExpression() 543 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional) in ParseRHSOfBinaryExpression() 561 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 595 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 656 if (!getLangOpts().CPlusPlus) in ParseRHSOfBinaryExpression() 945 if (!getLangOpts().CPlusPlus) in ParseCastExpression() 1045 if (getLangOpts().CPlusPlus) { in ParseCastExpression() [all …]
|
| D | ParseInit.cpp | 37 if (!PP.getLangOpts().CPlusPlus11) in MayBeDesignationStart() 251 if (getLangOpts().ObjC && getLangOpts().CPlusPlus) { in ParseInitializerWithPotentialDesignator() 284 } else if (getLangOpts().ObjC && Tok.is(tok::identifier)) { in ParseInitializerWithPotentialDesignator() 354 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator() 402 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus11) { in ParseInitializerWithPotentialDesignator() 451 if (!getLangOpts().CPlusPlus) in ParseBraceInitializer() 469 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) || in ParseBraceInitializer()
|
| D | ParseStmt.cpp | 110 if (getLangOpts().OpenCL) in ParseStatementOrDeclaration() 216 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || in ParseStatementOrDeclarationAfterAttributes() 547 if (getLangOpts().Borland) { in ParseSEHExceptBlock() 560 if (getLangOpts().Borland) { in ParseSEHExceptBlock() 654 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement() 1196 if (getLangOpts().CPlusPlus) in ParseParenExprOrCondition() 1348 Diag(Tok, getLangOpts().CPlusPlus17 ? diag::warn_cxx14_compat_constexpr_if in ParseIfStatement() 1360 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement() 1515 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement() 1603 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement() [all …]
|
| D | ParseDeclCXX.cpp | 78 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { in ParseNamespace() 79 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 in ParseNamespace() 158 } else if (getLangOpts().CPlusPlus20) { in ParseNamespace() 164 } else if (getLangOpts().CPlusPlus17) { in ParseNamespace() 208 Diag(InlineLoc, getLangOpts().CPlusPlus11 ? in ParseNamespace() 442 if (Tok.is(tok::r_brace) && getLangOpts().ModulesTS) { in ParseExportDeclaration() 623 if (getLangOpts().CPlusPlus11 && Context == DeclaratorContext::Member && in ParseUsingDeclarator() 647 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 ? in ParseUsingDeclarator() 683 Diag(UELoc, getLangOpts().CPlusPlus20 in ParseUsingDeclaration() 802 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 ? in ParseUsingDeclaration() [all …]
|
| D | ParseTentative.cpp | 210 if (getLangOpts().ObjC && Tok.is(tok::less)) in TryConsumeDeclarationSpecifier() 506 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) { in isCXXConditionDeclarationOrInitStatement() 609 (getLangOpts().CPlusPlus11 && in isCXXTypeId() 670 if (!Disambiguate && !getLangOpts().ObjC) in isCXX11AttributeSpecifier() 682 if (!getLangOpts().ObjC) { in isCXX11AttributeSpecifier() 914 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { in TryParseOperatorId() 1271 if (!getLangOpts().ObjC && Next.is(tok::identifier)) in isCXXDeclarationSpecifier() 1290 if (getLangOpts().CPlusPlus17) { in isCXXDeclarationSpecifier() 1402 if (!getLangOpts().OpenCL) in isCXXDeclarationSpecifier() 1529 if (getLangOpts().MSVCCompat) { in isCXXDeclarationSpecifier() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Frontend/ |
| D | FrontendAction.cpp | 146 CI.getLangOpts().CurrentModule, /*AllowSearch*/false); in getCurrentModule() 241 new Lexer(MainFileID, *MainFileBuf, SourceMgr, CI.getLangOpts())); in ReadOriginalFileName() 259 if (Lexer::getSpelling(LineNoLoc, Buffer, SourceMgr, CI.getLangOpts()) in ReadOriginalFileName() 462 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule() 474 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 478 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule() 484 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(), in prepareToBuildModule() 519 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 534 HeaderContents, CI.getLangOpts(), M->IsExternC); in getInputBufferForModule() 536 CI.getLangOpts(), FileMgr, CI.getDiagnostics(), in getInputBufferForModule() [all …]
|
| D | CompilerInstance.cpp | 110 (getLangOpts().CUDA || getLangOpts().OpenMPIsDevice || in createTarget() 111 getLangOpts().SYCLIsDevice) && in createTarget() 123 if (!getTarget().hasStrictFP() && !getLangOpts().ExpStrictFP) { in createTarget() 124 if (getLangOpts().getFPRoundingMode() != in createTarget() 127 getLangOpts().setFPRoundingMode(llvm::RoundingMode::NearestTiesToEven); in createTarget() 129 if (getLangOpts().getFPExceptionMode() != LangOptions::FPE_Ignore) { in createTarget() 131 getLangOpts().setFPExceptionMode(LangOptions::FPE_Ignore); in createTarget() 138 if (getLangOpts().OpenCL && in createTarget() 139 !getTarget().validateOpenCLTarget(getLangOpts(), getDiagnostics())) in createTarget() 145 getTarget().adjust(getDiagnostics(), getLangOpts()); in createTarget() [all …]
|
| D | FrontendActions.cpp | 139 FrontendOpts.IncludeTimestamps, +CI.getLangOpts().CacheGeneratedPCH)); in CreateASTConsumer() 177 CI.getLangOpts().CompilingPCH = true; in BeginSourceFileAction() 215 if (!CI.getLangOpts().Modules) { in BeginSourceFileAction() 235 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile() 248 if (!CI.getLangOpts().ModulesTS && !CI.getLangOpts().CPlusPlusModules) { in BeginSourceFileAction() 253 CI.getLangOpts().setCompilingModule(LangOptions::CMK_ModuleInterface); in BeginSourceFileAction() 266 if (!CI.getLangOpts().Modules) { in PrepareToExecuteAction() 307 CI.getLangOpts().setCompilingModule(LangOptions::CMK_HeaderModule); in BeginSourceFileAction() 325 HS.getModuleMap().createHeaderModule(CI.getLangOpts().CurrentModule, Headers); in BeginSourceFileAction() 780 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Lex/ |
| D | TokenConcatenation.cpp | 48 const LangOptions &LangOpts = PP.getLangOpts(); in IsIdentifierStringPrefix() 89 if (PP.getLangOpts().CPlusPlus11) { in TokenConcatenation() 102 if (PP.getLangOpts().CPlusPlus17) in TokenConcatenation() 106 if (PP.getLangOpts().CPlusPlus20) in TokenConcatenation() 231 if (!PP.getLangOpts().CPlusPlus11) in AvoidConcat() 270 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); in AvoidConcat() 289 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); in AvoidConcat() 293 return PP.getLangOpts().CPlusPlus && FirstChar == '*'; in AvoidConcat() 295 return PP.getLangOpts().CPlusPlus20 && FirstChar == '>'; in AvoidConcat()
|
| D | PPDirectives.cpp | 131 const LangOptions &Lang = PP.getLangOpts(); in shouldWarnOnMacroDef() 184 const LangOptions &Lang = PP.getLangOpts(); in shouldWarnOnMacroUndef() 282 Diag(MacroNameTok, getLangOpts().MicrosoftExt in CheckMacroName() 736 return getLangOpts().CurrentModule.empty() in getModuleForLocation() 738 : HeaderInfo.lookupModule(getLangOpts().CurrentModule); in getModuleForLocation() 781 if (getLangOpts().ObjC || getLangOpts().CPlusPlusModules || in getHeaderToIncludeForDiagnostics() 782 getLangOpts().ModulesTS) in getHeaderToIncludeForDiagnostics() 1061 if (getLangOpts().AsmPreprocessor) in HandleDirective() 1137 if (getLangOpts().Modules || getLangOpts().ModulesLocalVisibility) in HandleDirective() 1142 if (getLangOpts().Modules || getLangOpts().ModulesLocalVisibility) in HandleDirective() [all …]
|
| D | TokenLexer.cpp | 147 if (!HasPasteOperator && !PP.getLangOpts().MSVCCompat) in MaybeRemoveCommaBeforeVaArgs() 155 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode in MaybeRemoveCommaBeforeVaArgs() 469 if (PP.getLangOpts().MSVCCompat && NumToks == 1 && in ExpandFunctionArguments() 658 (PP.getLangOpts().MSVCCompat && in Lex() 737 (PP.getLangOpts().MSVCCompat && in pasteTokens() 745 if (PP.getLangOpts().MicrosoftExt && (CurIdx >= 2) && in pasteTokens() 833 PP.getLangOpts(), ScratchBufStart, in pasteTokens() 858 if (PP.getLangOpts().MicrosoftExt && LHSTok.is(tok::slash) && in pasteTokens() 865 if (!PP.getLangOpts().AsmPreprocessor) { in pasteTokens() 869 PP.Diag(Loc, PP.getLangOpts().MicrosoftExt ? diag::ext_pp_bad_paste_ms in pasteTokens()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| D | AnalyzerHelpFlags.cpp | 33 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printCheckerHelp() 44 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printEnabledCheckerList() 53 *CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printCheckerConfigList()
|
| /freebsd-12-stable/contrib/llvm-project/clang/lib/AST/ |
| D | Decl.cpp | 533 const LangOptions &Opts = D->getASTContext().getLangOpts(); in useInlineVisibilityHidden() 652 if (Context.getLangOpts().CPlusPlus && in getLVForNamespaceScopeDecl() 734 ? Context.getLangOpts().getValueVisibilityMode() in getLVForNamespaceScopeDecl() 735 : Context.getLangOpts().getTypeVisibilityMode(); in getLVForNamespaceScopeDecl() 783 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Var) && in getLVForNamespaceScopeDecl() 824 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Function)) { in getLVForNamespaceScopeDecl() 910 if (Context.getLangOpts().OpenMP && Context.getLangOpts().OpenMPIsDevice) in getLVForNamespaceScopeDecl() 1299 if (!Context.getLangOpts().CPlusPlus) in getLVForLocalDecl() 1325 !Context.getLangOpts().VisibilityInlinesHiddenStaticLocalVar) { in getLVForLocalDecl() 1335 ? Context.getLangOpts().getValueVisibilityMode() in getLVForLocalDecl() [all …]
|