[clang] 1470b85 - Remove AST inclusion from Basic include
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Wed May 12 10:56:28 PDT 2021
Author: Benjamin Kramer
Date: 2021-05-12T19:51:21+02:00
New Revision: 1470b8587f6fdc357163c2258747b77ae9ad6d7a
URL: https://github.com/llvm/llvm-project/commit/1470b8587f6fdc357163c2258747b77ae9ad6d7a
DIFF: https://github.com/llvm/llvm-project/commit/1470b8587f6fdc357163c2258747b77ae9ad6d7a.diff
LOG: Remove AST inclusion from Basic include
That's a cyclic dependency. NFC.
Added:
Modified:
clang/include/clang/Basic/Thunk.h
Removed:
################################################################################
diff --git a/clang/include/clang/Basic/Thunk.h b/clang/include/clang/Basic/Thunk.h
index 7f3c4b24ec6d..91088be6ae73 100644
--- a/clang/include/clang/Basic/Thunk.h
+++ b/clang/include/clang/Basic/Thunk.h
@@ -15,10 +15,13 @@
#ifndef LLVM_CLANG_BASIC_THUNK_H
#define LLVM_CLANG_BASIC_THUNK_H
-#include "clang/AST/GlobalDecl.h"
+#include <cstdint>
+#include <cstring>
namespace clang {
+class CXXMethodDecl;
+
/// A return adjustment.
struct ReturnAdjustment {
/// The non-virtual adjustment from the derived object to its
More information about the cfe-commits
mailing list