[PATCH] D74934: [Clang interpreter] Rename Block.{h,cpp} to AllocatedBlock.{h,cpp}

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 20 15:07:25 PST 2020


MaskRay updated this revision to Diff 245755.
MaskRay added a comment.

Fix a file header


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74934/new/

https://reviews.llvm.org/D74934

Files:
  clang/lib/AST/CMakeLists.txt
  clang/lib/AST/Interp/AllocatedBlock.cpp
  clang/lib/AST/Interp/AllocatedBlock.h
  clang/lib/AST/Interp/Block.cpp
  clang/lib/AST/Interp/Block.h
  clang/lib/AST/Interp/Pointer.cpp
  clang/lib/AST/Interp/Pointer.h
  llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn


Index: llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
+++ llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
@@ -81,7 +81,7 @@
     "ExternalASTSource.cpp",
     "FormatString.cpp",
     "InheritViz.cpp",
-    "Interp/Block.cpp",
+    "Interp/AllocatedBlock.cpp",
     "Interp/ByteCodeEmitter.cpp",
     "Interp/ByteCodeExprGen.cpp",
     "Interp/ByteCodeGenError.cpp",
Index: clang/lib/AST/Interp/Pointer.h
===================================================================
--- clang/lib/AST/Interp/Pointer.h
+++ clang/lib/AST/Interp/Pointer.h
@@ -13,12 +13,12 @@
 #ifndef LLVM_CLANG_AST_INTERP_POINTER_H
 #define LLVM_CLANG_AST_INTERP_POINTER_H
 
-#include "Block.h"
+#include "AllocatedBlock.h"
 #include "Descriptor.h"
+#include "clang/AST/ComparisonCategories.h"
 #include "clang/AST/Decl.h"
 #include "clang/AST/DeclCXX.h"
 #include "clang/AST/Expr.h"
-#include "clang/AST/ComparisonCategories.h"
 #include "llvm/ADT/PointerUnion.h"
 #include "llvm/Support/raw_ostream.h"
 
Index: clang/lib/AST/Interp/Pointer.cpp
===================================================================
--- clang/lib/AST/Interp/Pointer.cpp
+++ clang/lib/AST/Interp/Pointer.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "Pointer.h"
-#include "Block.h"
+#include "AllocatedBlock.h"
 #include "Function.h"
 #include "PrimType.h"
 
Index: clang/lib/AST/Interp/AllocatedBlock.h
===================================================================
--- clang/lib/AST/Interp/AllocatedBlock.h
+++ clang/lib/AST/Interp/AllocatedBlock.h
@@ -1,4 +1,4 @@
-//===--- Block.h - Allocated blocks for the interpreter ---------*- C++ -*-===//
+//===-- AllocatedBlock.h - Allocated blocks for the interpreter -*- C++ -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
Index: clang/lib/AST/Interp/AllocatedBlock.cpp
===================================================================
--- clang/lib/AST/Interp/AllocatedBlock.cpp
+++ clang/lib/AST/Interp/AllocatedBlock.cpp
@@ -10,7 +10,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "Block.h"
+#include "AllocatedBlock.h"
 #include "Pointer.h"
 
 using namespace clang;
Index: clang/lib/AST/CMakeLists.txt
===================================================================
--- clang/lib/AST/CMakeLists.txt
+++ clang/lib/AST/CMakeLists.txt
@@ -55,7 +55,7 @@
   ExternalASTSource.cpp
   FormatString.cpp
   InheritViz.cpp
-  Interp/Block.cpp
+  Interp/AllocatedBlock.cpp
   Interp/ByteCodeEmitter.cpp
   Interp/ByteCodeExprGen.cpp
   Interp/ByteCodeGenError.cpp


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74934.245755.patch
Type: text/x-patch
Size: 2819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200220/bd726ad8/attachment.bin>


More information about the cfe-commits mailing list