aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Mangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/Mangle.h')
-rw-r--r--lib/CodeGen/Mangle.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/lib/CodeGen/Mangle.h b/lib/CodeGen/Mangle.h
index 15951fe876..81b73197d3 100644
--- a/lib/CodeGen/Mangle.h
+++ b/lib/CodeGen/Mangle.h
@@ -23,18 +23,20 @@
#include "llvm/ADT/DenseMap.h"
namespace llvm {
-template<typename T>
-class SmallVectorImpl;
+ template<typename T> class SmallVectorImpl;
}
namespace clang {
-class ASTContext;
-class CXXConstructorDecl;
-class CXXDestructorDecl;
-class FunctionDecl;
-class NamedDecl;
-class VarDecl;
+ class ASTContext;
+ class CXXConstructorDecl;
+ class CXXDestructorDecl;
+ class FunctionDecl;
+ class NamedDecl;
+ class VarDecl;
+namespace CodeGen {
+ class ThunkAdjustment;
+
/// MangleContext - Context for tracking state which persists across multiple
/// calls to the C++ name mangler.
class MangleContext {
@@ -62,7 +64,7 @@ public:
void mangleName(const NamedDecl *D, llvm::SmallVectorImpl<char> &);
void mangleThunk(const FunctionDecl *FD,
- int64_t NonVirtualOffset, int64_t VirtualOffset,
+ const ThunkAdjustment &ThisAdjustment,
llvm::SmallVectorImpl<char> &);
void mangleCovariantThunk(const FunctionDecl *FD, int64_t nv_t, int64_t v_t,
int64_t nv_r, int64_t v_r,
@@ -82,6 +84,8 @@ public:
/// @}
};
+
+}
}
#endif