diff options
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r-- | include/clang/AST/Type.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index 10143a67ca..24c3459f38 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -1774,8 +1774,9 @@ public: /// \brief Determine the linkage and visibility of this type. LinkageInfo getLinkageAndVisibility() const; - /// \brief Note that the linkage is no longer known. - void ClearLinkageCache(); + /// \brief True if the computed linkage is valid. Used for consistency + /// checking. Should always return true. + bool isLinkageValid() const; const char *getTypeClassName() const; |