[llvm-commits] CVS: llvm/include/llvm/Type.h
LLVM
llvm at cs.uiuc.edu
Wed May 26 16:52:01 PDT 2004
Changes in directory llvm/include/llvm:
Type.h updated: 1.43 -> 1.44
---
Log message:
Provide the correct patch for bug 345: http://llvm.cs.uiuc.edu/PR345 . The solution is to add a setTypeName
function to llvmAsmParser.y and then use it in the one place in the grammar
that needs it. Also had to make Type::setName public because setTypeName
needs it in order to retain compatibility with setValueName.
---
Diffs of the changes: (+5 -4)
Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.43 llvm/include/llvm/Type.h:1.44
--- llvm/include/llvm/Type.h:1.43 Tue May 25 03:46:04 2004
+++ llvm/include/llvm/Type.h Wed May 26 16:48:31 2004
@@ -96,10 +96,6 @@
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.
///
@@ -130,6 +126,11 @@
/// @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
More information about the llvm-commits
mailing list