Skip to content

Commit 214ef54

Browse files
Update lib/PhasarLLVM/Utils/Annotation.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent a62049c commit 214ef54

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/PhasarLLVM/Utils/Annotation.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ uint64_t VarAnnotation::getLine() const {
5656
llvm::StringRef VarAnnotation::retrieveString(unsigned Idx) const {
5757
if (const auto *ConstExpr = llvm::dyn_cast<llvm::ConstantExpr>(
5858
AnnotationCall->getArgOperand(Idx))) {
59-
if (llvm::isa<llvm::GEPOperator>(ConstExpr)
60-
) {
59+
if (llvm::isa<llvm::GEPOperator>(ConstExpr)) {
6160
if (const auto *GlobalVar =
6261
llvm::dyn_cast<llvm::GlobalVariable>(ConstExpr->getOperand(0))) {
6362
if (GlobalVar->hasInitializer()) {

0 commit comments

Comments
 (0)