diff options
| author | Masud Rahman <llvm@masudrahman.com> | 2017-10-21 20:53:49 +0000 |
|---|---|---|
| committer | Masud Rahman <llvm@masudrahman.com> | 2017-10-21 20:53:49 +0000 |
| commit | 5b3fa2cd99ddc4483a7430e391f9505cc9865ce7 (patch) | |
| tree | 386eed93c5be6c3917b82a8bdcb86776a7c02748 /llvm/lib/Object/ELFObjectFile.cpp | |
| parent | ab6dbe2b29822239ae9a567d4378037ee0865bb1 (diff) | |
| download | bcm5719-llvm-5b3fa2cd99ddc4483a7430e391f9505cc9865ce7.tar.gz bcm5719-llvm-5b3fa2cd99ddc4483a7430e391f9505cc9865ce7.zip | |
[libclang, bindings]: add spelling location
o) Add a 'Location' class that represents the four properties of a
physical location
o) Enhance 'SourceLocation' to provide 'expansion' and 'spelling'
locations, maintaining backwards compatibility with existing code by
forwarding the four properties to 'expansion'.
o) Update the implementation to use 'clang_getExpansionLocation'
instead of the deprecated 'clang_getInstantiationLocation', which
has been present since 2011.
o) Update the implementation of 'clang_getSpellingLocation' to actually
obtain spelling location instead of file location.
llvm-svn: 316278
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions

