diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-05-09 17:08:01 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-05-09 17:08:01 +0000 |
| commit | 6f5f20570a04a97d42128396571043cdd756fcd8 (patch) | |
| tree | 0feb37a59ddd03e06f43ea06da615c1840ded10c /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 60f8d9482519e71159b6c28ddb1503ce26d0c194 (diff) | |
| download | clang-6f5f20570a04a97d42128396571043cdd756fcd8.tar.gz clang-6f5f20570a04a97d42128396571043cdd756fcd8.tar.bz2 clang-6f5f20570a04a97d42128396571043cdd756fcd8.tar.xz | |
ThreadSafetyAnalysis: Don't crash when trying to analyze objc methods.
The thread safety analysis isn't very useful in ObjC (you can't annotate
ObjC classes or methods) but we can still analyze the actual code and
show violations in usage of C/C++ functions.
Fixes PR19541, which does not use thread safety attributes but crashes
with -Weverything.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
