summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2016-02-12 21:55:05 +0000
committerSean Callanan <scallanan@apple.com>2016-02-12 21:55:05 +0000
commit8c05fb9fff68182d3cc12c82ce40a244a16e285e (patch)
tree5ac420d97612fc237307040a89dd8d9c63875964 /llvm/lib/Target
parent876330d53a6862184eed7ae4ecaa3b35e37a5213 (diff)
downloadbcm5719-llvm-8c05fb9fff68182d3cc12c82ce40a244a16e285e.tar.gz
bcm5719-llvm-8c05fb9fff68182d3cc12c82ce40a244a16e285e.zip
Disable recognition of "using" declarations at translation-unit level.
Currently CountDeclLevels uses the ASTs which have no distinction between separate translation units. If one .o file has a "using" declaration at translation unit level, that "using" declaration will be in the same translation unit as functions from other .o files in the same module. This leads to erroneous name conflicts as the CountDeclLevels-based function filtering logic accepts too many fucntions. In the future we will identify the translation units for top-level Decls more reliably and restore that functionality. There's a TODO to that effect in the code. llvm-svn: 260747
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud