aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Type.h')
-rw-r--r--include/llvm/Type.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 140b56445f..f35506b319 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -96,10 +96,6 @@ protected:
Type(const std::string &Name, PrimitiveID id);
virtual ~Type() {}
- /// setName - Associate the name with this type in the symbol table, but don't
- /// set the local name to be equal specified name.
- ///
- virtual void setName(const std::string &Name, SymbolTable *ST = 0);
/// Types can become nonabstract later, if they are refined.
///
@@ -131,6 +127,11 @@ public:
/// @brief Debugging support: print to stderr
virtual void dump() const;
+ /// setName - Associate the name with this type in the symbol table, but don't
+ /// set the local name to be equal specified name.
+ ///
+ virtual void setName(const std::string &Name, SymbolTable *ST = 0);
+
//===--------------------------------------------------------------------===//
// Property accessors for dealing with types... Some of these virtual methods
// are defined in private classes defined in Type.cpp for primitive types.