Skip to content

Commit 36f467c

Browse files
authored
Merge pull request #28843 from rjmccall/swift-reaction
TypeNodes.def -> TypeNodes.inc because of a random open-source request
2 parents 1de8934 + 208ac45 commit 36f467c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/ClangImporter/ImportType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ namespace {
185185
llvm_unreachable("Dependent types cannot be converted"); \
186186
}
187187
#define TYPE(Class, Base)
188-
#include "clang/AST/TypeNodes.def"
188+
#include "clang/AST/TypeNodes.inc"
189189

190190
// Given a loaded type like CInt, look through the type alias sugar that the
191191
// stdlib uses to show the underlying type. We want to import the signature

lib/IRGen/GenCall.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ namespace {
692692
case clang::Type::Class:
693693
#define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base) \
694694
case clang::Type::Class:
695-
#include "clang/AST/TypeNodes.def"
695+
#include "clang/AST/TypeNodes.inc"
696696
llvm_unreachable("canonical or dependent type in ABI lowering");
697697

698698
// These shouldn't occur in expandable struct types.

0 commit comments

Comments
 (0)