diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-08-04 01:24:33 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-08-04 01:24:33 +0000 |
commit | 29489a9e9ea4b3876d0c7294886460eec2476c3b (patch) | |
tree | 862ae5152493e1b9b2fedfef7fd240bab30d33c8 /clang/lib/AST/ExprConstant.cpp | |
parent | a01741fce4d1f62bae55e3995601e05c9e8ba5cd (diff) | |
download | bcm5719-llvm-29489a9e9ea4b3876d0c7294886460eec2476c3b.tar.gz bcm5719-llvm-29489a9e9ea4b3876d0c7294886460eec2476c3b.zip |
objective-C string literal has no side-effect,
resulting in issuance of unused static variable
warning now. // rdar://10777111
llvm-svn: 161291
Diffstat (limited to 'clang/lib/AST/ExprConstant.cpp')
-rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index cbcd5e8f74b..48131f940af 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -2315,6 +2315,7 @@ public: bool VisitIntegerLiteral(const IntegerLiteral *E) { return false; } bool VisitFloatingLiteral(const FloatingLiteral *E) { return false; } bool VisitStringLiteral(const StringLiteral *E) { return false; } + bool VisitObjCStringLiteral(const ObjCStringLiteral *E) { return false; } bool VisitCharacterLiteral(const CharacterLiteral *E) { return false; } bool VisitUnaryExprOrTypeTraitExpr(const UnaryExprOrTypeTraitExpr *E) { return false; } |