aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/method-call-path-notes.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-02-26 19:13:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-02-26 19:13:56 +0000
commitd7a60ad800d64b7c444b26a58e76ec337dbd7bc2 (patch)
tree54307fb49246b8423b9c5bb41e5f52a4de899308 /test/Analysis/method-call-path-notes.cpp
parent518ee34467c0722e253a58efea20456e96aa5802 (diff)
Be more careful in applying pragma weak. Fixes pr14974.
GCC applies a pragma weak to a decl if it matches the mangled name. We used to apply if it matched the plain name. This patch is a compromise: we apply the pragma only if it matches the name and the decl has C language linkage. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/method-call-path-notes.cpp')
0 files changed, 0 insertions, 0 deletions