diff options
| author | Zachary Turner <zturner@google.com> | 2014-06-25 05:37:25 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2014-06-25 05:37:25 +0000 |
| commit | 87422d9457c15af46d8f985718fd77c9c92d2b82 (patch) | |
| tree | 934ecb68dd87750206092b269caa4ed6f0449c11 /llvm/lib/MC/WinCOFFObjectWriter.cpp | |
| parent | c00d875d35d62a6ae6a02c21e8707a0c6ef43610 (diff) | |
| download | bcm5719-llvm-87422d9457c15af46d8f985718fd77c9c92d2b82.tar.gz bcm5719-llvm-87422d9457c15af46d8f985718fd77c9c92d2b82.zip | |
Don't go through the TypeSourceInfo when getting the SourceRange.
VarDecl provides a method getSourceRange(), which provides a more
robust way of getting the SourceRange since the TypeSourceInfo can
be null in certain cases.
Reviewed by: majnemer
Differential Revision: http://reviews.llvm.org/D4281
llvm-svn: 211667
Diffstat (limited to 'llvm/lib/MC/WinCOFFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions

