From 0009fef06c436d240aef5b853397168b09908ac1 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Thu, 29 Sep 2016 03:35:19 +0000 Subject: [PATCH] IR: Rename the tablegen'd Attributes file to .gen 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 | 2 +- llvm/include/llvm/IR/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h index f4da90b..b2277d8 100644 --- a/llvm/include/llvm/IR/Attributes.h +++ b/llvm/include/llvm/IR/Attributes.h @@ -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 }; diff --git a/llvm/include/llvm/IR/CMakeLists.txt b/llvm/include/llvm/IR/CMakeLists.txt index eade87e..cf75d58 100644 --- a/llvm/include/llvm/IR/CMakeLists.txt +++ b/llvm/include/llvm/IR/CMakeLists.txt @@ -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) -- 2.7.4