Searched refs:getLangOpts (Results 26 - 50 of 170) sorted by relevance

1234567

/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
H A DFrontendAction.cpp192 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), 0);
226 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), 0);
251 CI.getLangOpts(),
271 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(),
331 PP.getLangOpts());
H A DASTMerge.cpp37 CI.getASTContext().getLangOpts());
H A DCompilerInstance.cpp223 getLangOpts(),
226 getDiagnostics(), getLangOpts(), &getTarget(),
284 Context = new ASTContext(getLangOpts(), PP.getSourceManager(),
683 getTarget().setForcedLangOptions(getLangOpts());
821 Invocation->getLangOpts()->resetNonModularOptions();
833 Invocation->getLangOpts()->CurrentModule = Module->getTopLevelModuleName();
852 InputKind IK = getSourceInputKindFromOptions(*Invocation->getLangOpts());
1115 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule)
1129 } else if (ModuleName == getLangOpts().CurrentModule) {
1346 if (ModuleName != getLangOpts()
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDecl.cpp115 return getLangOpts().CPlusPlus;
232 !(getLangOpts().CPlusPlus && NewSSPtr &&
417 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
440 if (getLangOpts().CPlusPlus) {
470 if (getLangOpts().MicrosoftMode && isMicrosoftMissingTypename(SS, S))
490 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus &&
541 << Name << TagName << SemaRef.getLangOpts().CPlusPlus
613 if (getLangOpts().CPlusPlus)
638 if (!getLangOpts().CPlusPlus && !SecondTry &&
656 if (getLangOpts()
[all...]
H A DSemaCodeComplete.cpp539 if (AllowNestedNameSpecifiers && SemaRef.getLangOpts().CPlusPlus &&
559 if (!SemaRef.getLangOpts().CPlusPlus)
779 if (!SemaRef.getLangOpts().CPlusPlus || !R.Declaration ||
1046 if (SemaRef.getLangOpts().CPlusPlus)
1048 else if (SemaRef.getLangOpts().ObjC1) {
1064 if (SemaRef.getLangOpts().CPlusPlus)
1066 else if (SemaRef.getLangOpts().ObjC1) {
1091 if (SemaRef.getLangOpts().CPlusPlus)
1195 if (!C.getLangOpts().CPlusPlus)
1225 if ((SemaRef.getLangOpts()
[all...]
H A DSemaLookup.cpp288 IDNS = getIDNS(LookupKind, SemaRef.getLangOpts().CPlusPlus,
524 if (S.getLangOpts().CPlusPlus11 && S.getLangOpts().GNUMode &&
536 if (S.getLangOpts().CPlusPlus &&
589 if (getLangOpts().CPlusPlus11) {
639 if (S.getLangOpts().CPlusPlus11 &&
661 if (S.getLangOpts().CPlusPlus11 &&
679 if (S.getLangOpts().CPlusPlus)
887 assert(getLangOpts().CPlusPlus && "Can perform only C++ lookup");
1330 if (!getLangOpts()
[all...]
H A DSemaExpr.cpp62 if (getLangOpts().CPlusPlus1y && FD->getResultType()->isUndeducedType() &&
209 if (S.getLangOpts().CPlusPlus)
273 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) {
308 if (getLangOpts().CPlusPlus1y && FD->getResultType()->isUndeducedType() &&
462 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue())
562 if (getLangOpts().CPlusPlus &&
577 if (getLangOpts().OpenCL && !getOpenCLOptions().cl_khr_fp16 &&
617 if (getLangOpts().ObjCAutoRefCount &&
663 if (Ty->isHalfType() && !getLangOpts()
[all...]
H A DSemaAccess.cpp800 if (S.getLangOpts().MicrosoftMode && !EC.Functions.empty())
1425 if (S.getLangOpts().MicrosoftMode &&
1544 if (!getLangOpts().AccessControl ||
1560 if (!getLangOpts().AccessControl ||
1581 if (access == AS_public || !getLangOpts().AccessControl) return true;
1602 if (!getLangOpts().AccessControl)
1627 if (!getLangOpts().AccessControl || Access == AS_public)
1670 if (!getLangOpts().AccessControl ||
1700 if (!getLangOpts().AccessControl ||
1718 if (!getLangOpts()
[all...]
H A DDeclSpec.cpp494 if (S.getLangOpts().OpenCL &&
500 if (S.getLangOpts().OpenCLVersion < 120) {
519 if (TypeSpecType == TST_unspecified && S.getLangOpts().CPlusPlus) {
1037 if (!PP.getLangOpts().CPlusPlus)
1078 if (PP.getLangOpts().CPlusPlus &&
1087 if (!PP.getLangOpts().CPlusPlus11 && TypeSpecType == TST_auto)
1089 if (PP.getLangOpts().CPlusPlus && !PP.getLangOpts().CPlusPlus11 &&
H A DSemaCXXScopeSpec.cpp169 assert(getLangOpts().CPlusPlus && "Only callable in C++");
269 (Context.getLangOpts().CPlusPlus11 &&
273 (Context.getLangOpts().CPlusPlus11 && isa<EnumDecl>(SD)))
487 if (Found.empty() && !ErrorRecoveryLookup && !getLangOpts().MicrosoftMode) {
499 Name.getAsString() == Corrected.getAsString(getLangOpts());
520 !getLangOpts().CPlusPlus11) {
649 if (getLangOpts().MicrosoftMode) {
702 << T << getLangOpts().CPlusPlus;
H A DSemaExceptionSpec.cpp159 if (getLangOpts().MicrosoftExt)
174 if (getLangOpts().CPlusPlus11 &&
304 if (getLangOpts().MicrosoftExt)
328 if (!getLangOpts().CXXExceptions)
430 if (getLangOpts().CPlusPlus11 && IsOperatorNew) {
524 if (!getLangOpts().CXXExceptions)
761 if (getLangOpts().CPlusPlus11 && isa<CXXDestructorDecl>(New)) {
775 if (getLangOpts().MicrosoftExt)
H A DSemaExprObjC.cpp91 } else if (getLangOpts().NoConstantCFStrings) {
93 std::string StringClass(getLangOpts().ObjCConstantStringClass);
202 if (S.getLangOpts().DebuggerObjCLiteral) {
225 if (!Method && S.getLangOpts().DebuggerObjCLiteral) {
311 if (getLangOpts().CPlusPlus) {
340 if (S.getLangOpts().CPlusPlus && Element->getType()->isRecordType()) {
467 if (getLangOpts().DebuggerObjCLiteral) {
493 if (!BoxingMethod && getLangOpts().DebuggerObjCLiteral) {
643 if (!NSArrayDecl && getLangOpts().DebuggerObjCLiteral)
662 if (!Method && getLangOpts()
[all...]
H A DSemaType.cpp612 if (!state.getSema().getLangOpts().ObjCAutoRefCount)
765 if (S.getLangOpts().CPlusPlus1y &&
783 if (S.getLangOpts().ImplicitInt) {
796 if (S.getLangOpts().CPlusPlus) {
821 if (!S.getLangOpts().C99) {
822 if (S.getLangOpts().CPlusPlus)
824 S.getLangOpts().CPlusPlus11 ?
840 if (!S.getLangOpts().C99) {
841 if (S.getLangOpts().CPlusPlus)
843 S.getLangOpts()
[all...]
H A DSemaExprCXX.cpp437 if (!getLangOpts().RTTI) {
593 if (!getLangOpts().CXXExceptions &&
1047 if (getLangOpts().CPlusPlus1y) {
1204 if (getLangOpts().ObjCAutoRefCount &&
1227 if (getLangOpts().CPlusPlus1y) {
1252 << S.getLangOpts().CPlusPlus11 << T;
1286 S.getLangOpts().CPlusPlus11
1323 if (getLangOpts().CPlusPlus11)
1335 if (getLangOpts().CPlusPlus11)
1540 else if (getLangOpts()
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransforms.cpp44 if (!Ctx.getLangOpts().ObjCARCWeak)
141 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc))
144 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts());
159 Ctx.getLangOpts(),
410 Pass.Ctx.getLangOpts(),
493 Pass.Ctx.getLangOpts(),
555 const LangOptions &LangOpts = pass.Ctx.getLangOpts();
H A DTransBlockObjCVariable.cpp58 Var->getASTContext().getLangOpts().CPlusPlus)
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp219 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) {
457 if (getLangOpts().Borland) {
464 if (getLangOpts().Borland) {
532 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi))
899 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) ||
982 if (getLangOpts().CPlusPlus)
1038 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus;
1164 bool C99orCXX = getLangOpts().C99 || getLangOpts()
[all...]
H A DParseTentative.cpp213 if (getLangOpts().ObjC1 && Tok.is(tok::less))
375 else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))
451 (getLangOpts().CPlusPlus11 && Tok.is(tok::greatergreater)))) {
508 if (!Disambiguate && !getLangOpts().ObjC1)
517 if (!getLangOpts().ObjC1) {
708 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) {
1159 if (!getLangOpts().ObjC1 && Next.is(tok::identifier))
1397 if (getLangOpts().ObjC1 && NextToken().is(tok::less)) {
1414 if (getLangOpts().CPlusPlus11 && isFollowedByBrace)
1446 if (getLangOpts()
[all...]
H A DParseAST.cpp135 if (!External && !S.getLangOpts().CPlusPlus)
H A DParseCXXInlineMethods.cpp83 Diag(Tok, getLangOpts().CPlusPlus11 ?
91 Diag(Tok, getLangOpts().CPlusPlus11 ?
116 if (getLangOpts().DelayedTemplateParsing &&
343 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {
763 return Diag(Tok.getLocation(), getLangOpts().CPlusPlus11
780 if (!getLangOpts().CPlusPlus11)
985 if (!getLangOpts().CPlusPlus11)
991 if (!getLangOpts().CPlusPlus11)
H A DParseDeclCXX.cpp162 Diag(InlineLoc, getLangOpts().CPlusPlus11 ?
494 if (getLangOpts().CPlusPlus11 && Context == Declarator::MemberContext &&
531 Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 ?
643 if (Tok.is(tok::kw__Static_assert) && !getLangOpts().C11)
731 getLangOpts().CPlusPlus1y
1066 if (!getLangOpts().CPlusPlus)
1072 return getLangOpts().CPlusPlus11 && NextToken().is(tok::l_square);
1075 return getLangOpts().CPlusPlus;
1210 if (getLangOpts().CPlusPlus) {
1231 if (Tok.is(tok::less) && getLangOpts()
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/
H A DLiteralSupport.cpp566 if (PP.getLangOpts().MicrosoftExt) {
613 if (PP.getLangOpts().CPlusPlus1y && *s == 'i')
628 if (isValidUDSuffix(PP.getLangOpts(),
752 if (!PP.getLangOpts().HexFloats)
766 PP.getLangOpts().CPlusPlus1y
768 : PP.getLangOpts().CPlusPlus
1081 &PP.getDiagnostics(), PP.getLangOpts(), true)) {
1095 CharWidth, &PP.getDiagnostics(), PP.getLangOpts());
1145 PP.getLangOpts().CharIsSigned)
1206 : SM(PP.getSourceManager()), Features(PP.getLangOpts()),
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/
H A DMangle.cpp71 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) &&
101 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs())
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp283 if (mgr.getLangOpts().getGC() == LangOptions::GCOnly)
285 checkObjCDealloc(cast<ObjCImplementationDecl>(D), mgr.getLangOpts(), BR);
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h224 const LangOptions &getLangOpts() const { return PP.getLangOpts(); } function in class:clang::Parser
535 if (!getLangOpts().AltiVec ||
548 if (!getLangOpts().AltiVec ||
1698 if (getLangOpts().CPlusPlus)
1707 if (getLangOpts().CPlusPlus)
1717 if (getLangOpts().CPlusPlus)
1743 if (getLangOpts().CPlusPlus)
1877 if (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square))
1884 if (!getLangOpts()
[all...]

Completed in 469 milliseconds

1234567