llvm-project/clang/tools
Justin Bogner a8dd73229e Correctly handle reading locations from serialized diagnostics
When reading a serialized diagnostic location with no file ID, we were
failing to increment the cursor past the rest of the location. This
would lead to the flags and category always appearing blank in such
diagnostics.

This changes the function to unconditionally increment the cursor and
updates the test to check for the correct output instead of testing
that we were doing this wrong. I've also updated the error check to
check for the correct number of fields.

llvm-svn: 219538
2014-10-10 22:20:26 +00:00
..
arcmt-test Use the simpler version of llvm::sys::fs::exists. 2014-09-11 18:10:13 +00:00
c-arcmt-test Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
c-index-test Add libclang capabilities to retriete template arguments from specializations. 2014-10-10 20:01:05 +00:00
clang-check Modify behavior of -ast-dump-lookups: if -ast-dump is not also provided, dump 2014-08-11 22:11:07 +00:00
clang-format clang-format: [JS] Support regex literals with trailing escaped slash. 2014-09-09 14:37:39 +00:00
clang-format-vs Update build instructions for the clang-format VS plugin 2014-08-01 17:38:53 +00:00
diag-build Briefly document diag-build.sh 2013-12-28 21:59:11 +00:00
diagtool Use llvm::makeArrayRef instead of explicitly calling ArrayRef constructor and mentioning the type. This works now that we have a conversion from ArrayRef<T*> to ArrayRef<const T*>. 2014-08-30 16:55:39 +00:00
driver driver: Map closed standard file descriptors to /dev/null 2014-10-06 23:52:23 +00:00
libclang Correctly handle reading locations from serialized diagnostics 2014-10-10 22:20:26 +00:00
scan-build Fix a bug when scan-build is used in a cross-compilation environment with 2014-08-08 17:15:13 +00:00
scan-view [analyzer] scan-view: don't ever serve absolute paths. 2013-04-29 17:23:06 +00:00
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00