IR: Rename the tablegen'd Attributes file to .gen
authorJustin Bogner <mail@justinbogner.com>
Thu, 29 Sep 2016 03:35:19 +0000 (03:35 +0000)
committerJustin Bogner <mail@justinbogner.com>
Thu, 29 Sep 2016 03:35:19 +0000 (03:35 +0000)
All of the other tablegen'd include files are named .gen, so it's best
to be consistent.

llvm-svn: 282680

llvm/include/llvm/IR/Attributes.h
llvm/include/llvm/IR/CMakeLists.txt

index f4da90b..b2277d8 100644 (file)
@@ -68,7 +68,7 @@ public:
     // IR-Level Attributes
     None,                  ///< No attributes have been set
     #define GET_ATTR_ENUM
-    #include "llvm/IR/Attributes.inc"
+    #include "llvm/IR/Attributes.gen"
     EndAttrKinds           ///< Sentinal value useful for loops
   };
 
index eade87e..cf75d58 100644 (file)
@@ -1,5 +1,5 @@
 set(LLVM_TARGET_DEFINITIONS Attributes.td)
-tablegen(LLVM Attributes.inc -gen-attrs)
+tablegen(LLVM Attributes.gen -gen-attrs)
 
 set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
 tablegen(LLVM Intrinsics.gen -gen-intrinsic)