diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-04-07 23:29:58 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-04-07 23:29:58 +0000 |
commit | 4e150f8d35ac8e67a765eed0d3be2914e7bec61d (patch) | |
tree | 69371dfe3f4547ff54105fde146d1f7d7b0648ed /clang/lib/Parse/ParseDecl.cpp | |
parent | eb7111b98fb6281deb9d40dc9f1bf737ae770b14 (diff) | |
download | bcm5719-llvm-4e150f8d35ac8e67a765eed0d3be2914e7bec61d.tar.gz bcm5719-llvm-4e150f8d35ac8e67a765eed0d3be2914e7bec61d.zip |
Fix some redundant errors by changing CXXScopeSpec::isSet calls into
isNotEmpty calls.
llvm-svn: 100722
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseDecl.cpp b/clang/lib/Parse/ParseDecl.cpp index c85b6ee9746..73a5704878e 100644 --- a/clang/lib/Parse/ParseDecl.cpp +++ b/clang/lib/Parse/ParseDecl.cpp @@ -2427,7 +2427,7 @@ void Parser::ParseDeclaratorInternal(Declarator &D, CXXScopeSpec SS; ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/0, true); // ignore fail - if (SS.isSet()) { + if (SS.isNotEmpty()) { if (Tok.isNot(tok::star)) { // The scope spec really belongs to the direct-declarator. D.getCXXScopeSpec() = SS; |