HomeSort by relevance Sort by last modified time
    Searched refs:getLangOpts (Results 1 - 25 of 196) sorted by null

1 2 3 4 5 6 7 8

  /external/clang/tools/libclang/
CXSourceLocation.h 44 Context.getLangOpts(),
62 Context.getLangOpts(),
  /external/clang/lib/Frontend/Rewrite/
RewriteTest.cpp 21 const LangOptions &LangOpts = PP.getLangOpts();
FrontendActions.cpp 99 CI.getLangOpts(), FixItOpts.get()));
125 CI.getLangOpts(), FixItOpts.get());
155 if (CI.getLangOpts().ObjCRuntime.isNonFragile())
157 CI.getDiagnostics(), CI.getLangOpts(),
162 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/unittests/CodeGen/
BufferSourceTest.cpp 45 compiler.getLangOpts().CPlusPlus = 1;
46 compiler.getLangOpts().CPlusPlus11 = 1;
  /external/clang/lib/ARCMigrate/
ARCMT.cpp 196 CInvok->getLangOpts()->ObjCAutoRefCount = true;
197 CInvok->getLangOpts()->setGC(LangOptions::NonGC);
212 CInvok->getLangOpts()->ObjCWeakRuntime = HasARCRuntime(origCI);
213 CInvok->getLangOpts()->ObjCWeak = CInvok->getLangOpts()->ObjCWeakRuntime;
228 printer.BeginSourceFile(PP.getLangOpts(), &PP);
242 if (!origCI.getLangOpts()->ObjC1)
245 LangOptions::GCMode OrigGCMode = origCI.getLangOpts()->getGC();
285 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor());
301 Ctx.getSourceManager(), Ctx.getLangOpts());
    [all...]
  /external/clang/lib/Lex/
TokenConcatenation.cpp 49 const LangOptions &LangOpts = PP.getLangOpts();
90 if (PP.getLangOpts().CPlusPlus11) {
103 if (PP.getLangOpts().CPlusPlus1z)
223 if (!PP.getLangOpts().CPlusPlus11)
262 (PP.getLangOpts().CPlusPlus && FirstChar == '*');
281 (PP.getLangOpts().CPlusPlus && FirstChar == ':');
285 return PP.getLangOpts().CPlusPlus && FirstChar == '*';
TokenLexer.cpp 134 if (!HasPasteOperator && !PP.getLangOpts().MSVCCompat)
142 if (PP.getLangOpts().C99 && !PP.getLangOpts().GNUMode
285 if (PP.getLangOpts().MSVCCompat && NumToks == 1 &&
452 (PP.getLangOpts().MSVCCompat &&
527 if (PP.getLangOpts().MicrosoftExt && (CurToken >= 2) &&
610 PP.getLangOpts(), ScratchBufStart,
629 if (PP.getLangOpts().MicrosoftExt && Tok.is(tok::slash) &&
636 if (!PP.getLangOpts().AsmPreprocessor) {
645 PP.Diag(Loc, PP.getLangOpts().MicrosoftExt ? diag::ext_pp_bad_paste_m
    [all...]
  /external/clang/lib/Sema/
SemaCUDA.cpp 94 assert(getLangOpts().CUDATargetOverloads &&
111 (CallerTarget == CFT_HostDevice && getLangOpts().CUDAIsDevice)))
128 getLangOpts().CUDADisableTargetCallChecks ? CFP_LastResort : CFP_Never;
134 if (getLangOpts().CUDAIsDevice)
155 if (getLangOpts().CUDATargetOverloads)
160 if (getLangOpts().CUDADisableTargetCallChecks)
192 bool InDeviceMode = getLangOpts().CUDAIsDevice;
199 getLangOpts().CUDAAllowHostCallsFromHostDevice) {
217 assert(S.getLangOpts().CUDATargetOverloads &&
SemaDecl.cpp 122 return getLangOpts().CPlusPlus;
317 if (Result.empty() && getLangOpts().MSVCCompat && (!SS || SS->isEmpty())) {
348 !(getLangOpts().CPlusPlus && NewSSPtr &&
581 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
604 if (getLangOpts().CPlusPlus) {
634 if (getLangOpts().MSVCCompat && isMicrosoftMissingTypename(SS, S))
652 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus &&
698 << Name << TagName << SemaRef.getLangOpts().CPlusPlus
748 if (Result.empty() && SS.isEmpty() && getLangOpts().MSVCCompat) {
775 if (getLangOpts().CPlusPlus
    [all...]
SemaObjCProperty.cpp 133 if (S.getLangOpts().getGC() != LangOptions::NonGC) {
326 Context.getLangOpts(),
580 isAssign = (!getLangOpts().ObjCAutoRefCount ||
586 if (getLangOpts().getGC() != LangOptions::NonGC &&
716 S.getLangOpts().ObjCAutoRefCount) ||
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
NSAutoreleasePoolChecker.cpp 79 if (mgr.getLangOpts().getGC() != LangOptions::NonGC)
DebugCheckers.cpp 82 cfg->viewCFG(mgr.getLangOpts());
101 PrintingPolicy Policy(mgr.getLangOpts());
107 cfg->dump(mgr.getLangOpts(),
233 const LangOptions &Opts = C.getLangOpts();
  /external/clang/lib/Parse/
Parser.cpp 65 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland))
215 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) {
216 if (getLangOpts().CPlusPlus11)
438 if (getLangOpts().DelayedTemplateParsing &&
460 if (getLangOpts().ObjC1) {
483 if (getLangOpts().AltiVec || getLangOpts().ZVector) {
487 if (getLangOpts().AltiVec)
503 if(getLangOpts().Borland)
    [all...]
ParseInit.cpp 36 if (!PP.getLangOpts().CPlusPlus11)
213 if (getLangOpts().ObjC1 && getLangOpts().CPlusPlus) {
248 } else if (getLangOpts().ObjC1 && Tok.is(tok::identifier)) {
320 if (getLangOpts().ObjC1 && Tok.isNot(tok::ellipsis) &&
408 if (!getLangOpts().CPlusPlus)
418 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) ||
ParseDecl.cpp 391 getTargetInfo(), getLangOpts())) {
536 assert(getLangOpts().DeclSpecKeyword && "__declspec keyword is not enabled");
699 if (!getLangOpts().ObjC1)
    [all...]
ParseStmt.cpp 205 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) {
475 if (getLangOpts().Borland) {
488 if (getLangOpts().Borland) {
577 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi))
666 if (!getLangOpts().CPlusPlus11) {
    [all...]
ParseExpr.cpp 252 getLangOpts().CPlusPlus11);
361 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {
364 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional)
382 getLangOpts().CPlusPlus11);
416 getLangOpts().CPlusPlus11);
705 (isUnaryExpression && !getLangOpts().CPlusPlus) ? CompoundLiteral
768 if (getLangOpts().CPlusPlus) {
    [all...]
  /external/clang/lib/CodeGen/
SanitizerMetadata.cpp 28 if (!CGM.getLangOpts().Sanitize.hasOneOf(SanitizerKind::Address |
60 if (!CGM.getLangOpts().Sanitize.hasOneOf(SanitizerKind::Address |
72 if (CGM.getLangOpts().Sanitize.hasOneOf(SanitizerKind::Address |
CGDeclCXX.cpp 165 if (getLangOpts().OpenMP && D.hasAttr<OMPThreadPrivateDeclAttr>())
257 if (!getLangOpts().AppleKext && !TLS) {
267 if (!getLangOpts().Exceptions)
271 if (getLangOpts().Sanitize.hasOneOf(SanitizerKind::Address |
274 if (getLangOpts().Sanitize.has(SanitizerKind::Thread))
276 if (getLangOpts().Sanitize.has(SanitizerKind::Memory))
278 if (getLangOpts().Sanitize.has(SanitizerKind::SafeStack))
535 if (getLangOpts().ObjCAutoRefCount && getLangOpts().CPlusPlus) {
  /external/clang/include/clang/Frontend/
CompilerInvocation.h 76 LangOptions *getLangOpts() { return LangOpts.get(); }
77 const LangOptions *getLangOpts() const { return LangOpts.get(); }
  /external/clang/lib/AST/
ExprClassification.cpp 43 if (!Ctx.getLangOpts().CPlusPlus) {
104 const LangOptions &Lang = Ctx.getLangOpts();
146 return Ctx.getLangOpts().CPlusPlus ? ClassifyTemporary(E->getType())
430 (Ctx.getLangOpts().CPlusPlus &&
442 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue;
463 if (!Ctx.getLangOpts().CPlusPlus) {
515 assert(Ctx.getLangOpts().CPlusPlus &&
551 assert(Ctx.getLangOpts().CPlusPlus &&
601 if (Ctx.getLangOpts().CPlusPlus && E->getType()->isFunctionType())
  /external/clang/include/clang/Edit/
EditedSource.h 59 const LangOptions &getLangOpts() const { return LangOpts; }
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
AnalysisManager.h 94 const LangOptions &getLangOpts() const {

Completed in 369 milliseconds

1 2 3 4 5 6 7 8