Home
last modified time | relevance | path

Searched refs:isStr (Results 1 – 25 of 41) sorted by relevance

12

/external/clang/lib/Parse/
DParsePragma.cpp458 if (state == 0 && ename->isStr("all")) { in HandlePragmaOpenCLExtension()
462 #define OPENCLEXT(nm) else if (ename->isStr(#nm)) { f.nm = state; } in HandlePragmaOpenCLExtension()
822 bool OptionUnroll = OptionInfo->isStr("unroll"); in HandlePragmaLoopHint()
825 if (!StateInfo || ((OptionUnroll ? !StateInfo->isStr("full") in HandlePragmaLoopHint()
826 : !StateInfo->isStr("enable")) && in HandlePragmaLoopHint()
827 !StateInfo->isStr("disable"))) { in HandlePragmaLoopHint()
882 if (PushPop && PushPop->isStr("pop")) { in HandlePragma()
884 } else if (PushPop && PushPop->isStr("push")) { in HandlePragma()
962 if (II->isStr("show")) { in HandlePragma()
966 if (II->isStr("push")) { in HandlePragma()
[all …]
DParseObjc.cpp553 if (II->isStr("readonly")) in ParseObjCPropertyAttribute()
555 else if (II->isStr("assign")) in ParseObjCPropertyAttribute()
557 else if (II->isStr("unsafe_unretained")) in ParseObjCPropertyAttribute()
559 else if (II->isStr("readwrite")) in ParseObjCPropertyAttribute()
561 else if (II->isStr("retain")) in ParseObjCPropertyAttribute()
563 else if (II->isStr("strong")) in ParseObjCPropertyAttribute()
565 else if (II->isStr("copy")) in ParseObjCPropertyAttribute()
567 else if (II->isStr("nonatomic")) in ParseObjCPropertyAttribute()
569 else if (II->isStr("atomic")) in ParseObjCPropertyAttribute()
571 else if (II->isStr("weak")) in ParseObjCPropertyAttribute()
[all …]
DParseDecl.cpp368 if (AttrName->isStr("enable_if") && D && D->isFunctionDeclarator()) { in ParseGNUAttributeArgs()
1271 if (Flag->isStr("layout_compatible")) in ParseTypeTagForDatatypeAttribute()
1273 else if (Flag->isStr("must_be_null")) in ParseTypeTagForDatatypeAttribute()
5381 GetLookAheadToken(4).getIdentifierInfo()->isStr("swap")) { in ParseFunctionDeclarator()
/external/clang/lib/Lex/
DPragma.cpp789 if (II->isStr("ON")) in LexOnOffSwitch()
791 else if (II->isStr("OFF")) in LexOnOffSwitch()
793 else if (II->isStr("DEFAULT")) in LexOnOffSwitch()
867 if (II->isStr("assert")) { in HandlePragma()
869 } else if (II->isStr("crash")) { in HandlePragma()
871 } else if (II->isStr("parser_crash")) { in HandlePragma()
877 } else if (II->isStr("llvm_fatal_error")) { in HandlePragma()
879 } else if (II->isStr("llvm_unreachable")) { in HandlePragma()
881 } else if (II->isStr("overflow_stack")) { in HandlePragma()
883 } else if (II->isStr("handle_crash")) { in HandlePragma()
[all …]
DTokenLexer.cpp413 FirstTok.getIdentifierInfo()->isStr("L") && SecondTok.isLiteral() && in isWideStringLiteralFromMacro()
DPPExpressions.cpp185 if (II->isStr("defined")) in EvaluateValue()
/external/clang/lib/Frontend/
DASTMerge.cpp64 if (II->isStr("__va_list_tag") || II->isStr("__builtin_va_list")) in ExecuteAction()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp253 if (FnInfo->isStr ("malloc") || FnInfo->isStr ("_MALLOC")) { in checkASTCodeBody()
DNSAutoreleasePoolChecker.cpp52 if (!OD->getIdentifier()->isStr("NSAutoreleasePool")) in checkPreObjCMessage()
DNoReturnFunctionChecker.cpp115 if (!Receiver->getIdentifier()->isStr("NSAssertionHandler")) in checkPostObjCMessage()
/external/clang/examples/analyzer-plugin/
DMainCallChecker.cpp32 if (II->isStr("main")) { in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp345 if (II->isStr("pthread_setspecific")) in argumentsMayEscape()
350 if (II->isStr("xpc_connection_set_context")) in argumentsMayEscape()
354 if (II->isStr("funopen")) in argumentsMayEscape()
876 Sel.getIdentifierInfoForSlot(0)->isStr("valueWithPointer")) in argumentsMayEscape()
DExprEngineCallAndReturn.cpp732 if (II->isStr("shared_ptr")) in isCXXSharedPtrDtor()
/external/clang/lib/AST/
DDecl.cpp2412 return II && II->isStr(Str); in isNamed()
3274 if (FnInfo->isStr("memset")) in getMemoryFunctionKind()
3276 else if (FnInfo->isStr("memcpy")) in getMemoryFunctionKind()
3278 else if (FnInfo->isStr("memmove")) in getMemoryFunctionKind()
3280 else if (FnInfo->isStr("memcmp")) in getMemoryFunctionKind()
3282 else if (FnInfo->isStr("strncpy")) in getMemoryFunctionKind()
3284 else if (FnInfo->isStr("strncmp")) in getMemoryFunctionKind()
3286 else if (FnInfo->isStr("strncasecmp")) in getMemoryFunctionKind()
3288 else if (FnInfo->isStr("strncat")) in getMemoryFunctionKind()
3290 else if (FnInfo->isStr("strndup")) in getMemoryFunctionKind()
[all …]
DItaniumMangle.cpp546 return II && II->isStr("std"); in isStd()
3719 if (!SD->getIdentifier()->isStr(Str)) in isStreamCharSpecialization()
3749 if (TD->getIdentifier()->isStr("allocator")) { in mangleStandardSubstitution()
3755 if (TD->getIdentifier()->isStr("basic_string")) { in mangleStandardSubstitution()
3769 if (SD->getIdentifier()->isStr("basic_string")) { in mangleStandardSubstitution()
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp490 if (RawToken.getIdentifierInfo()->isStr("__has_include")) { in Process()
495 } else if (RawToken.getIdentifierInfo()->isStr( in Process()
/external/clang/include/clang/Sema/
DTypoCorrection.h190 return isKeyword() && getCorrectionAsIdentifierInfo()->isStr(Str); in isKeyword()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp106 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr()
DSemaType.cpp85 if (II->isStr("strong")) { in diagnoseBadTypeAttribute()
87 } else if (II->isStr("weak")) { in diagnoseBadTypeAttribute()
4120 if (II->isStr("none")) in handleObjCOwnershipTypeAttr()
4122 else if (II->isStr("strong")) in handleObjCOwnershipTypeAttr()
4124 else if (II->isStr("weak")) in handleObjCOwnershipTypeAttr()
4126 else if (II->isStr("autoreleasing")) in handleObjCOwnershipTypeAttr()
4258 if (II->isStr("weak")) in handleObjCGCTypeAttr()
4260 else if (II->isStr("strong")) in handleObjCGCTypeAttr()
4895 if (attr.getScopeName() && attr.getScopeName()->isStr("gnu")) { in processTypeAttrs()
DSemaDecl.cpp1681 if (!II->isStr("objc_msgSendSuper")) in LookupPredefedObjCSuperType()
1910 if (!TypeID->isStr("id")) in MergeTypedefNameDecl()
1926 if (!TypeID->isStr("Class")) in MergeTypedefNameDecl()
1933 if (!TypeID->isStr("SEL")) in MergeTypedefNameDecl()
5078 if (II->isStr("FILE")) in ActOnTypedefNameDecl()
5080 else if (II->isStr("jmp_buf")) in ActOnTypedefNameDecl()
5082 else if (II->isStr("sigjmp_buf")) in ActOnTypedefNameDecl()
5084 else if (II->isStr("ucontext_t")) in ActOnTypedefNameDecl()
7865 if (II->isStr("cudaConfigureCall")) { in ActOnFunctionDeclarator()
8606 FD->getIdentifier()->isStr("move")) { in VisitCallExpr()
[all …]
DSemaTemplateInstantiateDecl.cpp348 RD->getIdentifier() && RD->getIdentifier()->isStr("common_type") && in InstantiateTypedefNameDecl()
349 D->getIdentifier() && D->getIdentifier()->isStr("type") && in InstantiateTypedefNameDecl()
967 Pattern->getIdentifier()->isStr("_Map_base") && in VisitClassTemplateDecl()
970 cast<NamespaceDecl>(DC)->getIdentifier()->isStr("__detail")) { in VisitClassTemplateDecl()
974 cast<NamespaceDecl>(DCParent)->getIdentifier()->isStr("tr1")) { in VisitClassTemplateDecl()
DSemaExceptionSpec.cpp49 !D.getIdentifier() || !D.getIdentifier()->isStr("swap")) in isLibstdcxxEagerExceptionSpecHack()
DSemaExprObjC.cpp1690 if (receiverNamePtr->isStr("super")) { in ActOnClassPropertyRefExpr()
3353 if (Parm->isStr("id")) in CheckObjCBridgeNSCast()
3418 if (Parm->isStr("id")) in CheckObjCBridgeCFCast()
/external/clang/include/clang/Basic/
DIdentifierTable.h89 bool isStr(const char (&Str)[StrLen]) const { in isStr() function
/external/clang/lib/Analysis/
DUninitializedValues.cpp445 FD->getIdentifier()->isStr("move")) { in VisitCallExpr()

12