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

1234567

/freebsd-10-stable/contrib/llvm/tools/lldb/source/Expression/
H A DClangExpressionParser.cpp260 m_compiler->getLangOpts().ObjC1 = true;
261 m_compiler->getLangOpts().ObjC2 = true;
264 m_compiler->getLangOpts().CPlusPlus = true;
265 m_compiler->getLangOpts().CPlusPlus11 = true;
269 m_compiler->getLangOpts().ObjC1 = true;
270 m_compiler->getLangOpts().ObjC2 = true;
271 m_compiler->getLangOpts().CPlusPlus = true;
272 m_compiler->getLangOpts().CPlusPlus11 = true;
276 m_compiler->getLangOpts().Bool = true;
277 m_compiler->getLangOpts()
[all...]
/freebsd-10-stable/contrib/llvm/tools/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());
H A DHTMLPrint.cpp58 R.setSourceMgr(context.getSourceManager(), context.getLangOpts());
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp94 getLangOpts());
96 return Lexer::getSpelling(Loc, buf, getSourceManager(), getLangOpts());
/freebsd-10-stable/contrib/llvm/tools/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());
337 if (!origCI.getLangOpts()
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp78 if (mgr.getLangOpts().getGC() != LangOptions::NonGC)
H A DObjCAtSyncChecker.cpp91 if (mgr.getLangOpts().ObjC2)
H A DDebugCheckers.cpp79 cfg->viewCFG(mgr.getLangOpts());
99 cfg->dump(mgr.getLangOpts(),
/freebsd-10-stable/contrib/llvm/tools/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.cpp136 if (!HasPasteOperator && !PP.getLangOpts().MicrosoftMode)
144 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode
285 if (PP.getLangOpts().MicrosoftMode && NumToks == 1 &&
590 PP.getLangOpts(), ScratchBufStart,
609 if (PP.getLangOpts().MicrosoftExt && Tok.is(tok::slash) &&
616 if (!PP.getLangOpts().AsmPreprocessor) {
626 PP.getLangOpts().MicrosoftExt ? diag::err_pp_bad_paste_ms
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/
H A DParseInit.cpp36 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) ||
H A DParser.cpp45 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland))
93 if (getLangOpts().OpenCL) {
99 if (getLangOpts().OpenMP)
105 if (getLangOpts().MicrosoftExt) {
232 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) {
233 if (getLangOpts().CPlusPlus11)
456 if (getLangOpts().OpenCL) {
464 if (getLangOpts().MicrosoftExt) {
491 if (getLangOpts()
[all...]
H A DParseDecl.cpp1350 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) {
1448 return getLangOpts().CPlusPlus;
1451 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 &&
1455 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus;
1482 (getLangOpts().CPlusPlus && Context == Declarator::FileContext);
1485 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken());
1866 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) {
1880 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) {
1900 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) {
1909 if (getLangOpts()
[all...]
H A DParseExpr.cpp224 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);
642 (isUnaryExpression && !getLangOpts().CPlusPlus)? CompoundLiteral : CastExpr;
710 if (getLangOpts().CPlusPlus) {
780 if (getLangOpts().ObjC1 && Tok.is(tok::period) &&
788 !(getLangOpts().CPlusPlus && Tok.is(tok::kw_class))) {
804 if (getLangOpts()
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCompilerInvocation.h74 LangOptions *getLangOpts() { return LangOpts.getPtr(); } function in class:clang::CompilerInvocationBase
75 const LangOptions *getLangOpts() const { return LangOpts.getPtr(); } function in class:clang::CompilerInvocationBase
H A DCompilerInstance.h252 LangOptions &getLangOpts() { function in class:clang::CompilerInstance
253 return *Invocation->getLangOpts();
255 const LangOptions &getLangOpts() const { function in class:clang::CompilerInstance
256 return *Invocation->getLangOpts();
/freebsd-10-stable/contrib/llvm/tools/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())
422 (Ctx.getLangOpts().CPlusPlus &&
433 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue;
454 if (!Ctx.getLangOpts().CPlusPlus) {
506 assert(Ctx.getLangOpts().CPlusPlus &&
542 assert(Ctx.getLangOpts().CPlusPlus &&
581 if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType())
608 !Ctx.getLangOpts()
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/
H A DFrontendActions.cpp228 if (CI.getLangOpts().CurrentModule.empty()) {
239 Module = HS.lookupModule(CI.getLangOpts().CurrentModule,
243 << CI.getLangOpts().CurrentModule << Filename;
250 if (!Module->isAvailable(CI.getLangOpts(), CI.getTarget(), Requirement)) {
263 addHeaderInclude(UmbrellaHeader, HeaderContents, CI.getLangOpts());
264 collectModuleHeaderIncludes(CI.getLangOpts(), FileMgr,
288 CI.getLangOpts().CurrentModule + ".pcm");
445 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
574 unsigned Preamble = Lexer::ComputePreamble(Buffer, CI.getLangOpts()).first;
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DSemaObjCProperty.cpp107 if ((S.getLangOpts().getGC() != LangOptions::NonGC &&
109 (S.getLangOpts().ObjCAutoRefCount &&
200 if (getLangOpts().ObjCAutoRefCount)
300 Context.getLangOpts(),
462 else if (getLangOpts().ObjCAutoRefCount) {
554 if (getLangOpts().getGC() != LangOptions::NonGC &&
959 if (getLangOpts().ObjCAutoRefCount &&
971 getLangOpts().getGC() != LangOptions::NonGC) {
972 assert(!getLangOpts().ObjCAutoRefCount);
1003 if (getLangOpts()
[all...]
H A DSemaStmtAttr.cpp34 S.getSourceManager(), S.getLangOpts());
/freebsd-10-stable/contrib/llvm/tools/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();
H A DAnalysisManager.h91 const LangOptions &getLangOpts() const { function in class:clang::ento::AnalysisManager
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Edit/
H A DEditedSource.h56 const LangOptions &getLangOpts() const { return LangOpts; } function in class:clang::edit::EditedSource

Completed in 174 milliseconds

1234567