diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/AST/DeclBase.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index 852bb9ab04..4af49efb7d 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -1479,7 +1479,11 @@ public: inline ddiag_iterator ddiag_end() const; // Low-level accessors - + + bool mustBuildLookupTable() { + return LookupPtr.getInt(); + } + /// \brief Mark the lookup table as needing to be built. This should be /// used only if setHasExternalLexicalStorage() has been called on any /// decl context for which this is the primary context. |