[llvm-commits] [hlvm] r38040 - /hlvm/trunk/hlvm/AST/Node.h

Reid Spencer reid at x10sys.com
Sat Jul 7 16:59:13 PDT 2007


Author: reid
Date: Sat Jul  7 18:59:13 2007
New Revision: 38040

URL: http://llvm.org/viewvc/llvm-project?rev=38040&view=rev
Log:
Allow the node ID to be obtained.

Modified:
    hlvm/trunk/hlvm/AST/Node.h

Modified: hlvm/trunk/hlvm/AST/Node.h
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/AST/Node.h?rev=38040&r1=38039&r2=38040&view=diff

==============================================================================
--- hlvm/trunk/hlvm/AST/Node.h (original)
+++ hlvm/trunk/hlvm/AST/Node.h Sat Jul  7 18:59:13 2007
@@ -209,7 +209,7 @@
     /// @{
     public:
       /// Get the type of node
-      inline bool getID() const { return id_; }
+      inline NodeIDs getID() const { return id_; }
 
       /// Get the name of the node
       inline const std::string& getName() { return name_; }





More information about the llvm-commits mailing list