/external/clang/include/clang/Frontend/ |
LangStandard.h | 25 CPlusPlus = (1 << 4), 69 bool isCPlusPlus() const { return Flags & frontend::CPlusPlus; }
|
/external/clang/lib/Lex/ |
PPMacroExpansion.cpp | 681 .Case("has_nothrow_assign", LangOpts.CPlusPlus) 682 .Case("has_nothrow_copy", LangOpts.CPlusPlus) 683 .Case("has_nothrow_constructor", LangOpts.CPlusPlus) 684 .Case("has_trivial_assign", LangOpts.CPlusPlus) 685 .Case("has_trivial_copy", LangOpts.CPlusPlus) 686 .Case("has_trivial_constructor", LangOpts.CPlusPlus) 687 .Case("has_trivial_destructor", LangOpts.CPlusPlus) 688 .Case("has_virtual_destructor", LangOpts.CPlusPlus) 689 .Case("is_abstract", LangOpts.CPlusPlus) 690 .Case("is_base_of", LangOpts.CPlusPlus) [all...] |
TokenConcatenation.cpp | 247 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); 266 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); 270 return PP.getLangOpts().CPlusPlus && FirstChar == '*';
|
LiteralSupport.cpp | 188 if (!Features.CPlusPlus && !Features.C99 && Diags) [all...] |
/external/clang/lib/AST/ |
ExprClassification.cpp | 42 return Lang.CPlusPlus && E->getType()->isRecordType() ? 58 if (!Ctx.getLangOpts().CPlusPlus) { 129 return Ctx.getLangOpts().CPlusPlus? Cl::CL_ClassTemporary 227 return Lang.CPlusPlus ? Cl::CL_LValue : Cl::CL_PRValue; 262 if (Lang.CPlusPlus) 304 if (!Lang.CPlusPlus) return Cl::CL_PRValue; 312 if (!Lang.CPlusPlus) return Cl::CL_PRValue; 319 if (!Lang.CPlusPlus) return Cl::CL_PRValue; 399 (Ctx.getLangOpts().CPlusPlus && 410 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue [all...] |
TemplateName.cpp | 164 LO.CPlusPlus = true; 173 LO.CPlusPlus = true;
|
Decl.cpp | 217 if (Context.getLangOpts().CPlusPlus && 323 if (Context.getLangOpts().CPlusPlus && 334 if (!Context.getLangOpts().CPlusPlus && 369 if (!Context.getLangOpts().CPlusPlus && 393 if (Context.getLangOpts().CPlusPlus && [all...] |
ASTDiagnostic.cpp | 297 if (Context.getLangOpts().CPlusPlus)
|
/external/clang/lib/CodeGen/ |
CodeGenTBAA.cpp | 136 if (!Features.CPlusPlus && 144 if (Features.CPlusPlus &&
|
ModuleBuilder.cpp | 82 if (Ctx->getLangOpts().CPlusPlus && !D->isDependentContext()) {
|
/external/clang/lib/Parse/ |
Parser.cpp | 416 !getLangOpts().CPlusPlus) // Empty source file is an extension in C 654 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { 664 if (getLangOpts().CPlusPlus) { 687 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { 727 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { 738 (getLangOpts().CPlusPlus && 750 if (!getLangOpts().CPlusPlus && 754 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { 823 if (Tok.is(tok::string_literal) && getLangOpts().CPlusPlus && 888 (!getLangOpts().CPlusPlus || [all...] |
ParseDecl.cpp | [all...] |
ParseStmt.cpp | 137 if (getLangOpts().CPlusPlus) 228 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) { 873 if (getLangOpts().CPlusPlus) 919 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; [all...] |
ParseInit.cpp | 231 if (getLangOpts().ObjC1 && getLangOpts().CPlusPlus) { 412 if (!getLangOpts().CPlusPlus)
|
ParseExpr.cpp | 364 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional) 669 (isUnaryExpression && !getLangOpts().CPlusPlus)? CompoundLiteral : CastExpr; 731 if (getLangOpts().CPlusPlus) { 762 !(getLangOpts().CPlusPlus && Tok.is(tok::kw_class))) { [all...] |
/gdk/sources/llvm-ndk-cc/ |
Compiler.cpp | 182 mLangOpts.CPlusPlus = 1; 289 if (mLangOpts.CPlusPlus == 1) {
|
/external/clang/lib/Frontend/ |
InitHeaderSearch.cpp | 450 if (Lang.CPlusPlus && HSOpts.UseStandardCXXIncludes && 604 (!Lang.ObjC1 && !Lang.CPlusPlus && it->first == CSystem) || 605 (/*FIXME !Lang.ObjC1 && */Lang.CPlusPlus && it->first == CXXSystem) || 606 (Lang.ObjC1 && !Lang.CPlusPlus && it->first == ObjCSystem) || 607 (Lang.ObjC1 && Lang.CPlusPlus && it->first == ObjCXXSystem))
|
/external/clang/lib/Sema/ |
SemaDecl.cpp | 194 !(getLangOpts().CPlusPlus && NewSSPtr && 409 if (getLangOpts().CPlusPlus) { 459 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && 511 if (getLangOpts().CPlusPlus) 536 if (!getLangOpts().CPlusPlus && !SecondTry) { 565 << Name << TagName << getLangOpts().CPlusPlus 589 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && 671 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && 695 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && [all...] |
SemaExpr.cpp | 147 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) { 335 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) 379 if (getLangOpts().CPlusPlus && 513 if (getLangOpts().CPlusPlus && E->isGLValue() && 618 if (!getLangOpts().CPlusPlus && [all...] |
SemaLookup.cpp | 213 bool CPlusPlus, 221 if (CPlusPlus) { 236 if (CPlusPlus) { 256 if (CPlusPlus) 287 IDNS = getIDNS(LookupKind, SemaRef.getLangOpts().CPlusPlus, 503 if (S.getLangOpts().CPlusPlus && 653 if (S.getLangOpts().CPlusPlus) 841 assert(getLangOpts().CPlusPlus && "Can perform only C++ lookup"); [all...] |
SemaCodeComplete.cpp | 534 if (AllowNestedNameSpecifiers && SemaRef.getLangOpts().CPlusPlus && 554 if (!SemaRef.getLangOpts().CPlusPlus) 733 if (!SemaRef.getLangOpts().CPlusPlus || !R.Declaration || [all...] |
/external/clang/lib/Basic/ |
IdentifierTable.cpp | 123 else if (LangOpts.CPlusPlus && (Flags & KEYCXX)) AddResult = 2; 132 else if (!LangOpts.CPlusPlus && (Flags & KEYNOCXX)) AddResult = 2; 137 else if (LangOpts.CPlusPlus && (Flags & KEYCXX0X)) AddResult = 3;
|
Module.cpp | 58 .Case("cplusplus", LangOpts.CPlusPlus)
|
/external/clang/lib/ARCMigrate/ |
TransBlockObjCVariable.cpp | 57 Var->getASTContext().getLangOpts().CPlusPlus)
|
/external/clang/tools/libclang/ |
CIndexCodeCompletion.cpp | 351 if (S.getLangOpts().CPlusPlus) { 364 if (S.getLangOpts().CPlusPlus) { 375 if (S.getLangOpts().CPlusPlus) { 390 if (S.getLangOpts().CPlusPlus) { 457 if (S.getLangOpts().CPlusPlus) { [all...] |