/external/clang/tools/libclang/ |
H A D | CXSourceLocation.h | 44 Context.getLangOpts(), 62 Context.getLangOpts(),
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteTest.cpp | 21 const LangOptions &LangOpts = PP.getLangOpts();
|
H A D | FrontendActions.cpp | 100 CI.getLangOpts(), FixItOpts.get())); 126 CI.getLangOpts(), FixItOpts.get()); 158 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) 160 CI.getDiagnostics(), CI.getLangOpts(), 163 CI.getDiagnostics(), CI.getLangOpts(),
|
H A D | RewriteMacros.cpp | 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 94 Rewrite.setSourceMgr(SM, PP.getLangOpts());
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 79 getLangOpts()); 81 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
|
/external/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 224 CInvok->getLangOpts()->ObjCAutoRefCount = true; 225 CInvok->getLangOpts()->setGC(LangOptions::NonGC); 240 CInvok->getLangOpts()->ObjCARCWeak = HasARCRuntime(origCI); 254 printer.BeginSourceFile(PP.getLangOpts(), &PP); 268 if (!origCI.getLangOpts()->ObjC1) 271 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); 309 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); 325 Ctx.getSourceManager(), Ctx.getLangOpts()); 333 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); 354 origCI.getLangOpts() [all...] |
/external/clang/lib/Lex/ |
H A D | TokenConcatenation.cpp | 49 const LangOptions &LangOpts = PP.getLangOpts(); 90 if (PP.getLangOpts().CPlusPlus0x) { 209 if (!PP.getLangOpts().CPlusPlus0x) 244 (PP.getLangOpts().CPlusPlus0x && FirstChar == '_'); 248 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); 267 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); 271 return PP.getLangOpts().CPlusPlus && FirstChar == '*';
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NSAutoreleasePoolChecker.cpp | 78 if (mgr.getLangOpts().getGC() != LangOptions::NonGC)
|
H A D | DebugCheckers.cpp | 77 cfg->viewCFG(mgr.getLangOpts()); 97 cfg->dump(mgr.getLangOpts(),
|
H A D | ObjCAtSyncChecker.cpp | 91 if (mgr.getLangOpts().ObjC2)
|
/external/clang/lib/Parse/ |
H A D | ParseInit.cpp | 36 if (!PP.getLangOpts().CPlusPlus0x) 231 if (getLangOpts().ObjC1 && getLangOpts().CPlusPlus) { 266 } else if (getLangOpts().ObjC1 && Tok.is(tok::identifier)) { 324 if (getLangOpts().ObjC1 && Tok.isNot(tok::ellipsis) && 412 if (!getLangOpts().CPlusPlus) 422 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) ||
|
H A D | ParseDecl.cpp | 1170 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { 1261 return getLangOpts().CPlusPlus; 1264 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus0x && 1268 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus; 1295 (getLangOpts().CPlusPlus && Context == Declarator::FileContext); 1298 return getLangOpts().CPlusPlus0x && isCXX0XVirtSpecifier(NextToken()); 1635 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { 1649 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { 1669 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { 1677 if (getLangOpts() [all...] |
H A D | ParseExpr.cpp | 274 getLangOpts().CPlusPlus0x); 364 if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace)) { 367 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional) 379 getLangOpts().CPlusPlus0x); 407 getLangOpts().CPlusPlus0x); 678 (isUnaryExpression && !getLangOpts().CPlusPlus)? CompoundLiteral : CastExpr; 740 if (getLangOpts().CPlusPlus) { 812 if (getLangOpts().ObjC1 && Tok.is(tok::period) && 820 !(getLangOpts().CPlusPlus && Tok.is(tok::kw_class))) { 836 if (getLangOpts() [all...] |
H A D | Parser.cpp | 44 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland)) 90 if (getLangOpts().OpenCL) { 239 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { 240 if (getLangOpts().CPlusPlus0x) 445 if (getLangOpts().OpenCL) { 474 if (getLangOpts().ObjC1) { 489 if (getLangOpts().AltiVec) { 505 if(getLangOpts().Borland) { 564 if (getLangOpts() [all...] |
H A D | ParseStmt.cpp | 172 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) { 365 if (getLangOpts().Borland) { 372 if (getLangOpts().Borland) { 729 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) || 817 if (getLangOpts().CPlusPlus) 873 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1004 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1093 bool C99orCXX = getLangOpts() [all...] |
H A D | ParseTentative.cpp | 161 if (getLangOpts().ObjC1 && Tok.is(tok::less)) 280 if (getLangOpts().ObjC1 && Tok.is(tok::less)) 298 else if (getLangOpts().CPlusPlus0x && Tok.is(tok::l_brace)) 357 if (getLangOpts().ObjC1 && Tok.is(tok::less)) 382 (getLangOpts().CPlusPlus0x && Tok.is(tok::greatergreater)))) { 439 if (!Disambiguate && !getLangOpts().ObjC1) 448 if (!getLangOpts().ObjC1) { 968 if (!getLangOpts().ObjC1 && Next.is(tok::identifier)) 1197 if (getLangOpts().ObjC1 && NextToken().is(tok::less)) { 1214 if (getLangOpts() [all...] |
/external/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 60 LangOptions *getLangOpts() { return LangOpts.getPtr(); } function in class:clang::CompilerInvocationBase 61 const LangOptions *getLangOpts() const { return LangOpts.getPtr(); } function in class:clang::CompilerInvocationBase
|
H A D | CompilerInstance.h | 235 LangOptions &getLangOpts() { function in class:clang::CompilerInstance 236 return *Invocation->getLangOpts(); 238 const LangOptions &getLangOpts() const { function in class:clang::CompilerInstance 239 return *Invocation->getLangOpts();
|
/external/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 223 if (CI.getLangOpts().CurrentModule.empty()) { 234 Module = HS.lookupModule(CI.getLangOpts().CurrentModule, 238 << CI.getLangOpts().CurrentModule << Filename; 245 if (!Module->isAvailable(CI.getLangOpts(), CI.getTarget(), Feature)) { 258 collectModuleHeaderIncludes(CI.getLangOpts(), CI.getFileManager(), 339 CI.getLangOpts().CurrentModule + ".pcm"); 372 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 501 unsigned Preamble = Lexer::ComputePreamble(Buffer, CI.getLangOpts()).first;
|
/external/clang/lib/AST/ |
H A D | ExprClassification.cpp | 58 if (!Ctx.getLangOpts().CPlusPlus) { 105 const LangOptions &Lang = Ctx.getLangOpts(); 142 return Ctx.getLangOpts().CPlusPlus ? ClassifyTemporary(E->getType()) 412 (Ctx.getLangOpts().CPlusPlus && 423 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue; 444 if (!Ctx.getLangOpts().CPlusPlus) { 496 assert(Ctx.getLangOpts().CPlusPlus && 532 assert(Ctx.getLangOpts().CPlusPlus && 571 if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType()) 596 !Ctx.getLangOpts() [all...] |
/external/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 113 return getLangOpts().CPlusPlus; 233 !(getLangOpts().CPlusPlus && NewSSPtr && 241 std::string CorrectedStr(Correction.getAsString(getLangOpts())); 243 Correction.getQuoted(getLangOpts())); 416 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); 417 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOpts())); 453 if (getLangOpts().CPlusPlus) { 483 if (getLangOpts().MicrosoftMode && isMicrosoftMissingTypename(SS, S)) 503 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && 554 << Name << TagName << SemaRef.getLangOpts() [all...] |
H A D | SemaObjCProperty.cpp | 106 if ((S.getLangOpts().getGC() != LangOptions::NonGC && 108 (S.getLangOpts().ObjCAutoRefCount && 154 if (getLangOpts().ObjCAutoRefCount) 175 if (getLangOpts().ObjCAutoRefCount) 229 Context.getLangOpts(), 442 if (getLangOpts().getGC() != LangOptions::NonGC && 833 if (getLangOpts().ObjCAutoRefCount && 845 getLangOpts().getGC() != LangOptions::NonGC) { 846 assert(!getLangOpts().ObjCAutoRefCount); 877 if (getLangOpts() [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CheckerContext.h | 91 const LangOptions &getLangOpts() const { function in class:clang::ento::CheckerContext 92 return Eng.getContext().getLangOpts();
|
H A D | AnalysisManager.h | 87 const LangOptions &getLangOpts() const { function in class:clang::ento::AnalysisManager
|
/external/clang/include/clang/Edit/ |
H A D | EditedSource.h | 53 const LangOptions &getLangOpts() const { return LangOpts; } function in class:clang::edit::EditedSource
|