/external/clang/lib/Lex/ |
D | Pragma.cpp | 791 if (II->isStr("ON")) in LexOnOffSwitch() 793 else if (II->isStr("OFF")) in LexOnOffSwitch() 795 else if (II->isStr("DEFAULT")) in LexOnOffSwitch() 869 if (II->isStr("assert")) { in HandlePragma() 871 } else if (II->isStr("crash")) { in HandlePragma() 873 } else if (II->isStr("parser_crash")) { in HandlePragma() 879 } else if (II->isStr("dump")) { in HandlePragma() 895 } else if (II->isStr("llvm_fatal_error")) { in HandlePragma() 897 } else if (II->isStr("llvm_unreachable")) { in HandlePragma() 899 } else if (II->isStr("macro")) { in HandlePragma() [all …]
|
D | PPDirectives.cpp | 2475 return II->isStr("__strong") || in HandleDefineDirective() 2476 II->isStr("__weak") || in HandleDefineDirective() 2477 II->isStr("__unsafe_unretained") || in HandleDefineDirective() 2478 II->isStr("__autoreleasing"); in HandleDefineDirective()
|
D | TokenLexer.cpp | 413 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro()
|
D | PPExpressions.cpp | 232 if (II->isStr("defined")) in EvaluateValue()
|
/external/clang/lib/Parse/ |
D | ParsePragma.cpp | 476 if (state == 0 && ename->isStr("all")) { in HandlePragmaOpenCLExtension() 482 #define OPENCLEXT(nm) else if (ename->isStr(#nm)) \ in HandlePragmaOpenCLExtension() 832 OptionUnroll = OptionInfo->isStr("unroll"); in HandlePragmaLoopHint() 833 OptionDistribute = OptionInfo->isStr("distribute"); in HandlePragmaLoopHint() 918 if (PushPop && PushPop->isStr("pop")) { in HandlePragma() 920 } else if (PushPop && PushPop->isStr("push")) { in HandlePragma() 996 if (II->isStr("show")) { in HandlePragma() 1000 if (II->isStr("push")) { in HandlePragma() 1002 } else if (II->isStr("pop")) { in HandlePragma() 1091 if (II->isStr("on")) { in HandlePragma() [all …]
|
D | ParseObjc.cpp | 877 if (II->isStr("readonly")) in ParseObjCPropertyAttribute() 879 else if (II->isStr("assign")) in ParseObjCPropertyAttribute() 881 else if (II->isStr("unsafe_unretained")) in ParseObjCPropertyAttribute() 883 else if (II->isStr("readwrite")) in ParseObjCPropertyAttribute() 885 else if (II->isStr("retain")) in ParseObjCPropertyAttribute() 887 else if (II->isStr("strong")) in ParseObjCPropertyAttribute() 889 else if (II->isStr("copy")) in ParseObjCPropertyAttribute() 891 else if (II->isStr("nonatomic")) in ParseObjCPropertyAttribute() 893 else if (II->isStr("atomic")) in ParseObjCPropertyAttribute() 895 else if (II->isStr("weak")) in ParseObjCPropertyAttribute() [all …]
|
/external/clang/lib/Sema/ |
D | SemaStmtAttr.cpp | 124 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr() 126 else if (StateLoc->Ident->isStr("assume_safety")) in handleLoopHintAttr() 128 else if (StateLoc->Ident->isStr("full")) in handleLoopHintAttr() 130 else if (StateLoc->Ident->isStr("enable")) in handleLoopHintAttr()
|
D | SemaType.cpp | 86 if (II->isStr("strong")) { in diagnoseBadTypeAttribute() 88 } else if (II->isStr("weak")) { in diagnoseBadTypeAttribute() 5409 if (II->isStr("none")) in handleObjCOwnershipTypeAttr() 5411 else if (II->isStr("strong")) in handleObjCOwnershipTypeAttr() 5413 else if (II->isStr("weak")) in handleObjCOwnershipTypeAttr() 5415 else if (II->isStr("autoreleasing")) in handleObjCOwnershipTypeAttr() 5586 if (II->isStr("weak")) in handleObjCGCTypeAttr() 5588 else if (II->isStr("strong")) in handleObjCGCTypeAttr() 6550 if (attr.getScopeName() && attr.getScopeName()->isStr("gnu")) { in processTypeAttrs()
|
D | SemaDecl.cpp | 1750 if (!II->isStr("objc_msgSendSuper")) in LookupPredefedObjCSuperType() 1951 if (!TypeID->isStr("id")) in MergeTypedefNameDecl() 1967 if (!TypeID->isStr("Class")) in MergeTypedefNameDecl() 1974 if (!TypeID->isStr("SEL")) in MergeTypedefNameDecl() 5410 if (II->isStr("FILE")) in ActOnTypedefNameDecl() 5412 else if (II->isStr("jmp_buf")) in ActOnTypedefNameDecl() 5414 else if (II->isStr("sigjmp_buf")) in ActOnTypedefNameDecl() 5416 else if (II->isStr("ucontext_t")) in ActOnTypedefNameDecl() 6480 if (Name.isIdentifier() && Name.getAsIdentifierInfo()->isStr("main") && in ActOnVariableDeclarator() 8535 if (II && II->isStr("cudaConfigureCall") && !NewFD->isInvalidDecl() && in ActOnFunctionDeclarator() [all …]
|
D | SemaTemplateInstantiateDecl.cpp | 494 RD->getIdentifier() && RD->getIdentifier()->isStr("common_type") && in InstantiateTypedefNameDecl() 495 D->getIdentifier() && D->getIdentifier()->isStr("type") && in InstantiateTypedefNameDecl() 1120 Pattern->getIdentifier()->isStr("_Map_base") && in VisitClassTemplateDecl() 1123 cast<NamespaceDecl>(DC)->getIdentifier()->isStr("__detail")) { in VisitClassTemplateDecl() 1127 cast<NamespaceDecl>(DCParent)->getIdentifier()->isStr("tr1")) { in VisitClassTemplateDecl()
|
/external/clang/lib/Frontend/ |
D | ASTMerge.cpp | 66 if (II->isStr("__va_list_tag") || II->isStr("__builtin_va_list")) in ExecuteAction()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NSAutoreleasePoolChecker.cpp | 52 if (!OD->getIdentifier()->isStr("NSAutoreleasePool")) in checkPreObjCMessage()
|
D | MallocOverflowSecurityChecker.cpp | 321 if (FnInfo->isStr ("malloc") || FnInfo->isStr ("_MALLOC")) { in checkASTCodeBody()
|
D | NoReturnFunctionChecker.cpp | 116 if (!Receiver->getIdentifier()->isStr("NSAssertionHandler")) in checkPostObjCMessage()
|
D | LocalizationChecker.cpp | 745 if (odInfo->isStr("NSString")) { in checkPreObjCMessage() 1010 if (!(odInfo->isStr("NSBundle") && in VisitObjCMessageExpr() 1201 if (odInfo->isStr("NSBundle") && in VisitObjCMessageExpr()
|
/external/clang/examples/analyzer-plugin/ |
D | MainCallChecker.cpp | 32 if (II->isStr("main")) { in checkPreStmt()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 373 if (II->isStr("pthread_setspecific")) in argumentsMayEscape() 378 if (II->isStr("xpc_connection_set_context")) in argumentsMayEscape() 382 if (II->isStr("funopen")) in argumentsMayEscape() 1011 Sel.getIdentifierInfoForSlot(0)->isStr("valueWithPointer")) in argumentsMayEscape()
|
D | ExprEngineCallAndReturn.cpp | 722 if (II->isStr("shared_ptr")) in isCXXSharedPtrDtor()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 2517 return II && II->isStr(Str); in isNamed() 3413 if (FnInfo->isStr("memset")) in getMemoryFunctionKind() 3415 else if (FnInfo->isStr("memcpy")) in getMemoryFunctionKind() 3417 else if (FnInfo->isStr("memmove")) in getMemoryFunctionKind() 3419 else if (FnInfo->isStr("memcmp")) in getMemoryFunctionKind() 3421 else if (FnInfo->isStr("strncpy")) in getMemoryFunctionKind() 3423 else if (FnInfo->isStr("strncmp")) in getMemoryFunctionKind() 3425 else if (FnInfo->isStr("strncasecmp")) in getMemoryFunctionKind() 3427 else if (FnInfo->isStr("strncat")) in getMemoryFunctionKind() 3429 else if (FnInfo->isStr("strndup")) in getMemoryFunctionKind() [all …]
|
D | ItaniumMangle.cpp | 761 return II && II->isStr("std"); in isStd() 4290 if (!SD->getIdentifier()->isStr(Str)) in isStreamCharSpecialization() 4320 if (TD->getIdentifier()->isStr("allocator")) { in mangleStandardSubstitution() 4326 if (TD->getIdentifier()->isStr("basic_string")) { in mangleStandardSubstitution() 4340 if (SD->getIdentifier()->isStr("basic_string")) { in mangleStandardSubstitution()
|
/external/clang/lib/Frontend/Rewrite/ |
D | InclusionRewriter.cpp | 507 if (RawToken.getIdentifierInfo()->isStr("__has_include")) { in Process() 512 } else if (RawToken.getIdentifierInfo()->isStr( in Process()
|
/external/clang/include/clang/Sema/ |
D | TypoCorrection.h | 196 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str); in isKeyword()
|
/external/clang/include/clang/Basic/ |
D | IdentifierTable.h | 93 bool isStr(const char (&Str)[StrLen]) const { in isStr() function
|
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 930 if (II->isStr("std") || II->isStr("stdext")) in HasHiddenLTOVisibility()
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 445 FD->getIdentifier()->isStr("move")) { in VisitCallExpr()
|