/external/clang/tools/libclang/ |
CXSourceLocation.h | 44 Context.getLangOpts(), 62 Context.getLangOpts(),
|
/external/clang/lib/Rewrite/Frontend/ |
RewriteTest.cpp | 21 const LangOptions &LangOpts = PP.getLangOpts();
|
FrontendActions.cpp | 100 CI.getLangOpts(), FixItOpts.get())); 126 CI.getLangOpts(), FixItOpts.get()); 158 if (CI.getLangOpts().ObjCRuntime.isNonFragile()) 160 CI.getDiagnostics(), CI.getLangOpts(), 165 CI.getDiagnostics(), CI.getLangOpts(),
|
RewriteMacros.cpp | 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 94 Rewrite.setSourceMgr(SM, PP.getLangOpts());
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerContext.cpp | 94 getLangOpts()); 96 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
|
/external/clang/lib/ARCMigrate/ |
ARCMT.cpp | 199 CInvok->getLangOpts()->ObjCAutoRefCount = true; 200 CInvok->getLangOpts()->setGC(LangOptions::NonGC); 215 CInvok->getLangOpts()->ObjCARCWeak = HasARCRuntime(origCI); 230 printer.BeginSourceFile(PP.getLangOpts(), &PP); 244 if (!origCI.getLangOpts()->ObjC1) 247 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC(); 286 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); 302 Ctx.getSourceManager(), Ctx.getLangOpts()); 310 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); 332 origCI.getLangOpts()->ObjCAutoRefCount = false [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
NSAutoreleasePoolChecker.cpp | 78 if (mgr.getLangOpts().getGC() != LangOptions::NonGC)
|
ObjCAtSyncChecker.cpp | 91 if (mgr.getLangOpts().ObjC2)
|
DebugCheckers.cpp | 77 cfg->viewCFG(mgr.getLangOpts()); 97 cfg->dump(mgr.getLangOpts(),
|
/external/clang/include/clang/Frontend/ |
CompilerInvocation.h | 73 LangOptions *getLangOpts() { return LangOpts.getPtr(); } 74 const LangOptions *getLangOpts() const { return LangOpts.getPtr(); }
|
CompilerInstance.h | 252 LangOptions &getLangOpts() { 253 return *Invocation->getLangOpts(); 255 const LangOptions &getLangOpts() const { 256 return *Invocation->getLangOpts();
|
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 49 const LangOptions &LangOpts = PP.getLangOpts(); 90 if (PP.getLangOpts().CPlusPlus11) { 210 if (!PP.getLangOpts().CPlusPlus11) 248 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); 267 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); 271 return PP.getLangOpts().CPlusPlus && FirstChar == '*';
|
/external/clang/lib/Parse/ |
ParseInit.cpp | 36 if (!PP.getLangOpts().CPlusPlus11) 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) ||
|
ParseDecl.cpp | [all...] |
ParseExpr.cpp | 224 getLangOpts().CPlusPlus11); 325 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 328 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional) 340 getLangOpts().CPlusPlus11); 368 getLangOpts().CPlusPlus11); 639 (isUnaryExpression && !getLangOpts().CPlusPlus)? CompoundLiteral : CastExpr; 701 if (getLangOpts().CPlusPlus) { 771 if (getLangOpts().ObjC1 && Tok.is(tok::period) && 779 !(getLangOpts().CPlusPlus && Tok.is(tok::kw_class))) { 795 if (getLangOpts().ObjC1 && &II == Ident_super && !InMessageExpression & [all...] |
Parser.cpp | 45 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland)) 93 if (getLangOpts().OpenCL) { 220 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { 221 if (getLangOpts().CPlusPlus11) 426 if (getLangOpts().OpenCL) { 452 if (getLangOpts().ObjC1) { 467 if (getLangOpts().AltiVec) { 483 if(getLangOpts().Borland) { 547 if (getLangOpts().DelayedTemplateParsing [all...] |
ParseStmt.cpp | 172 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) { 400 if (getLangOpts().Borland) { 407 if (getLangOpts().Borland) { 814 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) || 897 if (getLangOpts().CPlusPlus) 953 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; [all...] |
ParseTentative.cpp | 161 if (getLangOpts().ObjC1 && Tok.is(tok::less)) 280 if (getLangOpts().ObjC1 && Tok.is(tok::less)) 298 else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) 357 if (getLangOpts().ObjC1 && Tok.is(tok::less)) 382 (getLangOpts().CPlusPlus11 && Tok.is(tok::greatergreater)))) { 439 if (!Disambiguate && !getLangOpts().ObjC1) 448 if (!getLangOpts().ObjC1) { [all...] |
/external/clang/lib/Frontend/ |
FrontendActions.cpp | 236 if (CI.getLangOpts().CurrentModule.empty()) { 247 Module = HS.lookupModule(CI.getLangOpts().CurrentModule, 251 << CI.getLangOpts().CurrentModule << Filename; 258 if (!Module->isAvailable(CI.getLangOpts(), CI.getTarget(), Feature)) { 271 addHeaderInclude(UmbrellaHeader, HeaderContents, CI.getLangOpts()); 272 collectModuleHeaderIncludes(CI.getLangOpts(), FileMgr, 296 CI.getLangOpts().CurrentModule + ".pcm"); 329 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 458 unsigned Preamble = Lexer::ComputePreamble(Buffer, CI.getLangOpts()).first;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
AnalysisManager.h | 87 const LangOptions &getLangOpts() const {
|
CheckerContext.h | 138 const LangOptions &getLangOpts() const { 139 return Eng.getContext().getLangOpts();
|
/external/clang/lib/Sema/ |
SemaDecl.cpp | 112 return getLangOpts().CPlusPlus; 232 !(getLangOpts().CPlusPlus && NewSSPtr && 240 std::string CorrectedStr(Correction.getAsString(getLangOpts())); 242 Correction.getQuoted(getLangOpts())); 415 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); 416 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().CPlusPlu [all...] |
SemaObjCProperty.cpp | 107 if ((S.getLangOpts().getGC() != LangOptions::NonGC && 109 (S.getLangOpts().ObjCAutoRefCount && 200 if (getLangOpts().ObjCAutoRefCount) 300 Context.getLangOpts(), 521 if (getLangOpts().getGC() != LangOptions::NonGC && [all...] |
/external/clang/lib/AST/ |
ExprClassification.cpp | 43 if (!Ctx.getLangOpts().CPlusPlus) { 104 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().CPlusPlus) & [all...] |
/external/clang/include/clang/Edit/ |
EditedSource.h | 53 const LangOptions &getLangOpts() const { return LangOpts; }
|