forked from OSchip/llvm-project
Attempt to fix 'logical operation on address of string constant'
Caused a lot of warnings for Windows: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/21178/steps/build/logs/warnings%20%2867%29 llvm-svn: 346033
This commit is contained in:
parent
88e8763bae
commit
37829b56a1
|
@ -178,7 +178,8 @@ void ento::printAnalyzerConfigList(raw_ostream &out) {
|
|||
{ \
|
||||
CMDFLAG, \
|
||||
llvm::Twine(llvm::Twine() + "(" + \
|
||||
(#TYPE == "StringRef" ? "string" : #TYPE ) + ") " DESC \
|
||||
(StringRef(#TYPE) == "StringRef" ? "string" : #TYPE ) + \
|
||||
") " DESC \
|
||||
" (default: " #DEFAULT_VAL ")").str() \
|
||||
},
|
||||
|
||||
|
@ -187,7 +188,8 @@ void ento::printAnalyzerConfigList(raw_ostream &out) {
|
|||
{ \
|
||||
CMDFLAG, \
|
||||
llvm::Twine(llvm::Twine() + "(" + \
|
||||
(#TYPE == "StringRef" ? "string" : #TYPE ) + ") " DESC \
|
||||
(StringRef(#TYPE) == "StringRef" ? "string" : #TYPE ) + \
|
||||
") " DESC \
|
||||
" (default: " #SHALLOW_VAL " in shallow mode, " #DEEP_VAL \
|
||||
" in deep mode)").str() \
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue