Lines Matching refs:getLangOpts
296 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure()
683 if (S.getLangOpts().CPlusPlus && NameKind == Sema::LookupOrdinaryName) { in LookupBuiltin()
697 if ((S.getLangOpts().CPlusPlus || S.getLangOpts().OpenCL) && in LookupBuiltin()
742 if (getLangOpts().CPlusPlus11) { in ForceDeclarationOfImplicitMembers()
792 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName()
814 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName()
832 if (S.getLangOpts().CPlusPlus) in LookupDirect()
1036 assert(getLangOpts().CPlusPlus && "Can perform only C++ lookup"); in CppLookupName()
1341 if (!getLangOpts().ModulesLocalVisibility) { in getOwningModule()
1525 if (SemaRef.getLangOpts().ModulesLocalVisibility) { in isVisibleSlow()
1555 !SemaRef.getLangOpts().ModulesLocalVisibility) { in isVisibleSlow()
1702 if (!getLangOpts().CPlusPlus) { in LookupName()
2883 if (getLangOpts().CPlusPlus11 && RD->needsImplicitMoveConstructor()) in LookupSpecialMember()
2889 if (getLangOpts().CPlusPlus11 && RD->needsImplicitMoveAssignment()) in LookupSpecialMember()
3050 if (getLangOpts().CPlusPlus11 && Class->needsImplicitMoveConstructor()) in LookupConstructors()
3448 !Result.getSema().getLangOpts().CPlusPlus) { in LookupVisibleDecls()
3685 if (getLangOpts().CPlusPlus) { in LookupVisibleDecls()
3935 std::string CorrectionStr = Correction.getAsString(SemaRef.getLangOpts()); in addCorrection()
3943 if (CorrectionStr < RI->getAsString(SemaRef.getLangOpts())) in addCorrection()
4106 std::string NewQualified = TC.getAsString(SemaRef.getLangOpts()); in performQualifiedLookups()
4345 if (SemaRef.getLangOpts().C99) in AddKeywordsToConsumer()
4347 if (SemaRef.getLangOpts().Bool || SemaRef.getLangOpts().CPlusPlus) in AddKeywordsToConsumer()
4349 else if (SemaRef.getLangOpts().C99) in AddKeywordsToConsumer()
4352 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4357 if (SemaRef.getLangOpts().CPlusPlus11) { in AddKeywordsToConsumer()
4366 if (SemaRef.getLangOpts().GNUMode) in AddKeywordsToConsumer()
4377 if (CCC.WantCXXNamedCasts && SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4386 if (SemaRef.getLangOpts().Bool || SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4391 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4403 if (SemaRef.getLangOpts().CPlusPlus11) { in AddKeywordsToConsumer()
4409 if (SemaRef.getLangOpts().C11) { in AddKeywordsToConsumer()
4425 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4441 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4457 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4460 if (SemaRef.getLangOpts().CPlusPlus11) in AddKeywordsToConsumer()
4473 if (Diags.hasFatalErrorOccurred() || !getLangOpts().SpellChecking || in makeTypoCorrectionConsumer()
4480 if (getLangOpts().MSVCCompat && CurContext->isDependentContext() && in makeTypoCorrectionConsumer()
4512 if ((getLangOpts().AltiVec || getLangOpts().ZVector) && Typo->isStr("vector")) in makeTypoCorrectionConsumer()
4525 if (ErrorRecovery && getLangOpts().Modules && in makeTypoCorrectionConsumer()
4526 getLangOpts().ModulesSearchAll) { in makeTypoCorrectionConsumer()
4561 = getLangOpts().CPlusPlus && in makeTypoCorrectionConsumer()
4872 WantFunctionLikeCasts = SemaRef.getLangOpts().CPlusPlus && NumArgs == 1; in FunctionCallFilterCCC()
5061 std::string CorrectedStr = Correction.getAsString(getLangOpts()); in diagnoseTypo()
5062 std::string CorrectedQuotedStr = Correction.getQuoted(getLangOpts()); in diagnoseTypo()