Skip to content

Commit db34258

Browse files
committed
[clang][ssaf] Remove braces from single-line if block
1 parent 2fb3d37 commit db34258

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Analysis/Scalable/ASTEntityMapping.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,8 @@ std::optional<EntityName> getEntityName(const Decl* D) {
4848
}
4949

5050
llvm::SmallString<128> USRBuf;
51-
if (clang::index::generateUSRForDecl(USRDecl, USRBuf)) {
51+
if (clang::index::generateUSRForDecl(USRDecl, USRBuf))
5252
return std::nullopt;
53-
}
5453

5554
if (USRBuf.empty())
5655
return std::nullopt;

0 commit comments

Comments
 (0)