commit | c24a2335677f3d1bd2cab1019ac445d650f52123 | [log] [tgz] |
---|---|---|
author | DeLesley Hutchins <delesley@google.com> | Thu Feb 16 16:50:43 2012 +0000 |
committer | DeLesley Hutchins <delesley@google.com> | Thu Feb 16 16:50:43 2012 +0000 |
tree | c7942b6cb2a46762429a0936e91be4bb8f207ded | |
parent | 32addd519c6699000ff79c387a1c87f0ab7c3698 [diff] |
Allow thread safety attributes on function definitions. For compatibility with gcc, clang will now parse gcc attributes on function definitions, but issue a warning if the attribute is not a thread safety attribute. Warning controlled by -Wgcc-compat. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150698 91177308-0d34-0410-b5e6-96231b3b80d8