diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-04-12 23:19:01 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-04-12 23:19:01 +0000 |
commit | 5c0066f1cf88d57b7f10ea6c85e95e60d6e803b6 (patch) | |
tree | b09ee28e7e631a5fbfdb6a6670df4a0fbc633a66 /clang/lib/Frontend/PrintPreprocessedOutput.cpp | |
parent | ebbd05f8cec15a375c042b08c85ad86168cfaeed (diff) | |
download | llvm-5c0066f1cf88d57b7f10ea6c85e95e60d6e803b6.zip llvm-5c0066f1cf88d57b7f10ea6c85e95e60d6e803b6.tar.gz llvm-5c0066f1cf88d57b7f10ea6c85e95e60d6e803b6.tar.bz2 |
Improve source-location information for C++ conversion functions, by
copying the type location information from the conversion-type-id into
the type location information for the function type. Do something
similar for constructors and destructors, by giving their "void"
return type source-location information.
In all of these cases, we previously left this type-source information
uninitialized, which led to various unfortunate crashes.
We still aren't tracking good source-location information for the
actual names. That's PR6357.
John, please check my sanity on this.
llvm-svn: 101088
Diffstat (limited to 'clang/lib/Frontend/PrintPreprocessedOutput.cpp')
0 files changed, 0 insertions, 0 deletions