[lldb][NFC] Make DeclOrigin::Valid() const

This commit is contained in:
Raphael Isemann 2020-12-03 00:08:19 +01:00
parent 168b803b45
commit c49e718051
1 changed files with 1 additions and 1 deletions

View File

@ -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;