diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-16 03:56:14 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-08-16 03:56:14 +0000 |
| commit | 235341bc88202e402225e43ce5e7dc8a29089a25 (patch) | |
| tree | 1fdd650fdbd753484dca9f9dfa58466375bd1b98 /llvm/lib/Target | |
| parent | 426feb61b99defcc728185769ba3b7dbe6d82020 (diff) | |
| download | bcm5719-llvm-235341bc88202e402225e43ce5e7dc8a29089a25.tar.gz bcm5719-llvm-235341bc88202e402225e43ce5e7dc8a29089a25.zip | |
Store SourceManager pointer on PrintingPolicy in the case where we're dumping,
and remove ASTContext reference (which was frequently bound to a dereferenced
null pointer) from the recursive lump of printPretty functions. In so doing,
fix (at least) one case where we intended to use the 'dump' mode, but that
failed because a null ASTContext reference had been passed in.
llvm-svn: 162011
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions

