add method to access a template argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67458 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-03-22 00:18:18 +00:00
parent 64da9409cb
commit 4cc2b85861

View File

@ -51,6 +51,10 @@ public:
/// getFolder - Get the constant folder being used. /// getFolder - Get the constant folder being used.
const T& getFolder() { return Folder; } 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 // Builder configuration methods
//===--------------------------------------------------------------------===// //===--------------------------------------------------------------------===//