diff options
author | Thorsten Schütt <schuett@gmail.com> | 2021-01-04 23:17:45 +0100 |
---|---|---|
committer | Thorsten Schütt <schuett@gmail.com> | 2021-01-04 23:17:45 +0100 |
commit | 2fd11e0b1ef8bc6ea356670f15d78795aa8bb0e7 (patch) | |
tree | bfdfdb44258f7f51b6ca74de31de45bf0e76e5a5 /clang/lib/CodeGen/CGDecl.cpp | |
parent | 36263a7cccc0d98afc36dea55e7a004d08455811 (diff) | |
download | llvm-2fd11e0b1ef8bc6ea356670f15d78795aa8bb0e7.zip llvm-2fd11e0b1ef8bc6ea356670f15d78795aa8bb0e7.tar.gz llvm-2fd11e0b1ef8bc6ea356670f15d78795aa8bb0e7.tar.bz2 |
Revert "[NFC, Refactor] Modernize StorageClass from Specifiers.h to a scoped enum (II)"
This reverts commit efc82c4ad2bcb256a4f4c20238d08cd3afba4d2d.
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index b0b8601..a01638f 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/lib/CodeGen/CGDecl.cpp @@ -1388,7 +1388,7 @@ void CodeGenFunction::EmitAndRegisterVariableArrayDimensions( auto *ArtificialDecl = VarDecl::Create( getContext(), const_cast<DeclContext *>(D.getDeclContext()), D.getLocation(), D.getLocation(), NameIdent, QT, - getContext().CreateTypeSourceInfo(QT), StorageClass::Auto); + getContext().CreateTypeSourceInfo(QT), SC_Auto); ArtificialDecl->setImplicit(); MD = DI->EmitDeclareOfAutoVariable(ArtificialDecl, VlaSize.NumElts, |