diff options
author | Thorsten Schütt <schuett@gmail.com> | 2020-12-23 16:56:00 +0100 |
---|---|---|
committer | Thorsten Schütt <schuett@gmail.com> | 2021-01-04 22:58:26 +0100 |
commit | efc82c4ad2bcb256a4f4c20238d08cd3afba4d2d (patch) | |
tree | 9967045d388f16ffead61a0cfd57c5043d0efab1 /clang/unittests/Sema/ExternalSemaSourceTest.cpp | |
parent | abbef2fd46d48a0d92d86f0c00fa2973f8ae2c85 (diff) | |
download | llvm-efc82c4ad2bcb256a4f4c20238d08cd3afba4d2d.zip llvm-efc82c4ad2bcb256a4f4c20238d08cd3afba4d2d.tar.gz llvm-efc82c4ad2bcb256a4f4c20238d08cd3afba4d2d.tar.bz2 |
[NFC, Refactor] Modernize StorageClass from Specifiers.h to a scoped enum (II)
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D93765
Diffstat (limited to 'clang/unittests/Sema/ExternalSemaSourceTest.cpp')
-rw-r--r-- | clang/unittests/Sema/ExternalSemaSourceTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/unittests/Sema/ExternalSemaSourceTest.cpp b/clang/unittests/Sema/ExternalSemaSourceTest.cpp index 842eb83..931ccca 100644 --- a/clang/unittests/Sema/ExternalSemaSourceTest.cpp +++ b/clang/unittests/Sema/ExternalSemaSourceTest.cpp @@ -163,7 +163,8 @@ public: CurrentSema->getPreprocessor().getIdentifierInfo(CorrectTo); auto *NewFunction = FunctionDecl::Create( Context, DestContext, SourceLocation(), SourceLocation(), ToIdent, - Context.getFunctionType(Context.VoidTy, {}, {}), nullptr, SC_Static); + Context.getFunctionType(Context.VoidTy, {}, {}), nullptr, + StorageClass::Static); DestContext->addDecl(NewFunction); TypoCorrection Correction(ToIdent); Correction.addCorrectionDecl(NewFunction); |