| /src/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseOpenACC.cpp | 197 return Tok.getIdentifierInfo()->isStr("readonly"); in isOpenACCSpecialToken() 199 return Tok.getIdentifierInfo()->isStr("devnum"); in isOpenACCSpecialToken() 201 return Tok.getIdentifierInfo()->isStr("queues"); in isOpenACCSpecialToken() 203 return Tok.getIdentifierInfo()->isStr("zero"); in isOpenACCSpecialToken() 205 return Tok.getIdentifierInfo()->isStr("force"); in isOpenACCSpecialToken() 207 return Tok.getIdentifierInfo()->isStr("num"); in isOpenACCSpecialToken() 209 return Tok.getIdentifierInfo()->isStr("length"); in isOpenACCSpecialToken() 211 return Tok.getIdentifierInfo()->isStr("dim"); in isOpenACCSpecialToken() 213 return Tok.getIdentifierInfo()->isStr("static"); in isOpenACCSpecialToken() 266 return Tok.getIdentifierInfo()->isStr("parallel"); in isOpenACCDirectiveKind() [all …]
|
| H A D | ParsePragma.cpp | 335 if (II->isStr("on")) { in HandlePragma() 338 } else if (II->isStr("off")) { in HandlePragma() 1319 if (II && II->isStr("off")) { in HandlePragmaMSStrictGuardStackCheck() 1322 } else if (II && II->isStr("on")) { in HandlePragmaMSStrictGuardStackCheck() 1460 OptionUnroll = OptionInfo->isStr("unroll"); in HandlePragmaLoopHint() 1461 OptionUnrollAndJam = OptionInfo->isStr("unroll_and_jam"); in HandlePragmaLoopHint() 1462 OptionDistribute = OptionInfo->isStr("distribute"); in HandlePragmaLoopHint() 1463 OptionPipelineDisabled = OptionInfo->isStr("pipeline"); in HandlePragmaLoopHint() 1797 if (II->isStr("apply_to")) in getAttributeSubjectRulesRecoveryPointForToken() 1799 if (II->isStr("any")) in getAttributeSubjectRulesRecoveryPointForToken() [all …]
|
| H A D | ParseObjc.cpp | 917 if (II->isStr("readonly")) in ParseObjCPropertyAttribute() 919 else if (II->isStr("assign")) in ParseObjCPropertyAttribute() 921 else if (II->isStr("unsafe_unretained")) in ParseObjCPropertyAttribute() 923 else if (II->isStr("readwrite")) in ParseObjCPropertyAttribute() 925 else if (II->isStr("retain")) in ParseObjCPropertyAttribute() 927 else if (II->isStr("strong")) in ParseObjCPropertyAttribute() 929 else if (II->isStr("copy")) in ParseObjCPropertyAttribute() 931 else if (II->isStr("nonatomic")) in ParseObjCPropertyAttribute() 933 else if (II->isStr("atomic")) in ParseObjCPropertyAttribute() 935 else if (II->isStr("weak")) in ParseObjCPropertyAttribute() [all …]
|
| H A D | ParseDeclCXX.cpp | 1140 if (Tok.getIdentifierInfo()->isStr("decltype")) in ParseDecltypeSpecifier() 4532 if (AttrName->isStr("directive")) { in ParseOpenMPAttributeArgs() 4550 assert(AttrName->isStr("sequence") && in ParseOpenMPAttributeArgs() 4564 if (Ident && Ident->isStr("omp") && !ExpectAndConsume(tok::coloncolon)) in ParseOpenMPAttributeArgs() 4569 if (!Ident || (!Ident->isStr("directive") && !Ident->isStr("sequence"))) { in ParseOpenMPAttributeArgs() 4706 if (ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__"))) { in ParseCXX11AttributeArgs() 4715 if (ScopeName && ScopeName->isStr("omp") && in ParseCXX11AttributeArgs() 4716 (AttrName->isStr("directive") || AttrName->isStr("sequence"))) { in ParseCXX11AttributeArgs() 4730 if (ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang"))) in ParseCXX11AttributeArgs() 4734 else if (!ScopeName && AttrName->isStr("assume")) { in ParseCXX11AttributeArgs()
|
| H A D | ParseOpenMP.cpp | 399 Tok.getIdentifierInfo()->isStr("initializer")) { in ParseOpenMPDeclareReductionDirective() 423 Tok.getIdentifierInfo()->isStr("omp_priv")) { in ParseOpenMPDeclareReductionDirective() 1525 while (Tok.is(tok::identifier) && Tok.getIdentifierInfo()->isStr("interop")) { in parseOpenMPAppendArgs() 3483 if (Tok.getIdentifierInfo()->isStr("target")) { in ParseOMPInteropInfo() 3491 } else if (Tok.getIdentifierInfo()->isStr("targetsync")) { in ParseOMPInteropInfo() 3496 } else if (Tok.getIdentifierInfo()->isStr("prefer_type") && in ParseOMPInteropInfo() 4334 Tok.getIdentifierInfo()->isStr("omp_all_memory")) { in ParseOpenMPReservedLocator() 4472 Tok.getIdentifierInfo()->isStr("omp_cur_iteration")) { in ParseOpenMPVarList()
|
| /src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Pragma.cpp | 977 if (II->isStr("ON")) in LexOnOffSwitch() 979 else if (II->isStr("OFF")) in LexOnOffSwitch() 981 else if (II->isStr("DEFAULT")) in LexOnOffSwitch() 1063 if (II->isStr("assert")) { in HandlePragma() 1066 } else if (II->isStr("crash")) { in HandlePragma() 1071 } else if (II->isStr("parser_crash")) { in HandlePragma() 1079 } else if (II->isStr("dump")) { in HandlePragma() 1085 } else if (II->isStr("diag_mapping")) { in HandlePragma() 1100 } else if (II->isStr("llvm_fatal_error")) { in HandlePragma() 1103 } else if (II->isStr("llvm_unreachable")) { in HandlePragma() [all …]
|
| H A D | PPDirectives.cpp | 3139 return II->isStr("__strong") || II->isStr("__weak") || in isObjCProtectedMacro() 3140 II->isStr("__unsafe_unretained") || II->isStr("__autoreleasing"); in isObjCProtectedMacro() 3279 MacroNameTok.getIdentifierInfo()->isStr("assert") && in HandleDefineDirective()
|
| H A D | TokenLexer.cpp | 617 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro()
|
| H A D | PPExpressions.cpp | 253 if (II->isStr("defined")) in EvaluateValue()
|
| /src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | Attributes.cpp | 118 return ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__")); in isGNUScope() 122 return ScopeName && (ScopeName->isStr("clang") || ScopeName->isStr("_Clang")); in isClangScope()
|
| /src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | ASTMerge.cpp | 65 if (II->isStr("__va_list_tag") || II->isStr("__builtin_va_list")) in ExecuteAction()
|
| /src/contrib/llvm-project/clang/lib/Analysis/plugins/SampleAnalyzer/ |
| H A D | MainCallChecker.cpp | 31 if (II->isStr("main")) { in checkPreStmt()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NSAutoreleasePoolChecker.cpp | 52 if (!OD->getIdentifier()->isStr("NSAutoreleasePool")) in checkPreObjCMessage()
|
| H A D | MallocOverflowSecurityChecker.cpp | 322 if (FnInfo->isStr("malloc") || FnInfo->isStr("_MALLOC")) { in checkASTCodeBody()
|
| H A D | NoReturnFunctionChecker.cpp | 117 if (!Receiver->getIdentifier()->isStr("NSAssertionHandler")) in checkPostObjCMessage()
|
| H A D | LocalizationChecker.cpp | 810 if (odInfo->isStr("NSString")) { in checkPreObjCMessage() 1111 if (!(odInfo->isStr("NSBundle") && in VisitObjCMessageExpr() 1306 if (odInfo->isStr("NSBundle") && in VisitObjCMessageExpr()
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAttr.cpp | 156 if (StateLoc && StateLoc->Ident && StateLoc->Ident->isStr("scalable")) in handleLoopHintAttr() 175 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr() 177 else if (StateLoc->Ident->isStr("assume_safety")) in handleLoopHintAttr() 179 else if (StateLoc->Ident->isStr("full")) in handleLoopHintAttr() 181 else if (StateLoc->Ident->isStr("enable")) in handleLoopHintAttr()
|
| H A D | SemaExceptionSpec.cpp | 52 !D.getIdentifier() || !D.getIdentifier()->isStr("swap")) in isLibstdcxxEagerExceptionSpecHack() 64 if (!II || !(II->isStr("__debug") || II->isStr("__profile")) || in isLibstdcxxEagerExceptionSpecHack()
|
| H A D | SemaModule.cpp | 234 if (II->isStr("module") || II->isStr("import")) in DiagReservedModuleName()
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 3257 return II && II->isStr(Str); in isNamed() 3434 if (II && II->isStr("__hot_cold_t")) in isReplaceableGlobalAllocationFunction() 3477 RD->getIdentifier()->isStr("destroying_delete_t"); in isDestroyingOperatorDelete() 4474 if (FnInfo->isStr("memset")) in getMemoryFunctionKind() 4476 if (FnInfo->isStr("memcpy")) in getMemoryFunctionKind() 4478 if (FnInfo->isStr("mempcpy")) in getMemoryFunctionKind() 4480 if (FnInfo->isStr("memmove")) in getMemoryFunctionKind() 4482 if (FnInfo->isStr("memcmp")) in getMemoryFunctionKind() 4484 if (FnInfo->isStr("bcmp")) in getMemoryFunctionKind() 4486 if (FnInfo->isStr("strncpy")) in getMemoryFunctionKind() [all …]
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | CallEvent.cpp | 641 if (II->isStr("pthread_setspecific")) in argumentsMayEscape() 646 if (II->isStr("xpc_connection_set_context")) in argumentsMayEscape() 650 if (II->isStr("funopen")) in argumentsMayEscape() 655 if (II->isStr("__cxa_demangle")) in argumentsMayEscape() 1378 Sel.getIdentifierInfoForSlot(0)->isStr("valueWithPointer")) in argumentsMayEscape()
|
| /src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | IdentifierTable.h | 228 bool isStr(const char (&Str)[StrLen]) const { in isStr() function 234 bool isStr(llvm::StringRef Str) const { in isStr() function
|
| /src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 209 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str); in isKeyword()
|
| /src/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | RetainSummaryManager.cpp | 612 if (Name->isStr("CGBitmapContextCreateWithData") || in updateSummaryForNonZeroCallbackArg() 613 Name->isStr("dispatch_data_create")) in updateSummaryForNonZeroCallbackArg() 731 if (II->isStr("NSMakeCollectable")) in canEval()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGVTables.cpp | 1293 if (II->isStr("std") || II->isStr("stdext")) in AlwaysHasLTOVisibilityPublic()
|