diff options
author | Chris Lattner <sabre@nondot.org> | 2010-06-14 18:31:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-06-14 18:31:46 +0000 |
commit | f0ed9ef428a051bafc914b9935dcd1d1aa30cf3f (patch) | |
tree | 9141dce70b640396ed1661b2b1c6277a99ce6350 /lib/AST/Decl.cpp | |
parent | a6cebabcf8a00dc888830dd8a3839693d3ec8429 (diff) |
Fix:
Decl.cpp:716:28: warning: initialization of pointer of type 'clang::VarDecl *' from literal 'false' [-Wbool-conversions]
VarDecl *LastTentative = false;
^
RewriteRope.cpp:535:12: warning: initialization of pointer of type '<anonymous>::RopePieceBTreeNode *' from literal 'false'
[-Wbool-conversions]
return false;
^
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Decl.cpp')
-rw-r--r-- | lib/AST/Decl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Decl.cpp b/lib/AST/Decl.cpp index cad7f1f88a..4593c6f0e5 100644 --- a/lib/AST/Decl.cpp +++ b/lib/AST/Decl.cpp @@ -713,7 +713,7 @@ VarDecl *VarDecl::getActingDefinition() { if (Kind != TentativeDefinition) return 0; - VarDecl *LastTentative = false; + VarDecl *LastTentative = 0; VarDecl *First = getFirstDeclaration(); for (redecl_iterator I = First->redecls_begin(), E = First->redecls_end(); I != E; ++I) { |