summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis/DebugInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/DebugInfo.h')
-rw-r--r--include/llvm/Analysis/DebugInfo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h
index 3bd0943cb1d..ad824dd7fe4 100644
--- a/include/llvm/Analysis/DebugInfo.h
+++ b/include/llvm/Analysis/DebugInfo.h
@@ -583,12 +583,12 @@ namespace llvm {
DIScope getContext() const { return getFieldAs<DIScope>(1); }
StringRef getName() const { return getStringField(2); }
StringRef getDirectory() const {
- DIFile F = getFieldAs<DIFile>(3);
- return F.getDirectory();
+ DIFile F = getFieldAs<DIFile>(3);
+ return F.getDirectory();
}
StringRef getFilename() const {
- DIFile F = getFieldAs<DIFile>(3);
- return F.getFilename();
+ DIFile F = getFieldAs<DIFile>(3);
+ return F.getFilename();
}
DICompileUnit getCompileUnit() const{
if (getVersion() == llvm::LLVMDebugVersion7)