| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionParser.cpp | 380 m_compiler->getLangOpts().ObjC = true; in ClangExpressionParser() 402 m_compiler->getLangOpts().ObjC = in ClangExpressionParser() 408 m_compiler->getLangOpts().ObjC = true; in ClangExpressionParser() 415 m_compiler->getLangOpts().Bool = true; in ClangExpressionParser() 416 m_compiler->getLangOpts().WChar = true; in ClangExpressionParser() 417 m_compiler->getLangOpts().Blocks = true; in ClangExpressionParser() 418 m_compiler->getLangOpts().DebuggerSupport = in ClangExpressionParser() 423 m_compiler->getLangOpts().CharIsSigned = in ClangExpressionParser() 448 m_compiler->getLangOpts().AccessControl = in ClangExpressionParser() 450 m_compiler->getLangOpts().DollarIdents = in ClangExpressionParser() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A 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() 343 if (!origCI.getLangOpts()->ObjC) in applyTransforms() 377 origCI.getLangOpts()->ObjCAutoRefCount = true; in applyTransforms() 578 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOpts()); in applyTransform() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | Parser.cpp | 45 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland)) in getSEHExceptKeyword() 446 if (getLangOpts().ObjC) { in Initialize() 470 if (getLangOpts().AltiVec || getLangOpts().ZVector) { in Initialize() 474 if (getLangOpts().AltiVec) in Initialize() 494 if(getLangOpts().Borland) { in Initialize() 538 !getLangOpts().CPlusPlus) in ParseFirstTopLevelDecl() 750 if (!getLangOpts().ObjC) { in ParseExternalDeclaration() 879 (getLangOpts().CPlusPlus && in isDeclarationAfterDeclarator() 967 if (getLangOpts().OpenCL) in ParseDeclOrFunctionDefInternal() 1758 if (getLangOpts().CPlusPlus) in TryAnnotateTypeOrScopeToken() [all …]
|
| H A D | ParseDecl.cpp | 756 if (!getLangOpts().ObjC) in ParseNullabilityTypeSpecifiers() 2502 if (getLangOpts().CPlusPlus && in ParseImplicitInt() 2732 if (getLangOpts().CPlusPlus11) in ParseAlignArgument() 3500 if (!getLangOpts().C11) in ParseDeclarationSpecifiers() 3507 if (!getLangOpts().C11) in ParseDeclarationSpecifiers() 3678 if (!getLangOpts().OpenCL || (getLangOpts().OpenCLVersion < 200)) { in ParseDeclarationSpecifiers() 4571 if (!getLangOpts().C99 && !getLangOpts().CPlusPlus11) in ParseEnumBody() 4757 return getLangOpts().ObjC; in isTypeSpecifierQualifier() 4804 return getLangOpts().OpenCL && (getLangOpts().OpenCLVersion >= 200); in isDeclarationSpecifier() 4938 return getLangOpts().ObjC; in isDeclarationSpecifier() [all …]
|
| H A D | ParseExpr.cpp | 323 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && in ParseRHSOfBinaryExpression() 515 if (!getLangOpts().CPlusPlus) in ParseRHSOfBinaryExpression() 858 if (getLangOpts().CPlusPlus) { in ParseCastExpression() 1006 if (getLangOpts().ObjC && in ParseCastExpression() 1177 if (!getLangOpts().C11) in ParseCastExpression() 1273 if (!getLangOpts().CPlusPlus) { in ParseCastExpression() 1433 if (getLangOpts().ObjC) { in ParseCastExpression() 1447 if (getLangOpts().ObjC) { in ParseCastExpression() 1463 if (getLangOpts().OpenCL) in ParseCastExpression() 2480 if (getLangOpts().OpenCL) in ParseParenExpression() [all …]
|
| H A D | ParseStmt.cpp | 210 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || in ParseStatementOrDeclarationAfterAttributes() 504 if (getLangOpts().Borland) { in ParseSEHExceptBlock() 517 if (getLangOpts().Borland) { in ParseSEHExceptBlock() 1168 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement() 1308 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement() 1394 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement() 1459 if (getLangOpts().C99) in ParseDoStatement() 1474 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement() 1575 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || in ParseForStatement() 1576 getLangOpts().ObjC; in ParseForStatement() [all …]
|
| H A D | ParseInit.cpp | 35 if (!PP.getLangOpts().CPlusPlus11) in MayBeDesignationStart() 212 if (getLangOpts().ObjC && getLangOpts().CPlusPlus) { in ParseInitializerWithPotentialDesignator() 245 } else if (getLangOpts().ObjC && Tok.is(tok::identifier)) { in ParseInitializerWithPotentialDesignator() 315 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && in ParseInitializerWithPotentialDesignator() 401 if (!getLangOpts().CPlusPlus) in ParseBraceInitializer() 415 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) || in ParseBraceInitializer()
|
| H A D | ParseDeclCXX.cpp | 609 if (getLangOpts().CPlusPlus11 && in ParseUsingDeclarator() 882 << (getLangOpts().CPlusPlus17 in ParseStaticAssertDeclaration() 957 getLangOpts().CPlusPlus14 in ParseDecltypeSpecifier() 1323 if (!getLangOpts().CPlusPlus) in isValidAfterTypeSpecifier() 1328 return getLangOpts().CPlusPlus; in isValidAfterTypeSpecifier() 1525 if (getLangOpts().CPlusPlus) { in ParseClassSpecifier() 2181 if (getLangOpts().GNUKeywords) in isCXX11VirtSpecifier() 2183 if (getLangOpts().MicrosoftExt) in isCXX11VirtSpecifier() 2243 getLangOpts().CPlusPlus11 in ParseOptionalCXX11VirtSpecifierSeq() 3514 if (getLangOpts().CPlusPlus11) in ParseMemInitializer() [all …]
|
| H A D | ParseTentative.cpp | 226 if (getLangOpts().ObjC && Tok.is(tok::less)) in TryConsumeDeclarationSpecifier() 593 (getLangOpts().CPlusPlus11 && in isCXXTypeId() 652 if (!Disambiguate && !getLangOpts().ObjC) in isCXX11AttributeSpecifier() 661 if (!getLangOpts().ObjC) { in isCXX11AttributeSpecifier() 1289 if (!getLangOpts().ObjC && Next.is(tok::identifier)) in isCXXDeclarationSpecifier() 1308 if (getLangOpts().CPlusPlus17) { in isCXXDeclarationSpecifier() 1509 if (getLangOpts().CPlusPlus17) { in isCXXDeclarationSpecifier() 1562 if (getLangOpts().ObjC && NextToken().is(tok::less)) { in isCXXDeclarationSpecifier() 1577 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) in isCXXDeclarationSpecifier() 1638 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) in isCXXDeclarationSpecifier() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 145 CI.getLangOpts().CurrentModule, /*AllowSearch*/false); in getCurrentModule() 449 if (CI.getLangOpts().CurrentModule.empty()) { in prepareToBuildModule() 461 Module *M = HS.lookupModule(CI.getLangOpts().CurrentModule, in prepareToBuildModule() 465 << CI.getLangOpts().CurrentModule << ModuleMapFilename; in prepareToBuildModule() 521 CI.getLangOpts(), M->IsExternC); in getInputBufferForModule() 523 CI.getLangOpts(), FileMgr, CI.getDiagnostics(), in getInputBufferForModule() 575 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile() 746 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), in BeginSourceFile() 840 } else if (CI.getLangOpts().Modules || in BeginSourceFile() 871 if (CI.getLangOpts().Modules || !CI.hasASTContext() || in BeginSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 158 CI.getLangOpts().CompilingPCH = true; in BeginSourceFileAction() 188 if (!CI.getLangOpts().Modules) { in BeginSourceFileAction() 208 HS.getCachedModuleFileName(CI.getLangOpts().CurrentModule, in CreateOutputFile() 223 if (!CI.getLangOpts().ModulesTS) { in BeginSourceFileAction() 228 CI.getLangOpts().setCompilingModule(LangOptions::CMK_ModuleInterface); in BeginSourceFileAction() 241 if (!CI.getLangOpts().Modules && !CI.getLangOpts().ModulesTS) { in PrepareToExecuteAction() 281 CI.getLangOpts().setCompilingModule(LangOptions::CMK_HeaderModule); in BeginSourceFileAction() 298 HS.getModuleMap().createHeaderModule(CI.getLangOpts().CurrentModule, Headers); in BeginSourceFileAction() 445 NamedTemplate->getNameForDiagnostic(OS, TheSema.getLangOpts(), true); in getTemplightEntry() 729 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in ExecuteAction() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | TokenConcatenation.cpp | 49 const LangOptions &LangOpts = PP.getLangOpts(); in IsIdentifierStringPrefix() 90 if (PP.getLangOpts().CPlusPlus11) { in TokenConcatenation() 103 if (PP.getLangOpts().CPlusPlus17) in TokenConcatenation() 107 if (PP.getLangOpts().CPlusPlus2a) in TokenConcatenation() 227 if (!PP.getLangOpts().CPlusPlus11) in AvoidConcat() 266 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); in AvoidConcat() 285 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); in AvoidConcat() 289 return PP.getLangOpts().CPlusPlus && FirstChar == '*'; in AvoidConcat() 291 return PP.getLangOpts().CPlusPlus2a && FirstChar == '>'; in AvoidConcat()
|
| H A D | LiteralSupport.cpp | 575 if (PP.getLangOpts().FixedPoint) { in NumericLiteralParser() 594 if (!PP.getLangOpts().FixedPoint) break; in NumericLiteralParser() 609 if (!(PP.getLangOpts().Half || PP.getLangOpts().FixedPoint)) break; in NumericLiteralParser() 659 if (PP.getLangOpts().MicrosoftExt) { in NumericLiteralParser() 873 << PP.getLangOpts().CPlusPlus << 1; in ParseNumberStartingWithZero() 898 if (!PP.getLangOpts().HexFloats) in ParseNumberStartingWithZero() 902 else if (PP.getLangOpts().CPlusPlus17) in ParseNumberStartingWithZero() 907 << PP.getLangOpts().CPlusPlus << 0; in ParseNumberStartingWithZero() 917 PP.getLangOpts().CPlusPlus14 in ParseNumberStartingWithZero() 919 : PP.getLangOpts().CPlusPlus in ParseNumberStartingWithZero() [all …]
|
| H A D | TokenLexer.cpp | 144 if (!HasPasteOperator && !PP.getLangOpts().MSVCCompat) in MaybeRemoveCommaBeforeVaArgs() 152 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode in MaybeRemoveCommaBeforeVaArgs() 449 if (PP.getLangOpts().MSVCCompat && NumToks == 1 && in ExpandFunctionArguments() 619 (PP.getLangOpts().MSVCCompat && in Lex() 698 (PP.getLangOpts().MSVCCompat && in pasteTokens() 706 if (PP.getLangOpts().MicrosoftExt && (CurIdx >= 2) && in pasteTokens() 794 PP.getLangOpts(), ScratchBufStart, in pasteTokens() 819 if (PP.getLangOpts().MicrosoftExt && LHSTok.is(tok::slash) && in pasteTokens() 826 if (!PP.getLangOpts().AsmPreprocessor) { in pasteTokens() 830 PP.Diag(Loc, PP.getLangOpts().MicrosoftExt ? diag::ext_pp_bad_paste_ms in pasteTokens()
|
| H A D | PPDirectives.cpp | 137 const LangOptions &Lang = PP.getLangOpts(); in shouldWarnOnMacroDef() 149 const LangOptions &Lang = PP.getLangOpts(); in shouldWarnOnMacroUndef() 610 if (getLangOpts().ObjC) in getModuleHeaderToIncludeForDiagnostics() 908 if (getLangOpts().AsmPreprocessor) in HandleDirective() 981 if (getLangOpts().Modules) in HandleDirective() 986 if (getLangOpts().Modules) in HandleDirective() 997 if (getLangOpts().AsmPreprocessor) { in HandleDirective() 1904 if (getLangOpts().ObjC) in HandleIncludeDirective() 2064 if (getLangOpts().CompilingPCH && in HandleIncludeDirective() 2464 if (getLangOpts().TraditionalCPP) { in ReadOptionalMacroParameterListAndBody() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 195 if (getLangOpts().OpenMP && !getLangOpts().OpenMPSimd && in EmitCXXGlobalVarDeclInit() 330 if (!getLangOpts().AppleKext && !TLS) { in CreateGlobalInitOrDestructFunction() 340 if (!getLangOpts().Exceptions) in CreateGlobalInitOrDestructFunction() 343 if (getLangOpts().Sanitize.has(SanitizerKind::Address) && in CreateGlobalInitOrDestructFunction() 351 if (getLangOpts().Sanitize.has(SanitizerKind::HWAddress) && in CreateGlobalInitOrDestructFunction() 359 if (getLangOpts().Sanitize.has(SanitizerKind::Thread) && in CreateGlobalInitOrDestructFunction() 363 if (getLangOpts().Sanitize.has(SanitizerKind::Memory) && in CreateGlobalInitOrDestructFunction() 371 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack) && in CreateGlobalInitOrDestructFunction() 426 if (getLangOpts().CUDA && getLangOpts().CUDAIsDevice && in EmitCXXGlobalVarDeclInitFunc() 431 if (getLangOpts().OpenMP && in EmitCXXGlobalVarDeclInitFunc() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 28 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PushForceCUDAHostDevice() 33 assert(getLangOpts().CUDA && "Should only be called during CUDA compilation"); in PopForceCUDAHostDevice() 47 << (getLangOpts().HIP ? "hipConfigureCall" : "cudaConfigureCall")); in ActOnCUDAExecConfigExpr() 193 if ((getLangOpts().CUDAIsDevice && CalleeTarget == CFT_Device) || in IdentifyCUDAPreference() 194 (!getLangOpts().CUDAIsDevice && in IdentifyCUDAPreference() 553 if (!getLangOpts().CUDAHostDeviceConstexpr || !NewD->isConstexpr() || in maybeAddCUDAHostDeviceAttrs() 673 if (S.getLangOpts().CUDAIsDevice && T == Sema::CFT_Host) in IsKnownEmitted() 675 if (!S.getLangOpts().CUDAIsDevice && in IsKnownEmitted() 708 if (getLangOpts().CUDAIsDevice) { in CUDADiagIfDeviceCode() 734 if (getLangOpts().CUDAIsDevice) in CUDADiagIfHostCode() [all …]
|
| H A D | SemaDecl.cpp | 2032 if (!S.getLangOpts().Modules && !S.getLangOpts().ModulesLocalVisibility) in filterNonConflictingPreviousTypedefDecls() 2258 if (getLangOpts().Modules || getLangOpts().C11) in MergeTypedefNameDecl() 4630 if (Record->isUnion() && !getLangOpts().CPlusPlus && !getLangOpts().C11) in BuildAnonymousStructOrUnion() 6640 if (getLangOpts().CUDA || getLangOpts().OpenMPIsDevice) { in ActOnVariableDeclarator() 6702 if (getLangOpts().CUDA || getLangOpts().OpenMPIsDevice) { in ActOnVariableDeclarator() 6704 ((getLangOpts().CUDA && DeclAttrsMatchCUDAMode(getLangOpts(), NewVD)) || in ActOnVariableDeclarator() 10321 if (getLangOpts().GNUMode && !getLangOpts().CPlusPlus) { in CheckMain() 13632 if (getLangOpts().CXXExceptions && getLangOpts().ExternCNoUnwind && in AddKnownFunctionAttributes() 14746 if (IsFixed && (getLangOpts().CPlusPlus11 || getLangOpts().ObjC) && in ActOnTag() 16387 if (!(getLangOpts().Modules || getLangOpts().ModulesLocalVisibility) || in shouldSkipAnonEnumBody() [all …]
|
| H A D | SemaExceptionSpec.cpp | 153 if (getLangOpts().MicrosoftExt) { in CheckSpecifiedExceptionType() 171 if (getLangOpts().CPlusPlus17) in CheckDistantExceptionSpec() 276 if (!getLangOpts().CXXExceptions && !getLangOpts().CPlusPlus17) in CheckEquivalentExceptionSpec() 286 if (getLangOpts().MicrosoftExt) { in CheckEquivalentExceptionSpec() 311 if (getLangOpts().CPlusPlus11 && getLangOpts().CXXExceptions && in CheckEquivalentExceptionSpec() 462 if (!getLangOpts().CXXExceptions) in CheckEquivalentExceptionSpec() 466 if (getLangOpts().MicrosoftExt) in CheckEquivalentExceptionSpec() 473 if (getLangOpts().MicrosoftExt) in CheckEquivalentExceptionSpec() 641 if (!getLangOpts().CXXExceptions) in CheckEquivalentExceptionSpec() 895 if (getLangOpts().CPlusPlus17) { in CheckExceptionSpecCompatibility() [all …]
|
| H A D | SemaExpr.cpp | 470 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion() 1557 if (getLangOpts().Char8) in ActOnStringLiteral() 1572 if (getLangOpts().CPlusPlus && !getLangOpts().CPlusPlus2a && in ActOnStringLiteral() 1598 if (getLangOpts().CPlusPlus || getLangOpts().ConstStrings) in ActOnStringLiteral() 3540 else if (!getLangOpts().C99 && !getLangOpts().CPlusPlus11) { in ActOnNumericConstant() 6374 if ((getLangOpts().AltiVec || getLangOpts().ZVector || getLangOpts().OpenCL) in ActOnCastExpr() 10782 if (getLangOpts().OpenCL && getLangOpts().OpenCLVersion < 120 && in CheckVectorLogicalOperands() 11446 } else if (getLangOpts().ObjCAutoRefCount || getLangOpts().ObjCWeak) { in CheckAssignmentOperands() 11511 getLangOpts().C99 || getLangOpts().CPlusPlus in DiagnoseCommaOperator() 11800 if (getLangOpts().C99) { in CheckAddressOfOperand() [all …]
|
| H A D | SemaObjCProperty.cpp | 330 Context.getLangOpts(), in LocPropertyAttribute() 734 S.getLangOpts().ObjCAutoRefCount) || in checkARCPropertyImpl() 1193 if (getLangOpts().ObjCAutoRefCount && in ActOnPropertyImplDecl() 1207 assert(!getLangOpts().ObjCAutoRefCount); in ActOnPropertyImplDecl() 1219 if (!getLangOpts().ObjCWeak) { in ActOnPropertyImplDecl() 1223 getLangOpts().ObjCWeakRuntime in ActOnPropertyImplDecl() 2223 if (getLangOpts().ObjCAutoRefCount) in DiagnoseOwningPropertyGetterSynthesis() 2419 if (getLangOpts().ObjCAutoRefCount) in ProcessPropertyDecl() 2486 if (getLangOpts().ObjCAutoRefCount) in ProcessPropertyDecl() 2585 if (getLangOpts().ObjCAutoRefCount && in CheckObjCPropertyAttributes() [all …]
|
| H A D | SemaCXXScopeSpec.cpp | 181 assert(getLangOpts().CPlusPlus && "Only callable in C++"); in getCurrentInstantiationOf() 338 if (Context.getLangOpts().CPlusPlus11) in isAcceptableNestedNameSpecifier() 346 if (Context.getLangOpts().CPlusPlus11) in isAcceptableNestedNameSpecifier() 595 << IdInfo.Identifier << getLangOpts().CPlusPlus in BuildCXXNestedNameSpecifier() 605 << IdInfo.Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 625 Name.getAsString() == Corrected.getAsString(getLangOpts()); in BuildCXXNestedNameSpecifier() 657 !getLangOpts().CPlusPlus11) { in BuildCXXNestedNameSpecifier() 793 if (getLangOpts().MSVCCompat) { in BuildCXXNestedNameSpecifier() 811 << Context.getTypeDeclType(TD) << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 814 << IdInfo.Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() [all …]
|
| H A D | Sema.cpp | 57 Policy.Bool = Context.getLangOpts().Bool; in getPrintingPolicy() 120 FPFeatures(pp.getLangOpts()), LangOpts(pp.getLangOpts()), PP(pp), in Sema() 155 if (getLangOpts().ObjC) 158 if (getLangOpts().CPlusPlus) 217 if (getLangOpts().ObjC) { in Initialize() 247 if (getLangOpts().MSVCCompat) { in Initialize() 248 if (getLangOpts().CPlusPlus && in Initialize() 258 if (getLangOpts().OpenCL) { in Initialize() 264 if (getLangOpts().OpenCLCPlusPlus || getLangOpts().OpenCLVersion >= 200) { in Initialize() 452 if (!getLangOpts().CPlusPlus11) in diagnoseZeroToNullptrConversion() [all …]
|
| H A D | SemaLookup.cpp | 696 if ((S.getLangOpts().CPlusPlus || S.getLangOpts().OpenCL) && in LookupBuiltin() 741 if (getLangOpts().CPlusPlus11) { in ForceDeclarationOfImplicitMembers() 836 if (S.getLangOpts().CPlusPlus) in LookupDirect() 1740 if (!getLangOpts().CPlusPlus) { in LookupName() 3774 if (getLangOpts().CPlusPlus) { in LookupVisibleDecls() 4430 if (SemaRef.getLangOpts().C99) in AddKeywordsToConsumer() 4432 if (SemaRef.getLangOpts().Bool || SemaRef.getLangOpts().CPlusPlus) in AddKeywordsToConsumer() 4471 if (SemaRef.getLangOpts().Bool || SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer() 4494 if (SemaRef.getLangOpts().C11) { in AddKeywordsToConsumer() 4597 if ((getLangOpts().AltiVec || getLangOpts().ZVector) && Typo->isStr("vector")) in makeTypoCorrectionConsumer() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 106 CI.getLangOpts(), FixItOpts.get())); in BeginSourceFileAction() 132 CI.getLangOpts(), FixItOpts.get()); in BeginInvocation() 163 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) in CreateASTConsumer() 165 InFile, std::move(OS), CI.getDiagnostics(), CI.getLangOpts(), in CreateASTConsumer() 169 CI.getLangOpts(), in CreateASTConsumer()
|