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

1 2 3 4 5

  /external/clang/include/clang/Lex/
Lexer.h 54 LangOptions LangOpts; // LangOpts enabled by this language (cache).
102 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
109 const SourceManager &SM, const LangOptions &LangOpts);
122 const LangOptions &getLangOpts() const { return LangOpts; }
177 assert((!Val || LexingRawMode || LangOpts.TraditionalCPP) &&
252 const LangOptions &LangOpts,
262 const LangOptions &LangOpts,
276 const LangOptions &LangOpts,
285 const LangOptions &LangOpts);
    [all...]
  /external/clang/lib/Lex/
PPMacroExpansion.cpp 110 if (LangOpts.Modules) {
114 if (!LangOpts.CurrentModule.empty())
124 if (LangOpts.MicrosoftExt)
648 if (ArgTokens.size() == ArgTokenStart && !LangOpts.C99)
649 Diag(Tok, LangOpts.CPlusPlus11 ?
    [all...]
Lexer.cpp 120 LangOpts(PP.getLangOpts()) {
130 if (LangOpts.TraditionalCPP)
139 Lexer::Lexer(SourceLocation fileloc, const LangOptions &langOpts,
141 : FileLoc(fileloc), LangOpts(langOpts) {
153 const SourceManager &SM, const LangOptions &langOpts)
154 : FileLoc(SM.getLocForStartOfFile(FID)), LangOpts(langOpts) {
246 const LangOptions &LangOpts, char *Spelling) {
256 Spelling[Length++] = Lexer::getCharAndSizeNoWarn(BufPtr, Size, LangOpts);
    [all...]
  /external/clang/tools/libclang/
CXSourceLocation.h 30 translateSourceLocation(const SourceManager &SM, const LangOptions &LangOpts,
35 CXSourceLocation Result = { { &SM, &LangOpts, },
55 const LangOptions &LangOpts,
CIndexDiagnostic.h 114 const LangOptions &LangOpts;
117 const LangOptions &LangOpts)
119 Diag(Diag), LangOpts(LangOpts) { }
CXStoredDiagnostic.cpp 47 LangOpts, Diag.getLocation());
91 LangOpts,
109 LangOpts, Hint.RemoveRange);
  /external/clang/include/clang/AST/
PrettyPrinter.h 38 : LangOpts(LO), Indentation(2), SuppressSpecifiers(false),
47 LangOptions LangOpts;
  /external/clang/lib/Rewrite/Frontend/
RewriteTest.cpp 21 const LangOptions &LangOpts = PP.getLangOpts();
23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
  /external/clang/include/clang/Edit/
EditedSource.h 29 const LangOptions &LangOpts;
47 EditedSource(const SourceManager &SM, const LangOptions &LangOpts,
49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec),
53 const LangOptions &getLangOpts() const { return LangOpts; }
Commit.h 49 const LangOptions &LangOpts;
60 Commit(const SourceManager &SM, const LangOptions &LangOpts,
62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(0),
  /external/clang/lib/Basic/
IdentifierTable.cpp 73 IdentifierTable::IdentifierTable(const LangOptions &LangOpts,
80 AddKeywords(LangOpts);
122 const LangOptions &LangOpts, IdentifierTable &Table) {
125 else if (LangOpts.CPlusPlus && (Flags & KEYCXX)) AddResult = 2;
126 else if (LangOpts.CPlusPlus11 && (Flags & KEYCXX11)) AddResult = 2;
127 else if (LangOpts.C99 && (Flags & KEYC99)) AddResult = 2;
128 else if (LangOpts.GNUKeywords && (Flags & KEYGNU)) AddResult = 1;
129 else if (LangOpts.MicrosoftExt && (Flags & KEYMS)) AddResult = 1;
130 else if (LangOpts.Borland && (Flags & KEYBORLAND)) AddResult = 1;
131 else if (LangOpts.Bool && (Flags & BOOLSUPPORT)) AddResult = 2
    [all...]
Builtins.cpp 49 const LangOptions &LangOpts) {
50 bool BuiltinsUnsupported = LangOpts.NoBuiltin &&
53 LangOpts.NoMathBuiltin && BuiltinInfo.HeaderName &&
55 bool GnuModeUnsupported = !LangOpts.GNUMode &&
57 bool ObjCUnsupported = !LangOpts.ObjC1 &&
67 const LangOptions& LangOpts) {
70 if (BuiltinIsSupported(BuiltinInfo[i], LangOpts)) {
76 if (!LangOpts.NoBuiltin || !strchr(TSRecords[i].Attributes, 'f'))
Module.cpp 54 static bool hasFeature(StringRef Feature, const LangOptions &LangOpts,
57 .Case("altivec", LangOpts.AltiVec)
58 .Case("blocks", LangOpts.Blocks)
59 .Case("cplusplus", LangOpts.CPlusPlus)
60 .Case("cplusplus11", LangOpts.CPlusPlus11)
61 .Case("objc", LangOpts.ObjC1)
62 .Case("objc_arc", LangOpts.ObjCAutoRefCount)
63 .Case("opencl", LangOpts.OpenCL)
69 Module::isAvailable(const LangOptions &LangOpts, const TargetInfo &Target,
76 if (!hasFeature(Current->Requires[I], LangOpts, Target))
    [all...]
  /external/clang/lib/Frontend/
InitPreprocessor.cpp 235 static void AddObjCXXARCLibstdcxxDefines(const LangOptions &LangOpts,
264 if (LangOpts.ObjCARCWeak) {
287 const LangOptions &LangOpts,
290 if (!LangOpts.MicrosoftMode && !LangOpts.TraditionalCPP)
292 if (LangOpts.Freestanding)
297 if (!LangOpts.CPlusPlus) {
298 if (LangOpts.C11)
300 else if (LangOpts.C99)
302 else if (!LangOpts.GNUMode && LangOpts.Digraphs
    [all...]
  /external/clang/include/clang/Frontend/
LogDiagnosticPrinter.h 44 const LangOptions *LangOpts;
66 LangOpts = &LO;
CompilerInvocation.h 55 IntrusiveRefCntPtr<LangOptions> LangOpts;
74 LangOptions *getLangOpts() { return LangOpts.getPtr(); }
75 const LangOptions *getLangOpts() const { return LangOpts.getPtr(); }
  /external/clang/unittests/Lex/
LexerTest.cpp 65 HeaderSearch HeaderInfo(new HeaderSearchOptions, FileMgr, Diags, LangOpts,
67 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, Target.getPtr(),
95 SourceMgr, LangOpts, &Invalid);
106 LangOptions LangOpts;
292 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc));
294 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpts));
295 EXPECT_FALSE(Lexer::isAtEndOfMacroExpansion(idLoc, SourceMgr, LangOpts));
296 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc));
300 CharSourceRange::getTokenRange(lsqrLoc, idLoc), SourceMgr, LangOpts);
303 SourceMgr, LangOpts);
    [all...]
  /external/clang/lib/ARCMigrate/
PlistReporter.cpp 46 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);
  /external/clang/lib/StaticAnalyzer/Core/
PlistDiagnostics.cpp 34 const LangOptions &LangOpts;
39 const LangOptions &LangOpts,
65 LangOpts(LO),
108 const LangOptions &LangOpts,
116 extend ? Lexer::MeasureTokenLength(Loc, SM, LangOpts) - 1 : 0;
129 const LangOptions &LangOpts,
132 EmitLocation(o, SM, LangOpts, L.asLocation(), FM, indent, extend);
136 const LangOptions &LangOpts,
140 EmitLocation(o, SM, LangOpts, R.getBegin(), FM, indent+1);
141 EmitLocation(o, SM, LangOpts, R.getEnd(), FM, indent+1, !R.isPoint)
    [all...]
  /external/clang/lib/Edit/
EditedSource.cpp 246 static bool canBeJoined(char left, char right, const LangOptions &LangOpts) {
249 return !(Lexer::isIdentifierBodyChar(left, LangOpts) &&
250 Lexer::isIdentifierBodyChar(right, LangOpts));
256 const LangOptions &LangOpts) {
257 if (!canBeJoined(left, right, LangOpts))
261 if (canBeJoined(beforeWSpace, right, LangOpts))
269 static void adjustRemoval(const SourceManager &SM, const LangOptions &LangOpts,
273 SourceLocation BeginTokLoc = Lexer::GetBeginningOfToken(Loc, SM, LangOpts);
297 LangOpts))
302 if (!canBeJoined(buffer[begin-1], buffer[end], LangOpts))
    [all...]
  /frameworks/compile/slang/
slang.cpp 109 clang::LangOptions Slang::LangOpts;
157 LangOpts.RTTI = 0; // Turn off the RTTI information support
158 LangOpts.C99 = 1;
159 LangOpts.Renderscript = 1;
160 LangOpts.LaxVectorConversions = 0; // Do not bitcast vectors!
161 LangOpts.CharIsSigned = 1; // Signed char is our default.
211 LangOpts,
218 LangOpts,
248 mASTContext.reset(new clang::ASTContext(LangOpts,
410 mDiagClient->BeginSourceFile(LangOpts, mPP.get())
    [all...]
  /external/clang/include/clang/Basic/
LangOptions.h 111 FPOptions(const LangOptions &LangOpts) :
112 fp_contract(LangOpts.DefaultFPContract) {}
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
AnalysisManager.h 35 const LangOptions &LangOpts;
92 return LangOpts;
  /external/clang/include/clang/Rewrite/Core/
Rewriter.h 131 const LangOptions *LangOpts;
154 : SourceMgr(&SM), LangOpts(&LO) {}
155 explicit Rewriter() : SourceMgr(0), LangOpts(0) {}
159 LangOpts = &LO;
162 const LangOptions &getLangOpts() const { return *LangOpts; }
  /external/clang/lib/CodeGen/
BackendUtil.cpp 48 const LangOptions &LangOpts;
113 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts),
126 // We need this wrapper to access LangOpts and CGOpts from extension functions
131 const LangOptions &LangOpts)
132 : PassManagerBuilder(), CGOpts(CGOpts), LangOpts(LangOpts) {}
134 const LangOptions &getLangOpts() const { return LangOpts; }
137 const LangOptions &LangOpts;
167 const LangOptions &LangOpts = BuilderWrapper.getLangOpts();
169 LangOpts.Sanitize.InitOrder
    [all...]

Completed in 113 milliseconds

1 2 3 4 5