diff options
author | Erich Keane <erich.keane@intel.com> | 2020-04-17 10:44:19 -0700 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2020-04-17 10:45:48 -0700 |
commit | 5f0903e9bec97e67bf34d887bcbe9d05790de934 (patch) | |
tree | f0e7c27a17af3f8ec0837b02160012bfc4177025 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 5f6d93c7d3165938ed4602013f4b89929b1f9682 (diff) | |
download | llvm-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.cpp | 2 |
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: |