Lines Matching refs:getLangOpts

555     if (AllowNestedNameSpecifiers && SemaRef.getLangOpts().CPlusPlus &&   in isInterestingDecl()
575 if (!SemaRef.getLangOpts().CPlusPlus) in CheckHiddenResult()
792 if (!SemaRef.getLangOpts().CPlusPlus || !R.Declaration || in MaybeAddConstructorResults()
1059 if (SemaRef.getLangOpts().CPlusPlus) in IsOrdinaryName()
1061 else if (SemaRef.getLangOpts().ObjC1) { in IsOrdinaryName()
1077 if (SemaRef.getLangOpts().CPlusPlus) in IsOrdinaryNonTypeName()
1079 else if (SemaRef.getLangOpts().ObjC1) { in IsOrdinaryNonTypeName()
1104 if (SemaRef.getLangOpts().CPlusPlus) in IsOrdinaryNonValueName()
1204 if (!C.getLangOpts().CPlusPlus) in isObjCReceiverType()
1234 if ((SemaRef.getLangOpts().CPlusPlus && !IsOrdinaryName(ND)) || in IsObjCCollection()
1235 (!SemaRef.getLangOpts().CPlusPlus && !IsOrdinaryNonTypeName(ND))) in IsObjCCollection()
1245 (SemaRef.getLangOpts().CPlusPlus && T->isRecordType()); in IsObjCCollection()
1541 if (SemaRef.getLangOpts().CPlusPlus) { in AddOrdinaryNameResults()
1586 if (SemaRef.getLangOpts().ObjC1) in AddOrdinaryNameResults()
1593 if (SemaRef.getLangOpts().CPlusPlus) { in AddOrdinaryNameResults()
1640 if (SemaRef.getLangOpts().CPlusPlus && Results.includeCodePatterns()) { in AddOrdinaryNameResults()
1649 AddStorageSpecifiers(CCC, SemaRef.getLangOpts(), Results); in AddOrdinaryNameResults()
1650 AddFunctionSpecifiers(CCC, SemaRef.getLangOpts(), Results); in AddOrdinaryNameResults()
1654 AddObjCInterfaceResults(SemaRef.getLangOpts(), Results, true); in AddOrdinaryNameResults()
1655 AddStorageSpecifiers(CCC, SemaRef.getLangOpts(), Results); in AddOrdinaryNameResults()
1656 AddFunctionSpecifiers(CCC, SemaRef.getLangOpts(), Results); in AddOrdinaryNameResults()
1660 AddObjCImplementationResults(SemaRef.getLangOpts(), Results, true); in AddOrdinaryNameResults()
1661 AddStorageSpecifiers(CCC, SemaRef.getLangOpts(), Results); in AddOrdinaryNameResults()
1662 AddFunctionSpecifiers(CCC, SemaRef.getLangOpts(), Results); in AddOrdinaryNameResults()
1666 AddObjCVisibilityResults(SemaRef.getLangOpts(), Results, true); in AddOrdinaryNameResults()
1673 if (SemaRef.getLangOpts().CPlusPlus && Results.includeCodePatterns() && in AddOrdinaryNameResults()
1674 SemaRef.getLangOpts().CXXExceptions) { in AddOrdinaryNameResults()
1690 if (SemaRef.getLangOpts().ObjC1) in AddOrdinaryNameResults()
1697 if (SemaRef.getLangOpts().CPlusPlus) in AddOrdinaryNameResults()
1711 if (SemaRef.getLangOpts().CPlusPlus) in AddOrdinaryNameResults()
1741 if (SemaRef.getLangOpts().CPlusPlus) in AddOrdinaryNameResults()
1767 if (SemaRef.getLangOpts().CPlusPlus || SemaRef.getLangOpts().C99) in AddOrdinaryNameResults()
1832 AddStorageSpecifiers(CCC, SemaRef.getLangOpts(), Results); in AddOrdinaryNameResults()
1836 if (SemaRef.getLangOpts().ObjCAutoRefCount && in AddOrdinaryNameResults()
1865 if (SemaRef.getLangOpts().CPlusPlus) { in AddOrdinaryNameResults()
1879 if (SemaRef.getLangOpts().RTTI) { in AddOrdinaryNameResults()
1921 if (SemaRef.getLangOpts().RTTI) { in AddOrdinaryNameResults()
1969 if (SemaRef.getLangOpts().CXXExceptions) { in AddOrdinaryNameResults()
1980 if (SemaRef.getLangOpts().CPlusPlus11) { in AddOrdinaryNameResults()
2012 if (SemaRef.getLangOpts().ObjC1) { in AddOrdinaryNameResults()
2032 if (SemaRef.getLangOpts().C11) { in AddOrdinaryNameResults()
2060 if (WantTypesInContext(CCC, SemaRef.getLangOpts())) in AddOrdinaryNameResults()
2061 AddTypeSpecifierResults(SemaRef.getLangOpts(), Results); in AddOrdinaryNameResults()
2063 if (SemaRef.getLangOpts().CPlusPlus && CCC != Sema::PCC_Type) in AddOrdinaryNameResults()
2121 if (PP.getLangOpts().ObjC1 && PP.isMacroDefined("nil")) in MaybeAddSentinel()
3119 PP.getLangOpts(), in AddMacroResults()
3180 if (S.getLangOpts().CPlusPlus || S.getLangOpts().C99 || in mapCodeCompletionContext()
3181 S.getLangOpts().ObjC1) in mapCodeCompletionContext()
3304 } else if (getLangOpts().Modules) { in CodeCompleteModuleImport()
3359 if (WantTypesInContext(CompletionContext, getLangOpts())) in CodeCompleteOrdinaryName()
3364 if (getLangOpts().CPlusPlus) in CodeCompleteOrdinaryName()
3393 AddPrettyFunctionResults(getLangOpts(), Results); in CodeCompleteOrdinaryName()
3438 if (getLangOpts().C99) in CodeCompleteDeclSpec()
3441 if (getLangOpts().CPlusPlus) { in CodeCompleteDeclSpec()
3508 else if (WantTypesInContext(PCC_Expression, getLangOpts())) in CodeCompleteExpression()
3537 AddPrettyFunctionResults(getLangOpts(), Results); in CodeCompleteExpression()
3550 else if (getLangOpts().ObjC1) in CodeCompletePostfixExpression()
3705 if (getLangOpts().CPlusPlus) { in CodeCompleteMemberReferenceExpr()
3825 if (getLangOpts().C99 && in CodeCompleteTypeQualifiers()
3828 if (getLangOpts().C11 && in CodeCompleteTypeQualifiers()
3831 if (getLangOpts().MSVCCompat && in CodeCompleteTypeQualifiers()
3902 if (getLangOpts().CPlusPlus && !Qualifier && EnumeratorsSeen.empty()) { in CodeCompleteCase()
4062 if (!getLangOpts().CPlusPlus || in CodeCompleteCall()
4211 if (getLangOpts().CPlusPlus) in CodeCompleteAfterIf()
4229 AddPrettyFunctionResults(getLangOpts(), Results); in CodeCompleteAfterIf()
4422 AddTypeSpecifierResults(getLangOpts(), Results); in CodeCompleteOperatorName()
4687 if (Results.getSema().getLangOpts().Modules) { in AddObjCTopLevelResults()
4702 AddObjCImplementationResults(getLangOpts(), Results, false); in CodeCompleteObjCAtDirective()
4704 AddObjCInterfaceResults(getLangOpts(), Results, false); in CodeCompleteObjCAtDirective()
4720 if (Results.getSema().getLangOpts().CPlusPlus || in AddObjCExpressionResults()
4721 Results.getSema().getLangOpts().ConstStrings) in AddObjCExpressionResults()
4840 AddObjCVisibilityResults(getLangOpts(), Results, false); in CodeCompleteObjCAtVisibility()
4936 if (getLangOpts().ObjCWeak || getLangOpts().getGC() != LangOptions::NonGC) in CodeCompleteObjCPropertyFlags()
5457 getLangOpts().CPlusPlus11 in CodeCompleteObjCMessageReceiver()
5476 if (getLangOpts().CPlusPlus11) in CodeCompleteObjCMessageReceiver()
5733 } else if (RecExpr && getLangOpts().CPlusPlus) { in CodeCompleteObjCInstanceMessage()
7183 if (Context.getLangOpts().ObjC2) { in CodeCompleteObjCMethodDecl()
7395 if (getLangOpts().ObjC1) { in CodeCompletePreprocessorDirective()