Searched defs:LangOpts (Results 1 - 25 of 73) sorted by path

123

/external/clang/include/clang/AST/
H A DASTContext.h385 LangOptions &LangOpts; member in class:clang::ASTContext
509 const LangOptions& getLangOpts() const { return LangOpts; }
598 assert(LangOpts.RetainCommentsFromSystemHeaders ||
H A DPrettyPrinter.h38 : LangOpts(LO), Indentation(2), SuppressSpecifiers(false),
48 LangOptions LangOpts; member in struct:clang::PrintingPolicy
/external/clang/include/clang/Basic/
H A DLangOptions.h124 FPOptions(const LangOptions &LangOpts) : argument
125 fp_contract(LangOpts.DefaultFPContract) {}
H A DPlistSupport.h92 const LangOptions &LangOpts, SourceLocation L,
99 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0;
112 const LangOptions &LangOpts, CharSourceRange R,
115 EmitLocation(o, SM, LangOpts, R.getBegin(), FM, indent + 1);
116 EmitLocation(o, SM, LangOpts, R.getEnd(), FM, indent + 1, R.isTokenRange());
91 EmitLocation(raw_ostream &o, const SourceManager &SM, const LangOptions &LangOpts, SourceLocation L, const FIDMap &FM, unsigned indent, bool extend = false) argument
111 EmitRange(raw_ostream &o, const SourceManager &SM, const LangOptions &LangOpts, CharSourceRange R, const FIDMap &FM, unsigned indent) argument
/external/clang/include/clang/Edit/
H A DCommit.h49 const LangOptions &LangOpts; member in class:clang::edit::Commit
60 Commit(const SourceManager &SM, const LangOptions &LangOpts, argument
62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(nullptr),
H A DEditedSource.h29 const LangOptions &LangOpts; member in class:clang::edit::EditedSource
47 EditedSource(const SourceManager &SM, const LangOptions &LangOpts, argument
49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec),
53 const LangOptions &getLangOpts() const { return LangOpts; }
/external/clang/include/clang/Frontend/
H A DASTUnit.h86 std::shared_ptr<LangOptions> LangOpts; member in class:clang::ASTUnit
506 assert(LangOpts && " ASTUnit does not have language options");
507 return *LangOpts;
843 /// FIXME: The Diag, LangOpts, SourceMgr, FileMgr, StoredDiagnostics, and
850 DiagnosticsEngine &Diag, LangOptions &LangOpts,
H A DCompilerInvocation.h57 std::shared_ptr<LangOptions> LangOpts; member in class:clang::CompilerInvocationBase
76 LangOptions *getLangOpts() { return LangOpts.get(); }
77 const LangOptions *getLangOpts() const { return LangOpts.get(); }
H A DDiagnosticRenderer.h48 const LangOptions &LangOpts; member in class:clang::DiagnosticRenderer
70 DiagnosticRenderer(const LangOptions &LangOpts,
155 DiagnosticNoteRenderer(const LangOptions &LangOpts, argument
157 : DiagnosticRenderer(LangOpts, DiagOpts) {}
H A DLogDiagnosticPrinter.h47 const LangOptions *LangOpts; member in class:clang::LogDiagnosticPrinter
69 LangOpts = &LO;
H A DVerifyDiagnosticConsumer.h217 const LangOptions *LangOpts; member in class:clang::VerifyDiagnosticConsumer
250 void BeginSourceFile(const LangOptions &LangOpts,
/external/clang/include/clang/Lex/
H A DLexer.h54 LangOptions LangOpts; // LangOpts enabled by this language (cache). member in class:clang::Lexer
108 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
115 const SourceManager &SM, const LangOptions &LangOpts);
128 const LangOptions &getLangOpts() const { return LangOpts; }
173 assert((!Val || LexingRawMode || LangOpts.TraditionalCPP) &&
250 const LangOptions &LangOpts,
260 const LangOptions &LangOpts,
274 const LangOptions &LangOpts,
283 const LangOptions &LangOpts);
428 getCharAndSizeNoWarn(const char *Ptr, unsigned &Size, const LangOptions &LangOpts) argument
[all...]
H A DModuleMap.h42 const LangOptions &LangOpts; member in class:clang::ModuleMap
216 /// \param LangOpts Language options for this translation unit.
220 const LangOptions &LangOpts, const TargetInfo *Target,
H A DPreprocessor.h91 LangOptions &LangOpts; member in class:clang::Preprocessor
479 const LangOptions &getLangOpts() const { return LangOpts; }
1025 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid);
1037 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid);
1054 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid);
1069 return Lexer::getRawToken(Loc, Result, SourceMgr, LangOpts, IgnoreWhiteSpace);
1127 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
1137 return Lexer::isAtStartOfMacroExpansion(loc, SourceMgr, LangOpts,
1148 return Lexer::isAtEndOfMacroExpansion(loc, SourceMgr, LangOpts, MacroEnd);
1160 return Lexer::AdvanceToTokenCharacter(TokStart, Char, SourceMgr, LangOpts);
[all...]
/external/clang/include/clang/Rewrite/Core/
H A DRewriter.h129 const LangOptions *LangOpts; member in class:clang::Rewriter
153 : SourceMgr(&SM), LangOpts(&LO) {}
154 explicit Rewriter() : SourceMgr(nullptr), LangOpts(nullptr) {}
158 LangOpts = &LO;
161 const LangOptions &getLangOpts() const { return *LangOpts; }
/external/clang/include/clang/Sema/
H A DSema.h239 const LangOptions &LangOpts; member in class:clang::Sema
943 const LangOptions &getLangOpts() const { return LangOpts; }
/external/clang/include/clang/Serialization/
H A DASTReader.h117 virtual bool ReadLanguageOptions(const LangOptions &LangOpts, argument
211 bool ReadLanguageOptions(const LangOptions &LangOpts, bool Complain) override;
243 bool ReadLanguageOptions(const LangOptions &LangOpts,
1454 const LangOptions &LangOpts,
/external/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h151 const LangOptions LangOpts; member in class:clang::ento::CheckerManager
158 : LangOpts(langOpts),
170 const LangOptions &getLangOpts() const { return LangOpts; }
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h35 const LangOptions &LangOpts; member in class:clang::ento::AnalysisManager
92 return LangOpts;
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp2032 LangOptions LangOpts; local
2033 edit::EditedSource Editor(SM, LangOpts);
2057 Rewriter rewriter(SM, LangOpts);
H A DPlistReporter.cpp38 const LangOptions &LangOpts) {
103 EmitLocation(o, SM, LangOpts, D.getLocation(), FM, 2);
112 EmitRange(o, SM, LangOpts, *RI, FM, 4);
35 writeARCDiagsToPlist(const std::string &outPath, ArrayRef<StoredDiagnostic> diags, SourceManager &SM, const LangOptions &LangOpts) argument
H A DTransforms.cpp548 const LangOptions &LangOpts = pass.Ctx.getLangOpts(); local
553 SM, LangOpts, &Invalid);
/external/clang/lib/AST/
H A DASTContext.cpp180 LangOpts.CommentOpts.ParseAllComments);
678 if (!LangOpts.CPlusPlus) return nullptr;
713 const LangOptions &LangOpts) {
714 switch (LangOpts.getAddressSpaceMapMangling()) {
744 SourceMgr(SM), LangOpts(LOpts),
911 assert(LangOpts.CPlusPlus && "should only be called for c++");
932 AddrSpaceMap = getAddressSpaceMap(Target, LangOpts);
933 AddrSpaceMapMangling = isAddrSpaceMapManglingEnabled(Target, LangOpts);
941 if (LangOpts.CharIsSigned)
973 if (LangOpts
712 isAddrSpaceMapManglingEnabled(const TargetInfo &TI, const LangOptions &LangOpts) argument
[all...]
H A DTemplateBase.cpp489 LangOptions LangOpts; local
490 LangOpts.CPlusPlus = true;
491 PrintingPolicy Policy(LangOpts);
500 LangOptions LangOpts; local
501 LangOpts.CPlusPlus = true;
502 PrintingPolicy Policy(LangOpts);
/external/clang/lib/Analysis/
H A DCFG.cpp3813 const LangOptions &LangOpts; member in class:__anon17771::StmtPrinterHelper
3817 : currentBlock(0), currStmt(0), LangOpts(LO)
3876 const LangOptions &getLangOpts() const { return LangOpts; }

Completed in 347 milliseconds

123