diff options
author | Nico Weber <nicolasweber@gmx.de> | 2012-11-09 08:38:04 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2012-11-09 08:38:04 +0000 |
commit | 9512d3f161860d9a8697458ceaaab18850be8059 (patch) | |
tree | a104ac8c4e8f049fcc4031321404f55a9b4bc691 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1cfef3e9ee687d05b35127112bb58a5f1676407e (diff) | |
download | llvm-9512d3f161860d9a8697458ceaaab18850be8059.zip llvm-9512d3f161860d9a8697458ceaaab18850be8059.tar.gz llvm-9512d3f161860d9a8697458ceaaab18850be8059.tar.bz2 |
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.
llvm-svn: 167609
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions