The Blocks runtime provide a header named Block.h.
It is generally preferable to avoid name collision with system headers
(reducing reliance on -isystem order, more friendly when navigating files in
an editor, etc).
Reviewed By: gribozavr2
Differential Revision: https://reviews.llvm.org/D74934
ExternalASTSource.cpp
FormatString.cpp
InheritViz.cpp
- Interp/Block.cpp
Interp/ByteCodeEmitter.cpp
Interp/ByteCodeExprGen.cpp
Interp/ByteCodeGenError.cpp
Interp/Frame.cpp
Interp/Function.cpp
Interp/Interp.cpp
+ Interp/InterpBlock.cpp
Interp/InterpFrame.cpp
Interp/InterpStack.cpp
Interp/InterpState.cpp
//
//===----------------------------------------------------------------------===//
-#include "Block.h"
+#include "InterpBlock.h"
#include "Pointer.h"
using namespace clang;
-//===--- Block.h - Allocated blocks for the interpreter ---------*- C++ -*-===//
+//===-- InterpBlock.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.
//===----------------------------------------------------------------------===//
#include "Pointer.h"
-#include "Block.h"
#include "Function.h"
+#include "InterpBlock.h"
#include "PrimType.h"
using namespace clang;
#ifndef LLVM_CLANG_AST_INTERP_POINTER_H
#define LLVM_CLANG_AST_INTERP_POINTER_H
-#include "Block.h"
#include "Descriptor.h"
+#include "InterpBlock.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"
"ExternalASTSource.cpp",
"FormatString.cpp",
"InheritViz.cpp",
- "Interp/Block.cpp",
"Interp/ByteCodeEmitter.cpp",
"Interp/ByteCodeExprGen.cpp",
"Interp/ByteCodeGenError.cpp",
"Interp/Frame.cpp",
"Interp/Function.cpp",
"Interp/Interp.cpp",
+ "Interp/InterpBlock.cpp",
"Interp/InterpFrame.cpp",
"Interp/InterpStack.cpp",
"Interp/InterpState.cpp",