summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/Sema.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/Sema.cpp')
-rw-r--r--clang/lib/Sema/Sema.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Sema/Sema.cpp b/clang/lib/Sema/Sema.cpp
index a57f1903576..081d45b61eb 100644
--- a/clang/lib/Sema/Sema.cpp
+++ b/clang/lib/Sema/Sema.cpp
@@ -811,8 +811,7 @@ void Sema::ActOnEndOfTranslationUnit() {
VD->setInvalidDecl();
// No initialization is performed for a tentative definition.
- InitializedEntity Entity = InitializedEntity::InitializeVariable(VD);
- CheckCompleteVariableDeclaration(VD, Entity);
+ CheckCompleteVariableDeclaration(VD);
// Notify the consumer that we've completed a tentative definition.
if (!VD->isInvalidDecl())
OpenPOWER on IntegriCloud