Lines Matching refs:getLangOpts

292   IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus,  in configure()
682 if (S.getLangOpts().CPlusPlus && NameKind == Sema::LookupOrdinaryName) { in LookupBuiltin()
696 if ((S.getLangOpts().CPlusPlus || S.getLangOpts().OpenCL) && in LookupBuiltin()
741 if (getLangOpts().CPlusPlus11) { in ForceDeclarationOfImplicitMembers()
792 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName()
814 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName()
836 if (S.getLangOpts().CPlusPlus) in LookupDirect()
1050 assert(getLangOpts().CPlusPlus && "Can perform only C++ lookup"); in CppLookupName()
1411 if (isInCurrentModule(Merged, getLangOpts())) in hasMergedDefinitionInCurrentModule()
1544 (isa<FunctionDecl>(DC) && !SemaRef.getLangOpts().CPlusPlus)) in isVisibleSlow()
1563 !SemaRef.getLangOpts().ModulesLocalVisibility) { in isVisibleSlow()
1579 if (isInCurrentModule(M, getLangOpts())) in isModuleVisible()
1740 if (!getLangOpts().CPlusPlus) { in LookupName()
2923 if (getLangOpts().CPlusPlus11 && RD->needsImplicitMoveConstructor()) in LookupSpecialMember()
2929 if (getLangOpts().CPlusPlus11 && RD->needsImplicitMoveAssignment()) in LookupSpecialMember()
3090 if (getLangOpts().CPlusPlus11 && Class->needsImplicitMoveConstructor()) in LookupConstructors()
3502 !Result.getSema().getLangOpts().CPlusPlus) { in LookupVisibleDecls()
3774 if (getLangOpts().CPlusPlus) { in LookupVisibleDecls()
4020 std::string CorrectionStr = Correction.getAsString(SemaRef.getLangOpts()); in addCorrection()
4028 if (CorrectionStr < RI->getAsString(SemaRef.getLangOpts())) in addCorrection()
4191 std::string NewQualified = TC.getAsString(SemaRef.getLangOpts()); in performQualifiedLookups()
4430 if (SemaRef.getLangOpts().C99) in AddKeywordsToConsumer()
4432 if (SemaRef.getLangOpts().Bool || SemaRef.getLangOpts().CPlusPlus) in AddKeywordsToConsumer()
4434 else if (SemaRef.getLangOpts().C99) in AddKeywordsToConsumer()
4437 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4442 if (SemaRef.getLangOpts().CPlusPlus11) { in AddKeywordsToConsumer()
4451 if (SemaRef.getLangOpts().GNUKeywords) in AddKeywordsToConsumer()
4462 if (CCC.WantCXXNamedCasts && SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4471 if (SemaRef.getLangOpts().Bool || SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4476 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4488 if (SemaRef.getLangOpts().CPlusPlus11) { in AddKeywordsToConsumer()
4494 if (SemaRef.getLangOpts().C11) { in AddKeywordsToConsumer()
4510 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4527 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4543 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4546 if (SemaRef.getLangOpts().CPlusPlus11) in AddKeywordsToConsumer()
4559 if (Diags.hasFatalErrorOccurred() || !getLangOpts().SpellChecking || in makeTypoCorrectionConsumer()
4566 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
4597 if ((getLangOpts().AltiVec || getLangOpts().ZVector) && Typo->isStr("vector")) in makeTypoCorrectionConsumer()
4610 if (ErrorRecovery && getLangOpts().Modules && in makeTypoCorrectionConsumer()
4611 getLangOpts().ModulesSearchAll) { in makeTypoCorrectionConsumer()
4646 = getLangOpts().CPlusPlus && in makeTypoCorrectionConsumer()
4957 WantFunctionLikeCasts = SemaRef.getLangOpts().CPlusPlus && NumArgs == 1; in FunctionCallFilterCCC()
5154 std::string CorrectedStr = Correction.getAsString(getLangOpts()); in diagnoseTypo()
5155 std::string CorrectedQuotedStr = Correction.getQuoted(getLangOpts()); in diagnoseTypo()