[llvm-commits] [llvm] r67458 - /llvm/trunk/include/llvm/Support/IRBuilder.h

Chris Lattner sabre at nondot.org
Sat Mar 21 17:18:20 PDT 2009


Author: lattner
Date: Sat Mar 21 19:18:18 2009
New Revision: 67458

URL: http://llvm.org/viewvc/llvm-project?rev=67458&view=rev
Log:
add method to access a template argument.

Modified:
    llvm/trunk/include/llvm/Support/IRBuilder.h

Modified: llvm/trunk/include/llvm/Support/IRBuilder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/IRBuilder.h?rev=67458&r1=67457&r2=67458&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/IRBuilder.h (original)
+++ llvm/trunk/include/llvm/Support/IRBuilder.h Sat Mar 21 19:18:18 2009
@@ -51,6 +51,10 @@
   /// getFolder - Get the constant folder being used.
   const T& getFolder() { return Folder; }
 
+  /// isNamePreserving - Return true if this builder is configured to actually
+  /// add the requested names to IR created through it.
+  bool isNamePreserving() const { return preserveNames; }
+  
   //===--------------------------------------------------------------------===//
   // Builder configuration methods
   //===--------------------------------------------------------------------===//





More information about the llvm-commits mailing list