diff options
author | Jordan Rose <jordan_rose@apple.com> | 2012-07-06 22:00:04 +0000 |
---|---|---|
committer | Jordan Rose <jordan_rose@apple.com> | 2012-07-06 22:00:04 +0000 |
commit | 1e0719ef6f6809dad229b935f5b8f60ebd73dc21 (patch) | |
tree | 2bb6b74eaf870f88fab9246e7536a272e2e4f8e6 /llvm/docs/ProgrammersManual.html | |
parent | 5df10aa54091429270a319a062708f4c7b10bade (diff) | |
download | bcm5719-llvm-1e0719ef6f6809dad229b935f5b8f60ebd73dc21.tar.gz bcm5719-llvm-1e0719ef6f6809dad229b935f5b8f60ebd73dc21.zip |
Constify the argument to SourceLocation::getFromPtrEncoding.
This allows SourceLocations to be stored in generic "data" fields
that are typed as "const void *" and are also used to point to
const objects.
Really we should probably be returning a const pointer from
getPtrEncoding as well, but in some places we want to store
SourceLocations in the same generic "data" field as proper
pointers to /mutable/ objects. Oh well.
llvm-svn: 159868
Diffstat (limited to 'llvm/docs/ProgrammersManual.html')
0 files changed, 0 insertions, 0 deletions