Searched defs:LangOpts (Results 1 - 25 of 86) sorted by relevance

1234

/external/clang/lib/Frontend/Rewrite/
H A DRewriteTest.cpp21 const LangOptions &LangOpts = PP.getLangOpts(); local
23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
H A DFixItRewriter.cpp31 const LangOptions &LangOpts,
34 Editor(SourceMgr, LangOpts),
35 Rewrite(SourceMgr, LangOpts),
30 FixItRewriter(DiagnosticsEngine &Diags, SourceManager &SourceMgr, const LangOptions &LangOpts, FixItOptions *FixItOpts) argument
/external/clang/lib/Basic/
H A DAttributes.cpp8 const LangOptions &LangOpts) {
6 hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const TargetInfo &Target, const LangOptions &LangOpts) argument
H A DBuiltins.cpp61 const LangOptions &LangOpts) {
63 (LangOpts.NoBuiltin || LangOpts.isNoBuiltinFunc(BuiltinInfo.Name)) &&
66 LangOpts.NoMathBuiltin && BuiltinInfo.HeaderName &&
68 bool GnuModeUnsupported = !LangOpts.GNUMode && (BuiltinInfo.Langs & GNU_LANG);
70 !LangOpts.MicrosoftExt && (BuiltinInfo.Langs & MS_LANG);
71 bool ObjCUnsupported = !LangOpts.ObjC1 && BuiltinInfo.Langs == OBJC_LANG;
72 bool OclCUnsupported = LangOpts.OpenCLVersion != 200 &&
82 const LangOptions& LangOpts) {
85 if (builtinIsSupported(BuiltinInfo[i], LangOpts)) {
60 builtinIsSupported(const Builtin::Info &BuiltinInfo, const LangOptions &LangOpts) argument
81 initializeBuiltins(IdentifierTable &Table, const LangOptions& LangOpts) argument
[all...]
/external/clang/test/Modules/
H A Dpr27401.cpp31 PrintingPolicy(CommentOptions LO) : LangOpts(LO) {}
32 CommentOptions LangOpts; member in struct:PrintingPolicy
/external/clang/include/clang/Frontend/
H A DDiagnosticRenderer.h48 const LangOptions &LangOpts; member in class:clang::DiagnosticRenderer
70 DiagnosticRenderer(const LangOptions &LangOpts,
157 DiagnosticNoteRenderer(const LangOptions &LangOpts, argument
159 : DiagnosticRenderer(LangOpts, DiagOpts) {}
H A DLogDiagnosticPrinter.h54 const LangOptions *LangOpts; member in class:clang::LogDiagnosticPrinter
74 LangOpts = &LO;
H A DCompilerInvocation.h58 std::shared_ptr<LangOptions> LangOpts; member in class:clang::CompilerInvocationBase
77 LangOptions *getLangOpts() { return LangOpts.get(); }
78 const LangOptions *getLangOpts() const { return LangOpts.get(); }
H A DVerifyDiagnosticConsumer.h218 const LangOptions *LangOpts; member in class:clang::VerifyDiagnosticConsumer
251 void BeginSourceFile(const LangOptions &LangOpts,
/external/clang/lib/ARCMigrate/
H A DPlistReporter.cpp38 const LangOptions &LangOpts) {
112 EmitRange(o, SM, Lexer::getAsCharRange(ExpansionRange, SM, LangOpts),
35 writeARCDiagsToPlist(const std::string &outPath, ArrayRef<StoredDiagnostic> diags, SourceManager &SM, const LangOptions &LangOpts) argument
/external/clang/tools/clang-check/
H A DClangCheck.cpp115 const clang::LangOptions& LangOpts,
117 : clang::FixItRewriter(Diags, SourceMgr, LangOpts, FixItOpts) {
113 FixItRewriter(clang::DiagnosticsEngine& Diags, clang::SourceManager& SourceMgr, const clang::LangOptions& LangOpts, clang::FixItOptions* FixItOpts) argument
/external/clang/tools/libclang/
H A DCXSourceLocation.h30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts, argument
35 CXSourceLocation Result = { { &SM, &LangOpts, },
55 const LangOptions &LangOpts,
/external/clang/lib/Rewrite/
H A DTokenRewriter.cpp22 const LangOptions &LangOpts) {
27 Lexer RawLex(FID, FromFile, SM, LangOpts);
21 TokenRewriter(FileID FID, SourceManager &SM, const LangOptions &LangOpts) argument
/external/clang/unittests/AST/
H A DASTVectorTest.cpp31 SourceMgr(Diags, FileMgr), Idents(LangOpts, nullptr),
32 Ctxt(LangOpts, SourceMgr, Idents, Sels, Builtins) {}
39 LangOptions LangOpts; member in class:clang::ast::__anon3361::ASTVectorTest
/external/clang/unittests/Lex/
H A DPPConditionalDirectiveRecordTest.cpp48 LangOptions LangOpts; member in class:__anon3392::PPConditionalDirectiveRecordTest
96 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts,
98 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr,
/external/clang/include/clang/Edit/
H A DEditedSource.h31 const LangOptions &LangOpts; member in class:clang::edit::EditedSource
53 EditedSource(const SourceManager &SM, const LangOptions &LangOpts, argument
55 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), IdentTable(LangOpts),
59 const LangOptions &getLangOpts() const { return LangOpts; }
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),
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h37 const LangOptions &LangOpts; member in class:clang::ento::AnalysisManager
95 return LangOpts;
/external/clang/include/clang/Tooling/Core/
H A DReplacement.h99 const LangOptions &LangOpts = LangOptions());
105 const LangOptions &LangOpts = LangOptions());
133 const LangOptions &LangOpts);
245 const LangOptions &LangOpts) {
248 setFromSourceRange(Sources, Range, ReplacementText, LangOpts);
243 Replacement(const SourceManager &Sources, const Node &NodeToReplace, StringRef ReplacementText, const LangOptions &LangOpts) argument
/external/clang/lib/CodeGen/
H A DCoverageMappingGen.h90 const LangOptions &LangOpts; member in class:clang::CodeGen::CoverageMappingGen
95 const LangOptions &LangOpts)
96 : CVM(CVM), SM(SM), LangOpts(LangOpts), CounterMap(nullptr) {}
99 const LangOptions &LangOpts,
101 : CVM(CVM), SM(SM), LangOpts(LangOpts), CounterMap(CounterMap) {}
94 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, const LangOptions &LangOpts) argument
98 CoverageMappingGen(CoverageMappingModuleGen &CVM, SourceManager &SM, const LangOptions &LangOpts, llvm::DenseMap<const Stmt *, unsigned> *CounterMap) argument
/external/clang/lib/Lex/
H A DTokenConcatenation.cpp49 const LangOptions &LangOpts = PP.getLangOpts(); local
57 LangOpts.CPlusPlus11);
64 return IsStringPrefix(StringRef(TokPtr, length), LangOpts.CPlusPlus11);
67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11);
/external/clang/include/clang/Rewrite/Core/
H A DRewriter.h33 const LangOptions *LangOpts; member in class:clang::Rewriter
57 : SourceMgr(&SM), LangOpts(&LO) {}
58 explicit Rewriter() : SourceMgr(nullptr), LangOpts(nullptr) {}
62 LangOpts = &LO;
65 const LangOptions &getLangOpts() const { return *LangOpts; }
/external/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp119 const LangOptions &LangOpts = BRC.getASTContext().getLangOpts(); local
125 LangOpts, llvm::Twine());
131 Qualifiers(), OS, LangOpts, llvm::Twine());
134 LangOpts, llvm::Twine());
139 Qualifiers(), OS, LangOpts, llvm::Twine());
142 LangOpts, llvm::Twine());
/external/clang/lib/StaticAnalyzer/Core/
H A DIssueHash.cpp130 const LangOptions &LangOpts) {
150 Lexer Lexer(SM.getLocForStartOfFile(SM.getFileID(StartOfLine)), LangOpts,
181 const LangOptions &LangOpts) {
187 NormalizeLine(SM, IssueLoc, LangOpts) + Delimiter + BugType)
195 const LangOptions &LangOpts) {
198 GetIssueString(SM, IssueLoc, CheckerName, BugType, D, LangOpts));
129 NormalizeLine(const SourceManager &SM, FullSourceLoc &L, const LangOptions &LangOpts) argument
177 GetIssueString(const SourceManager &SM, FullSourceLoc &IssueLoc, StringRef CheckerName, StringRef BugType, const Decl *D, const LangOptions &LangOpts) argument
191 GetIssueHash(const SourceManager &SM, FullSourceLoc &IssueLoc, StringRef CheckerName, StringRef BugType, const Decl *D, const LangOptions &LangOpts) argument
/external/clang/include/clang/Basic/
H A DLangOptions.h167 FPOptions(const LangOptions &LangOpts) : argument
168 fp_contract(LangOpts.DefaultFPContract) {}

Completed in 6032 milliseconds

1234