diff options
author | Sterling Augustine <saugustine@google.com> | 2020-04-17 09:43:55 -0700 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2020-04-17 10:29:40 -0700 |
commit | a4b88c044980337bb14390be654fe76864aa60ec (patch) | |
tree | 2b6023a8ce318f137eb7d56390da08d7509bf63b /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 5793c84925fa98f00dbc57f476448babc5ee3aaa (diff) | |
download | llvm-a4b88c044980337bb14390be654fe76864aa60ec.zip llvm-a4b88c044980337bb14390be654fe76864aa60ec.tar.gz llvm-a4b88c044980337bb14390be654fe76864aa60ec.tar.bz2 |
Revert "Implement _ExtInt as an extended int type specifier."
This reverts commit 61ba1481e200b5b35baa81ffcff81acb678e8508.
I'm reverting this because it breaks the lldb build with
incomplete switch coverage warnings. I would fix it forward,
but am not familiar enough with lldb to determine the correct
fix.
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:3958:11: error: enumeration values 'DependentExtInt' and 'ExtInt' not handled in switch [-Werror,-Wswitch]
switch (qual_type->getTypeClass()) {
^
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4633:11: error: enumeration values 'DependentExtInt' and 'ExtInt' not handled in switch [-Werror,-Wswitch]
switch (qual_type->getTypeClass()) {
^
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp:4889:11: error: enumeration values 'DependentExtInt' and 'ExtInt' not handled in switch [-Werror,-Wswitch]
switch (qual_type->getTypeClass()) {
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 9929c15..05bf70e 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -257,7 +257,6 @@ TypeEvaluationKind CodeGenFunction::getEvaluationKind(QualType type) { case Type::Enum: case Type::ObjCObjectPointer: case Type::Pipe: - case Type::ExtInt: return TEK_Scalar; // Complexes. @@ -2011,7 +2010,6 @@ void CodeGenFunction::EmitVariablyModifiedType(QualType type) { case Type::ObjCObject: case Type::ObjCInterface: case Type::ObjCObjectPointer: - case Type::ExtInt: llvm_unreachable("type class is never variably-modified!"); case Type::Adjusted: |