| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 190 assert(getLangOpts().CPlusPlusModules && in HandleStartOfHeaderUnit() 195 StringRef HUName = getLangOpts().CurrentModule; in HandleStartOfHeaderUnit() 199 const_cast<LangOptions &>(getLangOpts()).CurrentModule = HUName.str(); in HandleStartOfHeaderUnit() 241 else if (II->isReserved(S.getLangOpts()) != in DiagReservedModuleName() 268 assert(getLangOpts().CPlusPlusModules && in ActOnModuleDecl() 295 switch (getLangOpts().getCompilingModule()) { in ActOnModuleDecl() 333 assert((!getLangOpts().CPlusPlusModules || in ActOnModuleDecl() 339 if (getLangOpts().CPlusPlusModules && in ActOnModuleDecl() 381 if (!getLangOpts().CurrentModule.empty() && in ActOnModuleDecl() 382 getLangOpts().CurrentModule != ModuleName) { in ActOnModuleDecl() [all …]
|
| H A D | SemaCUDA.cpp | 40 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PushForceHostDevice() 45 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PopForceHostDevice() 268 if (getLangOpts().HIPStdPar && in IdentifyPreference() 278 if ((getLangOpts().CUDAIsDevice && in IdentifyPreference() 280 (!getLangOpts().CUDAIsDevice && in IdentifyPreference() 668 return S.getLangOpts().GPUAllowDeviceInit || in HasAllowedCUDADeviceStaticInitializer() 763 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in maybeAddHostDeviceAttrs() 775 if (getLangOpts().OffloadImplicitHostDeviceTemplates && in maybeAddHostDeviceAttrs() 785 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddHostDeviceAttrs() 829 if (getLangOpts().CUDAIsDevice && !VD->hasAttr<CUDAConstantAttr>() && in MaybeAddConstantAttr() [all …]
|
| H A D | SemaBase.cpp | 11 const LangOptions &SemaBase::getLangOpts() const { return SemaRef.LangOpts; } in getLangOpts() function in clang::SemaBase 65 bool ShouldDefer = getLangOpts().CUDA && getLangOpts().GPUDeferDiag && in Diag() 78 SemaDiagnosticBuilder DB = getLangOpts().CUDAIsDevice in Diag() 95 DiagnosticIDs::getCXXCompatDiagId(getLangOpts(), CompatDiagId), in DiagCompat()
|
| H A D | SemaDecl.cpp | 322 getLangOpts().CPlusPlus17 && IsImplicitTypename && in getTypeName() 354 if (!getLangOpts().CPlusPlus20) in getTypeName() 411 if (Result.empty() && getLangOpts().MSVCCompat && (!SS || SS->isEmpty())) { in getTypeName() 443 !(getLangOpts().CPlusPlus && NewSSPtr && in getTypeName() 611 assert(getLangOpts().MSVCCompat && "shouldn't be called in non-MSVC mode"); in ActOnMSVCUnknownTypeName() 733 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); in DiagnoseUnknownTypeName() 763 if (getLangOpts().CPlusPlus && !IsTemplateName) { in DiagnoseUnknownTypeName() 794 if (getLangOpts().MSVCCompat && isMicrosoftMissingTypename(SS, S)) in DiagnoseUnknownTypeName() 812 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate() 858 << Name << TagName << SemaRef.getLangOpts().CPlusPlus in isTagTypeWithMissingTag() [all …]
|
| H A D | SemaExpr.cpp | 86 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && in CanUseDecl() 168 if (S.getLangOpts().CPlusPlus) in diagnoseUseOfInternalDeclInInlineFunction() 224 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) { in DiagnoseUseOfDecl() 304 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && in DiagnoseUseOfDecl() 308 if (getLangOpts().CUDA && !CUDA().CheckCall(Loc, FD)) in DiagnoseUseOfDecl() 381 if (getLangOpts().getFPEvalMethod() != in DiagnoseUseOfDecl() 384 PP.getCurrentFPEvalMethod() != getLangOpts().getFPEvalMethod()) in DiagnoseUseOfDecl() 482 else if (getLangOpts().CPlusPlus11) in DiagnoseSentinelCalls() 539 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) { in DefaultFunctionArrayConversion() 655 if (getLangOpts().CPlusPlus) { in DefaultLvalueConversion() [all …]
|
| H A D | SemaType.cpp | 961 if (S.getLangOpts().CPlusPlus14 && in ConvertDeclSpecToType() 980 if (S.getLangOpts().isImplicitIntRequired()) { in ConvertDeclSpecToType() 989 if (!S.getLangOpts().isImplicitIntAllowed() && !DS.isTypeSpecPipe()) { in ConvertDeclSpecToType() 997 } else if (S.getLangOpts().getOpenCLCompatibleVersion() >= 200 && in ConvertDeclSpecToType() 1003 assert(S.getLangOpts().isImplicitIntAllowed() && in ConvertDeclSpecToType() 1028 if (!S.getLangOpts().C99) { in ConvertDeclSpecToType() 1029 if (S.getLangOpts().CPlusPlus) in ConvertDeclSpecToType() 1031 S.getLangOpts().CPlusPlus11 ? in ConvertDeclSpecToType() 1053 if (!S.getLangOpts().C99) { in ConvertDeclSpecToType() 1054 if (S.getLangOpts().CPlusPlus) in ConvertDeclSpecToType() [all …]
|
| H A D | Sema.cpp | 157 Policy.Bool = Context.getLangOpts().Bool; in getPrintingPolicy() 275 CurFPFeatures(pp.getLangOpts()), LangOpts(pp.getLangOpts()), PP(pp), in Sema() 313 AlignPackStack(AlignPackInfo(getLangOpts().XLPragmaPack)), in Sema() 336 if (getLangOpts().ObjC) in Sema() 339 if (getLangOpts().CPlusPlus) in Sema() 413 if (getLangOpts().ObjC) { in Initialize() 443 if (getLangOpts().MSVCCompat) { in Initialize() 444 if (getLangOpts().CPlusPlus && in Initialize() 455 if (getLangOpts().OpenCL) { in Initialize() 457 Context.getTargetInfo().getSupportedOpenCLOpts(), getLangOpts()); in Initialize() [all …]
|
| H A D | DeclSpec.cpp | 656 if (S.getLangOpts().OpenCL && in SetStorageClassSpec() 658 "cl_clang_storage_class_specifiers", S.getLangOpts())) { in SetStorageClassSpec() 663 if (S.getLangOpts().getOpenCLCompatibleVersion() < 120) { in SetStorageClassSpec() 682 if (TypeSpecType == TST_unspecified && S.getLangOpts().CPlusPlus) { in SetStorageClassSpec() 1201 !S.getLangOpts().ZVector) in Finish() 1207 !S.getLangOpts().ZVector) in Finish() 1232 !S.getLangOpts().ZVector)) in Finish() 1255 !S.getLangOpts().ZVector) in Finish() 1260 if (S.getLangOpts().ZVector && in Finish() 1271 if (S.getLangOpts().ZVector || in Finish() [all …]
|
| H A D | SemaObjCProperty.cpp | 128 if (S.getLangOpts().getGC() != LangOptions::NonGC) { in deducePropertyOwnershipFromType() 323 Context.getLangOpts(), in LocPropertyAttribute() 571 isAssign = (!getLangOpts().ObjCAutoRefCount || in CreatePropertyDecl() 577 if (getLangOpts().getGC() != LangOptions::NonGC && isAssign && in CreatePropertyDecl() 696 } else if (getLangOpts().ObjCRuntime.allowsDirectDispatch()) { in CreatePropertyDecl() 726 S.getLangOpts().ObjCAutoRefCount) || in checkARCPropertyImpl() 1205 if (getLangOpts().ObjCAutoRefCount && in ActOnPropertyImplDecl() 1217 if (getLangOpts().getGC() != LangOptions::NonGC) { in ActOnPropertyImplDecl() 1218 assert(!getLangOpts().ObjCAutoRefCount); in ActOnPropertyImplDecl() 1230 if (!getLangOpts().ObjCWeak) { in ActOnPropertyImplDecl() [all …]
|
| H A D | SemaAvailability.cpp | 65 if (Context.getLangOpts().AppExt) { in getAttrForPlatform() 175 if (DeclLoc.isMacroID() && S.getLangOpts().CPlusPlus && in ShouldDiagnoseAvailabilityInContext() 190 if (S.getLangOpts().HLSL) { in ShouldDiagnoseAvailabilityInContext() 191 if (!S.getLangOpts().HLSLStrictAvailability || in ShouldDiagnoseAvailabilityInContext() 492 if (S.getLangOpts().HLSL) in DoEmitAvailabilityWarning() 514 Enclosing, S.getSourceManager(), S.getLangOpts()); in DoEmitAvailabilityWarning() 578 if (S.getLangOpts().ObjCAutoRefCount && in DoEmitAvailabilityWarning() 593 if (S.getLangOpts().ObjCWeakRuntime) in DoEmitAvailabilityWarning() 639 Replacement, SelectorSlotNames, S.getLangOpts()); in DoEmitAvailabilityWarning() 870 << (!SemaRef.getLangOpts().ObjC); in VisitObjCAvailabilityCheckExpr() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 160 Position::GetEndSpelling(SM, R, D->getLangOpts())}); in HandleTranslationUnit() 294 CI.getLangOpts().CurrentModule, SourceLocation(), /*AllowSearch*/false); in getCurrentModule() 414 new Lexer(MainFileID, *MainFileBuf, SourceMgr, CI.getLangOpts())); in ReadOriginalFileName() 432 if (Lexer::getSpelling(LineNoLoc, Buffer, SourceMgr, CI.getLangOpts()) in ReadOriginalFileName() 631 CI.getLangOpts().ModuleName + ".framework"); in loadModuleMapForModuleBuild() 642 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule() 654 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, SourceLocation(), in prepareToBuildModule() 658 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule() 664 if (Preprocessor::checkModuleIsAvailable(CI.getLangOpts(), CI.getTarget(), *M, in prepareToBuildModule() 704 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, in prepareToBuildModule() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | Parser.cpp | 50 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland)) in getSEHExceptKeyword() 96 DiagnosticIDs::getCXXCompatDiagId(getLangOpts(), CompatDiagId)); in DiagCompat() 210 if (Kind == ExtraSemiKind::OutsideFunction && getLangOpts().CPlusPlus) { in ConsumeExtraSemi() 211 if (getLangOpts().CPlusPlus11) in ConsumeExtraSemi() 236 if (II->isCPlusPlusKeyword(getLangOpts())) { in expectIdentifier() 491 if (getLangOpts().ObjC) { in Initialize() 529 if (getLangOpts().AltiVec || getLangOpts().ZVector) { in Initialize() 534 if (getLangOpts().AltiVec) in Initialize() 555 if(getLangOpts().Borland) { in Initialize() 577 if (getLangOpts().CPlusPlusModules) { in Initialize() [all …]
|
| H A D | ParseDecl.cpp | 121 Lexer::isAtStartOfMacroExpansion(StartLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID() 123 Lexer::isAtEndOfMacroExpansion(EndLoc, SM, PP.getLangOpts()); in FindLocsWithCommonFileID() 166 LateParse = getLangOpts().ExperimentalLateParseAttributes && in ParseSingleGNUAttribute() 264 Lexer::getSourceText(ExpansionRange, SM, PP.getLangOpts()); in ParseGNUAttributes() 433 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseAttributeArgumentList() 743 getTargetInfo(), getLangOpts())) { in ParseMicrosoftDeclSpecArgs() 880 assert(getLangOpts().DeclSpecKeyword && "__declspec keyword is not enabled"); in ParseMicrosoftDeclSpecs() 1092 if (!getLangOpts().ObjC) in ParseNullabilityTypeSpecifiers() 1807 const auto &LangOpts = getLangOpts(); in ProhibitCXX11Attributes() 1893 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration() [all …]
|
| H A D | ParseStmt.cpp | 69 if (getLangOpts().OpenCL) in ParseStatementOrDeclaration() 72 if (getLangOpts().HLSL) in ParseStatementOrDeclaration() 84 if (HasStdAttr && getLangOpts().C23 && in ParseStatementOrDeclaration() 195 if (getLangOpts().CPlusPlus && MaybeParseCXX11Attributes(CXX11Attrs, true)) in ParseStatementOrDeclarationAfterAttributes() 207 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || in ParseStatementOrDeclarationAfterAttributes() 603 if (getLangOpts().Borland) { in ParseSEHExceptBlock() 616 if (getLangOpts().Borland) { in ParseSEHExceptBlock() 672 if (!P.getLangOpts().CPlusPlus && !P.getLangOpts().MicrosoftExt && in DiagnoseLabelFollowedByDecl() 675 P.getLangOpts().C23 in DiagnoseLabelFollowedByDecl() 712 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement() [all …]
|
| H A D | ParseOpenMP.cpp | 63 unsigned Version = P.getLangOpts().OpenMP; in checkOpenMPDirectiveName() 161 unsigned OMPVersion = Actions.getLangOpts().OpenMP; in ParseOpenMPDeclareReductionDirective() 386 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseOpenMPReductionInitializerForDecl() 406 unsigned OMPVersion = Actions.getLangOpts().OpenMP; in ParseOpenMPDeclareMapperDirective() 685 unsigned OMPVersion = P.getActions().getLangOpts().OpenMP; in parseDeclareSimdClauses() 1335 unsigned OMPVersion = Actions.getLangOpts().OpenMP; in ParseOMPDeclareVariantClauses() 1380 << (getLangOpts().OpenMP < 51 ? 0 : 1); in ParseOMPDeclareVariantClauses() 1389 getLangOpts().OpenMP)) { in ParseOMPDeclareVariantClauses() 1391 << (getLangOpts().OpenMP < 51 ? 0 : 1); in ParseOMPDeclareVariantClauses() 1514 << (getLangOpts().OpenMP < 51 ? 0 : 1); in parseOMPDeclareVariantMatchClause() [all …]
|
| H A D | ParseExpr.cpp | 319 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 369 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && in ParseRHSOfBinaryExpression() 380 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseRHSOfBinaryExpression() 455 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseRHSOfBinaryExpression() 458 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional) in ParseRHSOfBinaryExpression() 471 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 500 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 752 assert(getLangOpts().CPlusPlus && "not possible to get here in C"); in ParseCastExpression() 816 if (getLangOpts().CPlusPlus) in ParseCastExpression() 819 Diag(Tok, getLangOpts().C23 ? diag::warn_c23_compat_keyword in ParseCastExpression() [all …]
|
| H A D | ParseDeclCXX.cpp | 59 if (getLangOpts().CPlusPlus11) in ParseNamespace() 60 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 in ParseNamespace() 147 } else if (getLangOpts().CPlusPlus20) { in ParseNamespace() 153 } else if (getLangOpts().CPlusPlus17) { in ParseNamespace() 197 Diag(InlineLoc, getLangOpts().CPlusPlus11 in ParseNamespace() 587 if (getLangOpts().CPlusPlus11 && Context == DeclaratorContext::Member && in ParseUsingDeclarator() 612 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 in ParseUsingDeclarator() 629 Diag(UELoc, getLangOpts().CPlusPlus20 in ParseUsingDeclaration() 824 getLangOpts().CPlusPlus17 in ParseUsingDeclaration() 848 Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 in ParseAliasDeclarationAfterDeclarator() [all …]
|
| H A D | ParseInit.cpp | 34 if (!PP.getLangOpts().CPlusPlus) in MayBeDesignationStart() 208 if (getLangOpts().ObjC && getLangOpts().CPlusPlus) { in ParseInitializerWithPotentialDesignator() 241 } else if (getLangOpts().ObjC && Tok.is(tok::identifier)) { in ParseInitializerWithPotentialDesignator() 311 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator() 359 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus11) { in ParseInitializerWithPotentialDesignator() 424 if (!getLangOpts().CPlusPlus) { in ParseBraceInitializer() 425 Diag(LBraceLoc, getLangOpts().C23 in ParseBraceInitializer() 455 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) || in ParseBraceInitializer()
|
| H A D | ParseTentative.cpp | 20 assert(getLangOpts().CPlusPlus && "Must be called for C++ only."); in isCXXDeclarationStatement() 207 if (getLangOpts().ObjC && Tok.is(tok::less)) in TryConsumeDeclarationSpecifier() 467 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) { in isCXXConditionDeclarationOrInitStatement() 564 (getLangOpts().CPlusPlus11 && in isCXXTypeId() 589 if (Tok.is(tok::kw_alignas) && !getLangOpts().C23) in isCXX11AttributeSpecifier() 599 if (!Disambiguate && !getLangOpts().ObjC) in isCXX11AttributeSpecifier() 611 if (!getLangOpts().ObjC) { in isCXX11AttributeSpecifier() 832 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { in TryParseOperatorId() 1054 if (!getLangOpts().ObjC && Next.is(tok::identifier)) in isCXXDeclarationSpecifier() 1082 if (getLangOpts().CPlusPlus17) { in isCXXDeclarationSpecifier() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 34 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) && in EmitDeclInit() 123 if (CGF.getContext().getLangOpts().OpenCL) { in EmitDeclDestroy() 211 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd && in EmitCXXGlobalVarDeclInit() 443 if (!getLangOpts().AppleKext && !TLS) { in CreateGlobalInitOrCleanUpFunction() 459 if (!getLangOpts().Exceptions) in CreateGlobalInitOrCleanUpFunction() 462 if (getLangOpts().Sanitize.has(SanitizerKind::Address) && in CreateGlobalInitOrCleanUpFunction() 466 if (getLangOpts().Sanitize.has(SanitizerKind::KernelAddress) && in CreateGlobalInitOrCleanUpFunction() 470 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) && in CreateGlobalInitOrCleanUpFunction() 474 if (getLangOpts().Sanitize.has(SanitizerKind::KernelHWAddress) && in CreateGlobalInitOrCleanUpFunction() 478 if (getLangOpts().Sanitize.has(SanitizerKind::MemtagStack) && in CreateGlobalInitOrCleanUpFunction() [all …]
|
| H A D | CGCUDANV.cpp | 228 RelocatableDeviceCode(CGM.getLangOpts().GPURelocatableDeviceCode), in CGNVCUDARuntime() 235 if (CGM.getLangOpts().OffloadViaLLVM) in CGNVCUDARuntime() 237 else if (CGM.getLangOpts().HIP) in CGNVCUDARuntime() 252 if (CGM.getLangOpts().HIP) { in getLaunchFn() 285 if (CGM.getLangOpts().CUDAIsDevice) in getDeviceSideName() 299 CGM.getLangOpts().GPURelocatableDeviceCode) { in getDeviceSideName() 319 (CGF.getLangOpts().HIP && CGF.getLangOpts().HIPUseNewLaunchAPI) || in emitDeviceStub() 320 (CGF.getLangOpts().OffloadViaLLVM)) in emitDeviceStub() 393 Address KernelArgs = CGF.getLangOpts().OffloadViaLLVM in emitDeviceStubBodyNew() 412 if (CGF.getLangOpts().GPUDefaultStream == in emitDeviceStubBodyNew() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A 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() 238 if (!PP.getLangOpts().CPlusPlus11) in AvoidConcat() 277 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); in AvoidConcat() 296 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); in AvoidConcat() 300 return PP.getLangOpts().CPlusPlus && FirstChar == '*'; in AvoidConcat() 302 return PP.getLangOpts().CPlusPlus20 && FirstChar == '>'; in AvoidConcat()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 548 const LangOptions &Opts = D->getASTContext().getLangOpts(); in useInlineVisibilityHidden() 616 (Context.getLangOpts().C23 && Var && Var->isConstexpr())) { in getLVForNamespaceScopeDecl() 637 if (Context.getLangOpts().CPlusPlus && Var->getType().isConstQualified() && in getLVForNamespaceScopeDecl() 724 ? Context.getLangOpts().getValueVisibilityMode() in getLVForNamespaceScopeDecl() 725 : Context.getLangOpts().getTypeVisibilityMode(); in getLVForNamespaceScopeDecl() 774 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Var) && in getLVForNamespaceScopeDecl() 810 if (Context.getLangOpts().OpenMP && in getLVForNamespaceScopeDecl() 811 Context.getLangOpts().OpenMPIsTargetDevice && in getLVForNamespaceScopeDecl() 824 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Function)) { in getLVForNamespaceScopeDecl() 998 if (Context.getLangOpts().OpenMP && in getLVForClassMember() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Interp.cpp | 149 if (S.getLangOpts().CPlusPlus11) { in diagnoseUnknownDecl() 179 if (!S.getLangOpts().CPlusPlus) { in diagnoseNonConstVariable() 203 S.getLangOpts().CPlusPlus11 ? diag::note_constexpr_ltor_non_constexpr in diagnoseNonConstVariable() 393 if (S.checkingPotentialConstantExpression() && S.getLangOpts().CPlusPlus && in CheckExtern() 455 VD && VD->isConstexpr() && S.getLangOpts().C23) in CheckConstant() 469 if (S.getLangOpts().CPlusPlus) { in CheckConstant() 471 S.getLangOpts().CPlusPlus11 in CheckConstant() 485 !S.getLangOpts().CPlusPlus11) { in CheckConstant() 519 if (S.getLangOpts().CPlusPlus) { in CheckRange() 594 if (S.getLangOpts().CPlusPlus14 && in CheckMutable() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalyzerHelpFlags.cpp | 28 CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printCheckerHelp() 39 CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printEnabledCheckerList() 48 CI.getAnalyzerOpts(), CI.getLangOpts(), CI.getDiagnostics(), in printCheckerConfigList()
|