Searched refs:LangOpts (Results 1 - 25 of 68) sorted by relevance

123

/external/clang/tools/libclang/
H A DCIndexDiagnostic.h24 const LangOptions &LangOpts; member in struct:clang::CXStoredDiagnostic
27 const LangOptions &LangOpts)
28 : Diag(Diag), LangOpts(LangOpts) { }
26 CXStoredDiagnostic(const StoredDiagnostic &Diag, const LangOptions &LangOpts) argument
H A DCXSourceLocation.h30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts, argument
35 CXSourceLocation Result = { { (void*) &SM, (void*) &LangOpts, },
55 const LangOptions &LangOpts,
/external/clang/lib/Frontend/
H A DInitPreprocessor.cpp226 static void AddObjCXXARCLibstdcxxDefines(const LangOptions &LangOpts, argument
255 if (LangOpts.ObjCRuntimeHasWeak) {
278 const LangOptions &LangOpts,
281 if (!LangOpts.MicrosoftExt && !LangOpts.TraditionalCPP)
283 if (LangOpts.Freestanding)
288 if (!LangOpts.CPlusPlus) {
289 if (LangOpts.C99)
291 else if (!LangOpts.GNUMode && LangOpts
277 InitializeStandardPredefinedMacros(const TargetInfo &TI, const LangOptions &LangOpts, const FrontendOptions &FEOpts, MacroBuilder &Builder) argument
318 InitializePredefinedMacros(const TargetInfo &TI, const LangOptions &LangOpts, const FrontendOptions &FEOpts, MacroBuilder &Builder) argument
635 const LangOptions &LangOpts = PP.getLangOptions(); local
[all...]
H A DTextDiagnosticPrinter.cpp30 : OS(os), LangOpts(0), DiagOpts(&diags), SM(0),
41 LangOpts = &LO;
45 LangOpts = 0;
167 assert(LangOpts && "Unexpected diagnostic outside source file processing");
176 TextDiag.reset(new TextDiagnostic(OS, *SM, *LangOpts, *DiagOpts));
/external/clang/include/clang/AST/
H A DPrettyPrinter.h37 : Indentation(2), LangOpts(LO), SuppressSpecifiers(false),
48 LangOptions LangOpts; member in struct:clang::PrintingPolicy
/external/clang/lib/Rewrite/
H A DRewriteTest.cpp21 const LangOptions &LangOpts = PP.getLangOptions(); local
23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
H A DTokenRewriter.cpp22 const LangOptions &LangOpts) {
27 Lexer RawLex(FID, FromFile, SM, LangOpts);
21 TokenRewriter(FileID FID, SourceManager &SM, const LangOptions &LangOpts) argument
H A DFixItRewriter.cpp29 const LangOptions &LangOpts,
32 Rewrite(SourceMgr, LangOpts),
28 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr, const LangOptions &LangOpts, FixItOptions *FixItOpts) argument
/external/clang/lib/Lex/
H A DPPMacroExpansion.cpp579 const LangOptions &LangOpts = PP.getLangOptions(); local
597 .Case("blocks", LangOpts.Blocks)
598 .Case("cxx_exceptions", LangOpts.Exceptions)
599 .Case("cxx_rtti", LangOpts.RTTI)
602 .Case("objc_arr", LangOpts.ObjCAutoRefCount) // FIXME: REMOVE?
603 .Case("objc_arc", LangOpts.ObjCAutoRefCount)
604 .Case("objc_arc_weak", LangOpts.ObjCAutoRefCount &&
605 LangOpts.ObjCRuntimeHasWeak)
606 .Case("objc_fixed_enum", LangOpts.ObjC2)
607 .Case("objc_instancetype", LangOpts
704 const LangOptions &LangOpts = PP.getLangOptions(); local
[all...]
H A DTokenConcatenation.cpp48 const LangOptions &LangOpts = PP.getLangOptions(); local
56 LangOpts.CPlusPlus0x);
63 return IsStringPrefix(StringRef(TokPtr, length), LangOpts.CPlusPlus0x);
66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus0x);
/external/clang/lib/Basic/
H A DIdentifierTable.cpp69 IdentifierTable::IdentifierTable(const LangOptions &LangOpts, argument
76 AddKeywords(LangOpts);
112 const LangOptions &LangOpts, IdentifierTable &Table) {
115 else if (LangOpts.CPlusPlus && (Flags & KEYCXX)) AddResult = 2;
116 else if (LangOpts.CPlusPlus0x && (Flags & KEYCXX0X)) AddResult = 2;
117 else if (LangOpts.C99 && (Flags & KEYC99)) AddResult = 2;
118 else if (LangOpts.GNUKeywords && (Flags & KEYGNU)) AddResult = 1;
119 else if (LangOpts.MicrosoftExt && (Flags & KEYMS)) AddResult = 1;
120 else if (LangOpts.Borland && (Flags & KEYBORLAND)) AddResult = 1;
121 else if (LangOpts
110 AddKeyword(StringRef Keyword, tok::TokenKind TokenCode, unsigned Flags, const LangOptions &LangOpts, IdentifierTable &Table) argument
157 AddKeywords(const LangOptions &LangOpts) argument
[all...]
H A DBuiltins.cpp50 const LangOptions& LangOpts) {
53 if (!LangOpts.NoBuiltin || !strchr(BuiltinInfo[i].Attributes, 'f')) {
54 if (LangOpts.ObjC1 ||
61 if (!LangOpts.NoBuiltin || !strchr(TSRecords[i].Attributes, 'f'))
49 InitializeBuiltins(IdentifierTable &Table, const LangOptions& LangOpts) argument
/external/clang/include/clang/Frontend/
H A DLogDiagnosticPrinter.h44 const LangOptions *LangOpts; member in class:clang::LogDiagnosticPrinter
66 LangOpts = &LO;
H A DCompilerInvocation.h64 LangOptions LangOpts; member in class:clang::CompilerInvocation
114 setLangDefaults(LangOpts, IK, LangStd);
120 /// \param LangOpts - The LangOptions object to set up.
169 LangOptions &getLangOpts() { return LangOpts; }
170 const LangOptions &getLangOpts() const { return LangOpts; }
H A DVerifyDiagnosticConsumer.h84 virtual void BeginSourceFile(const LangOptions &LangOpts,
H A DTextDiagnosticPrinter.h29 const LangOptions *LangOpts; member in class:clang::TextDiagnosticPrinter
H A DTextDiagnostic.h47 const LangOptions &LangOpts; member in class:clang::TextDiagnostic
72 const LangOptions &LangOpts,
/external/clang/lib/ARCMigrate/
H A DPlistReporter.cpp46 const LangOptions &LangOpts,
54 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0;
67 const LangOptions &LangOpts,
71 EmitLocation(o, SM, LangOpts, R.getBegin(), FM, indent+1);
72 EmitLocation(o, SM, LangOpts, R.getEnd(), FM, indent+1, R.isTokenRange());
97 const LangOptions &LangOpts) {
174 EmitLocation(o, SM, LangOpts, D.getLocation(), FM, 2);
183 EmitRange(o, SM, LangOpts, *RI, FM, 4);
45 EmitLocation(raw_ostream& o, const SourceManager &SM, const LangOptions &LangOpts, SourceLocation L, const FIDMap &FM, unsigned indent, bool extend = false) argument
66 EmitRange(raw_ostream& o, const SourceManager &SM, const LangOptions &LangOpts, CharSourceRange R, const FIDMap &FM, unsigned indent) argument
94 writeARCDiagsToPlist(const std::string &outPath, ArrayRef<StoredDiagnostic> diags, SourceManager &SM, const LangOptions &LangOpts) argument
/external/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp66 const LangOptions &LangOpts; member in class:__anon3128::PlistDiagnostics
70 PlistDiagnostics(const std::string& prefix, const LangOptions &LangOpts,
93 : OutputFile(output), LangOpts(LO), SubPD(subPD), flushed(false) {}
133 const LangOptions &LangOpts,
141 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0;
154 const LangOptions &LangOpts,
157 EmitLocation(o, SM, LangOpts, L.asLocation(), FM, indent, extend);
161 const LangOptions &LangOpts,
165 EmitLocation(o, SM, LangOpts, R.getBegin(), FM, indent+1);
166 EmitLocation(o, SM, LangOpts,
132 EmitLocation(raw_ostream &o, const SourceManager &SM, const LangOptions &LangOpts, SourceLocation L, const FIDMap &FM, unsigned indent, bool extend = false) argument
153 EmitLocation(raw_ostream &o, const SourceManager &SM, const LangOptions &LangOpts, const PathDiagnosticLocation &L, const FIDMap& FM, unsigned indent, bool extend = false) argument
160 EmitRange(raw_ostream &o, const SourceManager &SM, const LangOptions &LangOpts, PathDiagnosticRange R, const FIDMap &FM, unsigned indent) argument
188 ReportControlFlow(raw_ostream &o, const PathDiagnosticControlFlowPiece& P, const FIDMap& FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent) argument
231 ReportEvent(raw_ostream &o, const PathDiagnosticPiece& P, const FIDMap& FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent) argument
278 ReportMacro(raw_ostream &o, const PathDiagnosticMacroPiece& P, const FIDMap& FM, const SourceManager &SM, const LangOptions &LangOpts, unsigned indent) argument
302 ReportDiag(raw_ostream &o, const PathDiagnosticPiece& P, const FIDMap& FM, const SourceManager &SM, const LangOptions &LangOpts) argument
[all...]
/external/clang/include/clang/Basic/
H A DLangOptions.h82 FPOptions(const LangOptions &LangOpts) : argument
83 fp_contract(LangOpts.DefaultFPContract) {}
H A DBuiltins.h73 void InitializeBuiltins(IdentifierTable &Table, const LangOptions& LangOpts);
/external/clang/include/clang/Rewrite/
H A DRewriter.h127 const LangOptions *LangOpts; member in class:clang::Rewriter
150 : SourceMgr(&SM), LangOpts(&LO) {}
151 explicit Rewriter() : SourceMgr(0), LangOpts(0) {}
155 LangOpts = &LO;
158 const LangOptions &getLangOpts() const { return *LangOpts; }
H A DFixItRewriter.h63 const LangOptions &LangOpts, FixItOptions *FixItOpts);
/external/clang/include/clang/Lex/
H A DLexer.h274 const LangOptions &LangOpts);
283 const LangOptions &LangOpts);
316 const LangOptions &LangOpts);
322 const LangOptions &LangOpts);
484 const LangOptions &LangOpts,
/external/clang/lib/CodeGen/
H A DBackendUtil.cpp47 const LangOptions &LangOpts; member in class:__anon2795::EmitAssemblyHelper
93 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts),
138 if (LangOpts.ObjCAutoRefCount) {
336 if (LangOpts.ObjCAutoRefCount)

Completed in 722 milliseconds

123