Searched refs:getLangOpts (Results 1 - 25 of 173) sorted by relevance

1234567

/external/clang/tools/libclang/
H A DCXSourceLocation.h44 Context.getLangOpts(),
62 Context.getLangOpts(),
/external/clang/lib/Rewrite/Frontend/
H A DRewriteTest.cpp21 const LangOptions &LangOpts = PP.getLangOpts();
H A DFrontendActions.cpp100 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 DRewriteMacros.cpp69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
94 Rewrite.setSourceMgr(SM, PP.getLangOpts());
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp79 getLangOpts());
81 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
/external/clang/lib/ARCMigrate/
H A DARCMT.cpp224 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 DTokenConcatenation.cpp49 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 DNSAutoreleasePoolChecker.cpp78 if (mgr.getLangOpts().getGC() != LangOptions::NonGC)
H A DDebugCheckers.cpp77 cfg->viewCFG(mgr.getLangOpts());
97 cfg->dump(mgr.getLangOpts(),
H A DObjCAtSyncChecker.cpp91 if (mgr.getLangOpts().ObjC2)
/external/clang/lib/Parse/
H A DParseInit.cpp36 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 DParseDecl.cpp1170 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 DParseExpr.cpp274 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 DParser.cpp44 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 DParseStmt.cpp172 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 DParseTentative.cpp161 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 DCompilerInvocation.h60 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 DCompilerInstance.h235 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 DFrontendActions.cpp223 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 DExprClassification.cpp58 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 DSemaDecl.cpp113 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 DSemaObjCProperty.cpp106 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 DCheckerContext.h91 const LangOptions &getLangOpts() const { function in class:clang::ento::CheckerContext
92 return Eng.getContext().getLangOpts();
H A DAnalysisManager.h87 const LangOptions &getLangOpts() const { function in class:clang::ento::AnalysisManager
/external/clang/include/clang/Edit/
H A DEditedSource.h53 const LangOptions &getLangOpts() const { return LangOpts; } function in class:clang::edit::EditedSource

Completed in 531 milliseconds

1234567