summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86MCInstLower.cpp
diff options
context:
space:
mode:
authorVassil Vassilev <v.g.vassilev@gmail.com>2017-07-01 20:44:49 +0000
committerVassil Vassilev <v.g.vassilev@gmail.com>2017-07-01 20:44:49 +0000
commitb00ea08fda0842452c166538d057cd194ff3b0f6 (patch)
tree25555d303113ddd7f1b1a23a1f404bc01d444f86 /llvm/lib/Target/X86/X86MCInstLower.cpp
parent94fce50950533255147278dc151bf1720ae07c29 (diff)
downloadbcm5719-llvm-b00ea08fda0842452c166538d057cd194ff3b0f6.tar.gz
bcm5719-llvm-b00ea08fda0842452c166538d057cd194ff3b0f6.zip
[modules] Teach clang how to merge typedef over anonymous structs in C mode.
In C mode clang fails to merge the textually included definition with the one imported from a module. The C lookup rules fail to find the imported definition because its linkage is internal in non C++ mode. This patch reinstates some of the ODR merging rules for typedefs of anonymous tags for languages other than C++. Patch by Raphael Isemann and me (D34510). llvm-svn: 306964
Diffstat (limited to 'llvm/lib/Target/X86/X86MCInstLower.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud