summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-07-18 00:27:59 +0000
committerAdrian Prantl <aprantl@apple.com>2013-07-18 00:27:59 +0000
commit02c0caa198a1981fcf31bb21e602703ff8875aed (patch)
tree9f6affa93946c9b00301bd3aa93ff8e888502536 /clang/lib/CodeGen/CGDebugInfo.cpp
parentb1b3bfc0681b8f0335342c8d85ec6e7d9000c3c4 (diff)
downloadbcm5719-llvm-02c0caa198a1981fcf31bb21e602703ff8875aed.tar.gz
bcm5719-llvm-02c0caa198a1981fcf31bb21e602703ff8875aed.zip
Clarified documentation.
llvm-svn: 186551
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index f735df5a293..af861be0cf6 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -2445,7 +2445,8 @@ void CGDebugInfo::EmitFunctionStart(GlobalDecl GD, QualType FnType,
}
/// EmitLocation - Emit metadata to indicate a change in line/column
-/// information in the source file.
+/// information in the source file. If the location is invalid, the
+/// previous location will be reused.
void CGDebugInfo::EmitLocation(CGBuilderTy &Builder, SourceLocation Loc,
bool ForceColumnInfo) {
OpenPOWER on IntegriCloud