projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DebugInfo: Gut DIScope, DIEnumerator and DISubrange
[oota-llvm.git]
/
lib
/
IR
/
DebugLoc.cpp
diff --git
a/lib/IR/DebugLoc.cpp
b/lib/IR/DebugLoc.cpp
index 984ee24883668fd8437c6cf993cdb5a8dc9fd42a..d9229483d0558fead688ba362da5cd5cd75219c0 100644
(file)
--- a/
lib/IR/DebugLoc.cpp
+++ b/
lib/IR/DebugLoc.cpp
@@
-86,8
+86,8
@@
void DebugLoc::print(raw_ostream &OS) const {
return;
// Print source line info.
-
DIScope
Scope = cast<MDScope>(getScope());
- OS << Scope
.
getFilename();
+
auto *
Scope = cast<MDScope>(getScope());
+ OS << Scope
->
getFilename();
OS << ':' << getLine();
if (getCol() != 0)
OS << ':' << getCol();