Home
last modified time | relevance | path

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

1234

/external/clang/lib/Lex/
DPragma.cpp791 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 …]
/external/llvm-project/clang/lib/Lex/
DPragma.cpp957 if (II->isStr("ON")) in LexOnOffSwitch()
959 else if (II->isStr("OFF")) in LexOnOffSwitch()
961 else if (II->isStr("DEFAULT")) in LexOnOffSwitch()
1043 if (II->isStr("assert")) { in HandlePragma()
1046 } else if (II->isStr("crash")) { in HandlePragma()
1051 } else if (II->isStr("parser_crash")) { in HandlePragma()
1059 } else if (II->isStr("dump")) { in HandlePragma()
1075 } else if (II->isStr("diag_mapping")) { in HandlePragma()
1089 } else if (II->isStr("llvm_fatal_error")) { in HandlePragma()
1092 } else if (II->isStr("llvm_unreachable")) { in HandlePragma()
[all …]
/external/llvm-project/clang/lib/Parse/
DParsePragma.cpp1138 OptionUnroll = OptionInfo->isStr("unroll"); in HandlePragmaLoopHint()
1139 OptionUnrollAndJam = OptionInfo->isStr("unroll_and_jam"); in HandlePragmaLoopHint()
1140 OptionDistribute = OptionInfo->isStr("distribute"); in HandlePragmaLoopHint()
1141 OptionPipelineDisabled = OptionInfo->isStr("pipeline"); in HandlePragmaLoopHint()
1406 if (II->isStr("apply_to")) in getAttributeSubjectRulesRecoveryPointForToken()
1408 if (II->isStr("any")) in getAttributeSubjectRulesRecoveryPointForToken()
1606 if (!II->isStr("apply_to")) { in HandlePragmaAttribute()
1665 if (PushPop && PushPop->isStr("pop")) { in HandlePragma()
1667 } else if (PushPop && PushPop->isStr("push")) { in HandlePragma()
1744 if (II->isStr("show")) { in HandlePragma()
[all …]
DParseObjc.cpp863 if (II->isStr("readonly")) in ParseObjCPropertyAttribute()
865 else if (II->isStr("assign")) in ParseObjCPropertyAttribute()
867 else if (II->isStr("unsafe_unretained")) in ParseObjCPropertyAttribute()
869 else if (II->isStr("readwrite")) in ParseObjCPropertyAttribute()
871 else if (II->isStr("retain")) in ParseObjCPropertyAttribute()
873 else if (II->isStr("strong")) in ParseObjCPropertyAttribute()
875 else if (II->isStr("copy")) in ParseObjCPropertyAttribute()
877 else if (II->isStr("nonatomic")) in ParseObjCPropertyAttribute()
879 else if (II->isStr("atomic")) in ParseObjCPropertyAttribute()
881 else if (II->isStr("weak")) in ParseObjCPropertyAttribute()
[all …]
/external/clang/lib/Parse/
DParsePragma.cpp476 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 …]
DParseObjc.cpp877 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/llvm-project/clang/lib/Frontend/
DASTMerge.cpp65 if (II->isStr("__va_list_tag") || II->isStr("__builtin_va_list")) in ExecuteAction()
/external/clang/lib/Frontend/
DASTMerge.cpp66 if (II->isStr("__va_list_tag") || II->isStr("__builtin_va_list")) in ExecuteAction()
/external/clang/lib/Sema/
DSemaStmtAttr.cpp124 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()
/external/llvm-project/clang/lib/Basic/
DAttributes.cpp77 return ScopeName && (ScopeName->isStr("gnu") || ScopeName->isStr("__gnu__")); in isGNUScope()
/external/llvm-project/clang/lib/Sema/
DSemaStmtAttr.cpp157 if (StateLoc->Ident->isStr("disable")) in handleLoopHintAttr()
159 else if (StateLoc->Ident->isStr("assume_safety")) in handleLoopHintAttr()
161 else if (StateLoc->Ident->isStr("full")) in handleLoopHintAttr()
163 else if (StateLoc->Ident->isStr("enable")) in handleLoopHintAttr()
/external/llvm-project/clang/lib/Analysis/plugins/SampleAnalyzer/
DMainCallChecker.cpp31 if (II->isStr("main")) { in checkPreStmt()
/external/clang/lib/StaticAnalyzer/Checkers/
DNSAutoreleasePoolChecker.cpp52 if (!OD->getIdentifier()->isStr("NSAutoreleasePool")) in checkPreObjCMessage()
DNoReturnFunctionChecker.cpp116 if (!Receiver->getIdentifier()->isStr("NSAssertionHandler")) in checkPostObjCMessage()
DMallocOverflowSecurityChecker.cpp321 if (FnInfo->isStr ("malloc") || FnInfo->isStr ("_MALLOC")) { in checkASTCodeBody()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DNSAutoreleasePoolChecker.cpp51 if (!OD->getIdentifier()->isStr("NSAutoreleasePool")) in checkPreObjCMessage()
DNoReturnFunctionChecker.cpp115 if (!Receiver->getIdentifier()->isStr("NSAssertionHandler")) in checkPostObjCMessage()
DMallocOverflowSecurityChecker.cpp323 if (FnInfo->isStr ("malloc") || FnInfo->isStr ("_MALLOC")) { in checkASTCodeBody()
/external/clang/examples/analyzer-plugin/
DMainCallChecker.cpp32 if (II->isStr("main")) { in checkPreStmt()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp614 if (II->isStr("pthread_setspecific")) in argumentsMayEscape()
619 if (II->isStr("xpc_connection_set_context")) in argumentsMayEscape()
623 if (II->isStr("funopen")) in argumentsMayEscape()
628 if (II->isStr("__cxa_demangle")) in argumentsMayEscape()
1345 Sel.getIdentifierInfoForSlot(0)->isStr("valueWithPointer")) in argumentsMayEscape()
/external/llvm-project/clang/lib/AST/
DDecl.cpp2999 return II && II->isStr(Str); in isNamed()
3148 RD->getIdentifier()->isStr("destroying_delete_t"); in isDestroyingOperatorDelete()
4043 if (FnInfo->isStr("memset")) in getMemoryFunctionKind()
4045 else if (FnInfo->isStr("memcpy")) in getMemoryFunctionKind()
4047 else if (FnInfo->isStr("mempcpy")) in getMemoryFunctionKind()
4049 else if (FnInfo->isStr("memmove")) in getMemoryFunctionKind()
4051 else if (FnInfo->isStr("memcmp")) in getMemoryFunctionKind()
4053 else if (FnInfo->isStr("bcmp")) in getMemoryFunctionKind()
4055 else if (FnInfo->isStr("strncpy")) in getMemoryFunctionKind()
4057 else if (FnInfo->isStr("strncmp")) in getMemoryFunctionKind()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp373 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()
/external/llvm-project/clang/include/clang/Basic/
DIdentifierTable.h141 bool isStr(const char (&Str)[StrLen]) const { in isStr() function
147 bool isStr(llvm::StringRef Str) const { in isStr() function
/external/clang/lib/AST/
DDecl.cpp2517 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 …]
/external/clang/lib/Frontend/Rewrite/
DInclusionRewriter.cpp507 if (RawToken.getIdentifierInfo()->isStr("__has_include")) { in Process()
512 } else if (RawToken.getIdentifierInfo()->isStr( in Process()

1234