Skip to content

Commit e10cd3e

Browse files
author
Erich Keane
committed
Fix else-after-return as @bader requested.
Signed-off-by: Erich Keane <erich.keane@intel.com>
1 parent ddd09b0 commit e10cd3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/lib/Sema/SemaTemplateInstantiate.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,9 @@ TemplateInstantiator::TransformPredefinedExpr(PredefinedExpr *E) {
11931193
return E;
11941194

11951195
return getSema().BuildUniqueStableName(E->getLocation(), SubExpr.get());
1196-
} else if (E->getIdentKind() == PredefinedExpr::UniqueStableNameType) {
1196+
}
1197+
1198+
if (E->getIdentKind() == PredefinedExpr::UniqueStableNameType) {
11971199
TypeSourceInfo *Info = getDerived().TransformType(E->getTypeSourceInfo());
11981200
if (!Info)
11991201
return ExprError();

0 commit comments

Comments
 (0)