[clang] b3c0918 - [AST] Make header self-contained
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 8 03:39:59 PDT 2022
Author: Benjamin Kramer
Date: 2022-06-08T12:36:36+02:00
New Revision: b3c0918fb4809ebb681daaf1910e171b204b93ea
URL: https://github.com/llvm/llvm-project/commit/b3c0918fb4809ebb681daaf1910e171b204b93ea
DIFF: https://github.com/llvm/llvm-project/commit/b3c0918fb4809ebb681daaf1910e171b204b93ea.diff
LOG: [AST] Make header self-contained
There's a dependency in AbstractTypeReader.inc that becomes an error
after D127231.
Added:
Modified:
clang/include/clang/AST/AbstractTypeReader.h
Removed:
################################################################################
diff --git a/clang/include/clang/AST/AbstractTypeReader.h b/clang/include/clang/AST/AbstractTypeReader.h
index c9162b1779bc6..e44bbf61c0ed0 100644
--- a/clang/include/clang/AST/AbstractTypeReader.h
+++ b/clang/include/clang/AST/AbstractTypeReader.h
@@ -9,8 +9,9 @@
#ifndef LLVM_CLANG_AST_ABSTRACTTYPEREADER_H
#define LLVM_CLANG_AST_ABSTRACTTYPEREADER_H
-#include "clang/AST/Type.h"
#include "clang/AST/AbstractBasicReader.h"
+#include "clang/AST/DeclObjC.h"
+#include "clang/AST/Type.h"
namespace clang {
namespace serialization {
More information about the cfe-commits
mailing list