[clang] b6f03a5 - [NFC] Rename ClangASTEmitters.h -> ASTTableGen.h

John McCall via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 13 21:24:25 PST 2019


Author: John McCall
Date: 2019-12-14T00:16:47-05:00
New Revision: b6f03a5a6b57b7858098051e60c2ce2fd4058461

URL: https://github.com/llvm/llvm-project/commit/b6f03a5a6b57b7858098051e60c2ce2fd4058461
DIFF: https://github.com/llvm/llvm-project/commit/b6f03a5a6b57b7858098051e60c2ce2fd4058461.diff

LOG: [NFC] Rename ClangASTEmitters.h -> ASTTableGen.h

Added: 
    clang/utils/TableGen/ASTTableGen.h

Modified: 
    clang/utils/TableGen/ClangASTNodesEmitter.cpp
    clang/utils/TableGen/ClangAttrEmitter.cpp
    clang/utils/TableGen/ClangTypeNodesEmitter.cpp
    clang/utils/TableGen/TableGen.cpp

Removed: 
    clang/utils/TableGen/ClangASTEmitters.h


################################################################################
diff  --git a/clang/utils/TableGen/ClangASTEmitters.h b/clang/utils/TableGen/ASTTableGen.h
similarity index 90%
rename from clang/utils/TableGen/ClangASTEmitters.h
rename to clang/utils/TableGen/ASTTableGen.h
index 942c85f1613a..ae85fc9c22b6 100644
--- a/clang/utils/TableGen/ClangASTEmitters.h
+++ b/clang/utils/TableGen/ASTTableGen.h
@@ -1,4 +1,4 @@
-//=== ClangASTEmitters.h - Definitions for AST node emitters ----*- C++ -*-===//
+//=== ASTTableGen.h - Common definitions for AST node tablegen --*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef CLANG_AST_EMITTERS
-#define CLANG_AST_EMITTERS
+#ifndef CLANG_AST_TABLEGEN_H
+#define CLANG_AST_TABLEGEN_H
 
 #include "llvm/TableGen/Record.h"
 #include "llvm/ADT/STLExtras.h"

diff  --git a/clang/utils/TableGen/ClangASTNodesEmitter.cpp b/clang/utils/TableGen/ClangASTNodesEmitter.cpp
index 704ccda9bbd1..0a4ce8744995 100644
--- a/clang/utils/TableGen/ClangASTNodesEmitter.cpp
+++ b/clang/utils/TableGen/ClangASTNodesEmitter.cpp
@@ -10,7 +10,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "ClangASTEmitters.h"
+#include "ASTTableGen.h"
 #include "TableGenBackends.h"
 
 #include "llvm/TableGen/Error.h"

diff  --git a/clang/utils/TableGen/ClangAttrEmitter.cpp b/clang/utils/TableGen/ClangAttrEmitter.cpp
index f9f285c0d4fa..6c32c5f8e24a 100644
--- a/clang/utils/TableGen/ClangAttrEmitter.cpp
+++ b/clang/utils/TableGen/ClangAttrEmitter.cpp
@@ -11,7 +11,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "TableGenBackends.h"
-#include "ClangASTEmitters.h"
+#include "ASTTableGen.h"
 
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/DenseMap.h"

diff  --git a/clang/utils/TableGen/ClangTypeNodesEmitter.cpp b/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
index 764095393514..e20998c47ddc 100644
--- a/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
+++ b/clang/utils/TableGen/ClangTypeNodesEmitter.cpp
@@ -45,7 +45,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "ClangASTEmitters.h"
+#include "ASTTableGen.h"
 #include "TableGenBackends.h"
 
 #include "llvm/ADT/StringRef.h"

diff  --git a/clang/utils/TableGen/TableGen.cpp b/clang/utils/TableGen/TableGen.cpp
index c988a580f298..c118a32f2c33 100644
--- a/clang/utils/TableGen/TableGen.cpp
+++ b/clang/utils/TableGen/TableGen.cpp
@@ -11,7 +11,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "TableGenBackends.h" // Declares all backends.
-#include "ClangASTEmitters.h"
+#include "ASTTableGen.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/PrettyStackTrace.h"
 #include "llvm/Support/Signals.h"


        


More information about the cfe-commits mailing list