OSDN Git Service

Rename this, in case people think that NullFolder
authorDuncan Sands <baldrick@free.fr>
Wed, 13 Aug 2008 08:56:48 +0000 (08:56 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 13 Aug 2008 08:56:48 +0000 (08:56 +0000)
has something to do with folding null values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54725 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/NoFolder.h [moved from include/llvm/Support/NullFolder.h with 96% similarity]

similarity index 96%
rename from include/llvm/Support/NullFolder.h
rename to include/llvm/Support/NoFolder.h
index 634d38e..f4bec62 100644 (file)
@@ -1,4 +1,4 @@
-//=====-- llvm/Support/NullFolder.h - Constant folding helper -*- C++ -*-=====//
+//======-- llvm/Support/NoFolder.h - Constant folding helper -*- C++ -*-======//
 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// This file defines the NullFolder class, a helper for IRBuilder.  It provides
+// This file defines the NoFolder class, a helper for IRBuilder.  It provides
 // IRBuilder with a set of methods for creating unfolded constants.  This is
 // useful for learners trying to understand how LLVM IR works, and who don't
 // want details to be hidden by the constant folder.  For general constant
@@ -28,8 +28,8 @@
 
 namespace llvm {
 
-/// NullFolder - Create "constants" (actually, values) with no folding.
-class NullFolder {
+/// NoFolder - Create "constants" (actually, values) with no folding.
+class NoFolder {
 public:
 
   //===--------------------------------------------------------------------===//