diff options
author | John McCall <rjmccall@apple.com> | 2019-10-02 06:35:23 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2019-10-02 06:35:23 +0000 |
commit | 36b12a861c4f769c1a5fd2fa8107f7dc7ad0d1a4 (patch) | |
tree | fca6af7c7fb42b205447893391598c217ea30b5b /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 64a362e7216a43e3ad44e50a89265e72aeb14294 (diff) | |
download | bcm5719-llvm-36b12a861c4f769c1a5fd2fa8107f7dc7ad0d1a4.tar.gz bcm5719-llvm-36b12a861c4f769c1a5fd2fa8107f7dc7ad0d1a4.zip |
Rename TypeNodes.def to TypeNodes.inc for consistency across all
our autogenerated files. NFC.
As requested by Nico Weber.
llvm-svn: 373425
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index e3fb205232e..b2522cbc8ae 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -194,7 +194,7 @@ TypeEvaluationKind CodeGenFunction::getEvaluationKind(QualType type) { #define NON_CANONICAL_TYPE(name, parent) case Type::name: #define DEPENDENT_TYPE(name, parent) case Type::name: #define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(name, parent) case Type::name: -#include "clang/AST/TypeNodes.def" +#include "clang/AST/TypeNodes.inc" llvm_unreachable("non-canonical or dependent type in IR-generation"); case Type::Auto: @@ -1871,7 +1871,7 @@ void CodeGenFunction::EmitVariablyModifiedType(QualType type) { #define NON_CANONICAL_TYPE(Class, Base) #define DEPENDENT_TYPE(Class, Base) case Type::Class: #define NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class, Base) -#include "clang/AST/TypeNodes.def" +#include "clang/AST/TypeNodes.inc" llvm_unreachable("unexpected dependent type!"); // These types are never variably-modified. |