aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/Mangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/Mangle.h')
-rw-r--r--include/clang/AST/Mangle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clang/AST/Mangle.h b/include/clang/AST/Mangle.h
index e875c31fc0..4df2955aec 100644
--- a/include/clang/AST/Mangle.h
+++ b/include/clang/AST/Mangle.h
@@ -148,6 +148,12 @@ public:
virtual void mangleDynamicAtExitDestructor(const VarDecl *D,
raw_ostream &) = 0;
+ /// Generates a unique string for an externally visible type for use with TBAA
+ /// or type uniquing.
+ /// TODO: Extend this to internal types by generating names that are unique
+ /// across translation units so it can be used with LTO.
+ virtual void mangleTypeName(QualType T, raw_ostream &) = 0;
+
/// @}
};