aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-03-20 23:11:06 -0700
committerKazu Hirata <kazu@google.com>2022-03-20 23:11:06 -0700
commit1eada2adda8f6e31a5290dd17706cf617a483975 (patch)
tree97d4c066d6e71f453de5ae488d3671da172b68b2 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent4b28980772402cab998e2c42e4876d6decb48583 (diff)
downloadllvm-1eada2adda8f6e31a5290dd17706cf617a483975.zip
llvm-1eada2adda8f6e31a5290dd17706cf617a483975.tar.gz
llvm-1eada2adda8f6e31a5290dd17706cf617a483975.tar.bz2
[CodeGen] Apply clang-tidy fixes for readability-redundant-smartptr-get (NFC)
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index 94ba333..c0b7883 100644
--- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -509,7 +509,7 @@ void CodeViewDebug::maybeRecordLocation(const DebugLoc &DL,
if (!DL || DL == PrevInstLoc)
return;
- const DIScope *Scope = DL.get()->getScope();
+ const DIScope *Scope = DL->getScope();
if (!Scope)
return;