diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-03 04:45:26 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-03 04:45:26 +0000 |
commit | 922866783b073b455017c1c321cc49bd8d33b868 (patch) | |
tree | 4c9d6643e0890c80ca4b3c65992ebb8584628368 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f0b08445f6015e09a00877173b8f82b3d933faf9 (diff) | |
download | llvm-922866783b073b455017c1c321cc49bd8d33b868.zip llvm-922866783b073b455017c1c321cc49bd8d33b868.tar.gz llvm-922866783b073b455017c1c321cc49bd8d33b868.tar.bz2 |
Thread safety analysis:
* When we detect that a CFG block has inconsistent lock sets, point the
diagnostic at the location where we found the inconsistency, and point a note
at somewhere the inconsistently-locked mutex was locked.
* Fix the wording of the normal (non-loop, non-end-of-function) case of this
diagnostic to not suggest that the mutex is going out of scope.
* Fix the diagnostic emission code to keep a warning and its note together when
sorting the diagnostics into source location order.
llvm-svn: 149669
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions