commit | 1a52a4d36cc518725d8e8ba3b984341a30cd7fdb | [log] [tgz] |
---|---|---|
author | Nico Weber <nicolasweber@gmx.de> | Fri Nov 09 08:38:04 2012 +0000 |
committer | Nico Weber <nicolasweber@gmx.de> | Fri Nov 09 08:38:04 2012 +0000 |
tree | f6a3f51b1d286b7e2102fd3382106d9b37d9f1d8 | |
parent | e0ff690900ecb28e7d840d7f765f25437eb67c66 [diff] |
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