forked from OSchip/llvm-project
[lldb][NFC] Make DeclOrigin::Valid() const
This commit is contained in:
parent
168b803b45
commit
c49e718051
|
@ -160,7 +160,7 @@ public:
|
|||
decl = rhs.decl;
|
||||
}
|
||||
|
||||
bool Valid() { return (ctx != nullptr || decl != nullptr); }
|
||||
bool Valid() const { return (ctx != nullptr || decl != nullptr); }
|
||||
|
||||
clang::ASTContext *ctx;
|
||||
clang::Decl *decl;
|
||||
|
|
Loading…
Reference in New Issue