mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
[lldb][NFC] Make DeclOrigin::Valid() const
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user