summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/ModuleMap.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
commitdb77c4ae130fb72fd1a9007a50178be725bac577 (patch)
tree877ffc9ec3105623ab5a0e33febe724f81cfc2e7 /clang/lib/Lex/ModuleMap.cpp
parentd2686ffa56e4e737e256faab98b1d73b573da313 (diff)
downloadbcm5719-llvm-db77c4ae130fb72fd1a9007a50178be725bac577.tar.gz
bcm5719-llvm-db77c4ae130fb72fd1a9007a50178be725bac577.zip
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. llvm-svn: 176110
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud