aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2020-04-17 10:44:19 -0700
committerErich Keane <erich.keane@intel.com>2020-04-17 10:45:48 -0700
commit5f0903e9bec97e67bf34d887bcbe9d05790de934 (patch)
treef0e7c27a17af3f8ec0837b02160012bfc4177025 /clang/lib/CodeGen/CodeGenFunction.cpp
parent5f6d93c7d3165938ed4602013f4b89929b1f9682 (diff)
downloadllvm-5f0903e9bec97e67bf34d887bcbe9d05790de934.zip
llvm-5f0903e9bec97e67bf34d887bcbe9d05790de934.tar.gz
llvm-5f0903e9bec97e67bf34d887bcbe9d05790de934.tar.bz2
Reland Implement _ExtInt as an extended int type specifier.
I fixed the LLDB issue, so re-applying the patch. This reverts commit a4b88c044980337bb14390be654fe76864aa60ec.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 05bf70e..9929c15 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -257,6 +257,7 @@ TypeEvaluationKind CodeGenFunction::getEvaluationKind(QualType type) {
case Type::Enum:
case Type::ObjCObjectPointer:
case Type::Pipe:
+ case Type::ExtInt:
return TEK_Scalar;
// Complexes.
@@ -2010,6 +2011,7 @@ 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: