]> granicus.if.org Git - clang/commit
Use isInvalidDecl() instead of isStatic() as suggested by dblaikie.
authorNico Weber <nicolasweber@gmx.de>
Fri, 9 Nov 2012 08:38:04 +0000 (08:38 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 9 Nov 2012 08:38:04 +0000 (08:38 +0000)
commit1a52a4d36cc518725d8e8ba3b984341a30cd7fdb
treef6a3f51b1d286b7e2102fd3382106d9b37d9f1d8
parente0ff690900ecb28e7d840d7f765f25437eb67c66
Use isInvalidDecl() instead of isStatic() as suggested by dblaikie.

I couldn't think of a way to make an operator() invalid without returning
earlier from this function other than making it static, so no new test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167609 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOverload.cpp