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

12345678

/external/lldb/source/Expression/
H A DClangExpressionParser.cpp267 m_compiler->getLangOpts().ObjC1 = true;
268 m_compiler->getLangOpts().ObjC2 = true;
271 m_compiler->getLangOpts().CPlusPlus = true;
272 m_compiler->getLangOpts().CPlusPlus11 = true;
276 m_compiler->getLangOpts().ObjC1 = true;
277 m_compiler->getLangOpts().ObjC2 = true;
278 m_compiler->getLangOpts().CPlusPlus = true;
279 m_compiler->getLangOpts().CPlusPlus11 = true;
283 m_compiler->getLangOpts().Bool = true;
284 m_compiler->getLangOpts()
[all...]
/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.cpp98 CI.getLangOpts(), FixItOpts.get()));
124 CI.getLangOpts(), FixItOpts.get());
156 if (CI.getLangOpts().ObjCRuntime.isNonFragile())
158 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.cpp94 getLangOpts());
96 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
/external/clang/lib/ARCMigrate/
H A DARCMT.cpp193 CInvok->getLangOpts()->ObjCAutoRefCount = true;
194 CInvok->getLangOpts()->setGC(LangOptions::NonGC);
209 CInvok->getLangOpts()->ObjCARCWeak = HasARCRuntime(origCI);
224 printer.BeginSourceFile(PP.getLangOpts(), &PP);
238 if (!origCI.getLangOpts()->ObjC1)
241 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC();
280 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
296 Ctx.getSourceManager(), Ctx.getLangOpts());
304 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
339 if (!origCI.getLangOpts()
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp78 if (mgr.getLangOpts().getGC() != LangOptions::NonGC)
H A DDebugCheckers.cpp79 cfg->viewCFG(mgr.getLangOpts());
98 PrintingPolicy Policy(mgr.getLangOpts());
104 cfg->dump(mgr.getLangOpts(),
H A DObjCAtSyncChecker.cpp92 if (mgr.getLangOpts().ObjC2)
/external/clang/lib/Lex/
H A DTokenConcatenation.cpp49 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 == '*';
H A DTokenLexer.cpp134 if (!HasPasteOperator && !PP.getLangOpts().MSVCCompat)
142 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode
284 if (PP.getLangOpts().MSVCCompat && NumToks == 1 &&
586 PP.getLangOpts(), ScratchBufStart,
605 if (PP.getLangOpts().MicrosoftExt && Tok.is(tok::slash) &&
612 if (!PP.getLangOpts().AsmPreprocessor) {
621 PP.Diag(Loc, PP.getLangOpts().MicrosoftExt ? diag::ext_pp_bad_paste_ms
/external/clang/lib/Parse/
H A DParseInit.cpp36 if (!PP.getLangOpts().CPlusPlus11)
213 if (getLangOpts().ObjC1 && getLangOpts().CPlusPlus) {
248 } else if (getLangOpts().ObjC1 && Tok.is(tok::identifier)) {
306 if (getLangOpts().ObjC1 && Tok.isNot(tok::ellipsis) &&
394 if (!getLangOpts().CPlusPlus)
404 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) ||
H A DParseExpr.cpp225 getLangOpts().CPlusPlus11);
323 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {
326 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional)
338 getLangOpts().CPlusPlus11);
366 getLangOpts().CPlusPlus11);
641 (isUnaryExpression && !getLangOpts().CPlusPlus) ? CompoundLiteral
703 if (getLangOpts().CPlusPlus) {
736 if (getLangOpts().ObjC1 && Tok.is(tok::period) &&
744 !(getLangOpts().CPlusPlus && Tok.is(tok::kw_class))) {
760 if (getLangOpts()
[all...]
H A DParser.cpp45 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland))
195 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) {
196 if (getLangOpts().CPlusPlus11)
430 if (getLangOpts().ObjC1) {
446 if (getLangOpts().AltiVec) {
465 if(getLangOpts().Borland) {
544 if (getLangOpts().DelayedTemplateParsing)
677 if (!getLangOpts().ObjC1) {
707 if (getLangOpts()
[all...]
H A DParseDecl.cpp390 getTargetInfo().getTriple(), getLangOpts())) {
1304 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) {
1402 return getLangOpts().CPlusPlus;
1405 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 &&
1409 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus;
1436 (getLangOpts().CPlusPlus && Context == Declarator::FileContext);
1439 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken());
1821 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) {
1847 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) {
1871 if (getLangOpts()
[all...]
H A DParseStmt.cpp208 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) {
471 if (getLangOpts().Borland) {
478 if (getLangOpts().Borland) {
556 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi))
1019 if (getLangOpts().CPlusPlus)
1075 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus;
1199 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus;
1284 bool C99orCXX = getLangOpts()
[all...]
/external/clang/include/clang/Frontend/
H A DCompilerInvocation.h76 LangOptions *getLangOpts() { return LangOpts.get(); } function in class:clang::CompilerInvocationBase
77 const LangOptions *getLangOpts() const { return LangOpts.get(); } function in class:clang::CompilerInvocationBase
H A DCompilerInstance.h267 LangOptions &getLangOpts() { function in class:clang::CompilerInstance
268 return *Invocation->getLangOpts();
270 const LangOptions &getLangOpts() const { function in class:clang::CompilerInstance
271 return *Invocation->getLangOpts();
/external/clang/lib/Frontend/
H A DFrontendAction.cpp198 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr);
241 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr);
270 CI.getLangOpts(),
290 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(),
363 if (CI.getLangOpts().Modules)
367 PP.getLangOpts());
371 assert((!CI.getLangOpts().Modules || CI.getModuleManager()) &&
H A DFrontendActions.cpp258 if (CI.getLangOpts().CurrentModule.empty()) {
273 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule,
277 Module = HS.lookupModule(CI.getLangOpts().CurrentModule,
281 << CI.getLangOpts().CurrentModule << Filename;
289 if (!Module->isAvailable(CI.getLangOpts(), CI.getTarget(), Requirement,
315 Err = addHeaderInclude(UmbrellaHeader, HeaderContents, CI.getLangOpts(),
319 CI.getLangOpts(), FileMgr,
348 HS.getModuleFileName(CI.getLangOpts().CurrentModule,
553 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
682 unsigned Preamble = Lexer::ComputePreamble(Buffer, CI.getLangOpts())
[all...]
/external/clang/lib/AST/
H A DExprClassification.cpp43 if (!Ctx.getLangOpts().CPlusPlus) {
104 const LangOptions &Lang = Ctx.getLangOpts();
143 return Ctx.getLangOpts().CPlusPlus ? ClassifyTemporary(E->getType())
420 (Ctx.getLangOpts().CPlusPlus &&
431 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue;
452 if (!Ctx.getLangOpts().CPlusPlus) {
504 assert(Ctx.getLangOpts().CPlusPlus &&
540 assert(Ctx.getLangOpts().CPlusPlus &&
590 if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType())
618 !Ctx.getLangOpts()
[all...]
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp106 if ((S.getLangOpts().getGC() != LangOptions::NonGC &&
108 (S.getLangOpts().ObjCAutoRefCount &&
196 if (getLangOpts().ObjCAutoRefCount)
290 Context.getLangOpts(),
435 else if (getLangOpts().ObjCAutoRefCount) {
456 if (!getLangOpts().ObjCAutoRefCount) {
539 if (getLangOpts().getGC() != LangOptions::NonGC &&
938 if (getLangOpts().ObjCAutoRefCount &&
950 getLangOpts().getGC() != LangOptions::NonGC) {
951 assert(!getLangOpts()
[all...]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCheckerContext.h134 const LangOptions &getLangOpts() const { function in class:clang::ento::CheckerContext
135 return Eng.getContext().getLangOpts();
/external/clang/include/clang/Edit/
H A DEditedSource.h53 const LangOptions &getLangOpts() const { return LangOpts; } function in class:clang::edit::EditedSource

Completed in 288 milliseconds

12345678