llvm-project/clang/lib
Douglas Gregor 5c0066f1cf 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
2010-04-12 23:19:01 +00:00
..
AST Have the CXXBaseOrMemberInitializer keep track of whether an initializer initializes a virtual base or not. 2010-04-12 00:51:03 +00:00
Analysis Fix CFG bug where bases of member expressions were not always evaluated in a lvalue context. Fixes <rdar://problem/7813989>. 2010-04-11 17:02:10 +00:00
Basic fix PR6814 - Only print [-pedantic] on a diagnostic if -pedantic 2010-04-12 21:53:11 +00:00
Checker Remove copy of 'Optional' in Clang tree, and convert clients to use the one now in the LLVM tree. 2010-04-09 20:26:58 +00:00
CodeGen fix PR6660/6168: emit padding as zeros instead of undef. Because 2010-04-12 21:10:05 +00:00
Driver add haiku support, patch by Paul Davey! 2010-04-11 19:29:39 +00:00
Frontend fix PR6814 - Only print [-pedantic] on a diagnostic if -pedantic 2010-04-12 21:53:11 +00:00
Headers rename llvm::llvm_report_error -> llvm::report_fatal_error 2010-04-07 22:58:06 +00:00
Index Allow users to set CPPFLAGS and CXXFLAGS on the make command line. 2010-03-12 22:55:16 +00:00
Lex fix a minor bug I noticed while work with Jordy's patch for PR6101, 2010-04-12 23:04:41 +00:00
Parse Add fixit hint for missing ':' in ternary expressions. 2010-04-12 22:10:35 +00:00
Rewrite Let SourceManager::getBufferData return StringRef instead of a pair of two const char*. 2010-03-16 14:14:31 +00:00
Runtime Runtime: Install the new libcc_kext.a produced by the clang_darwin compiler-rt 2010-03-26 19:37:38 +00:00
Sema Improve source-location information for C++ conversion functions, by 2010-04-12 23:19:01 +00:00
CMakeLists.txt Split libAnalysis into two libraries: libAnalysis and libChecker. 2010-01-25 04:41:41 +00:00
Makefile Split libAnalysis into two libraries: libAnalysis and libChecker. 2010-01-25 04:41:41 +00:00