diff options
author | Sean Callanan <scallanan@apple.com> | 2016-02-12 21:55:05 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2016-02-12 21:55:05 +0000 |
commit | 8c05fb9fff68182d3cc12c82ce40a244a16e285e (patch) | |
tree | 5ac420d97612fc237307040a89dd8d9c63875964 /llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp | |
parent | 876330d53a6862184eed7ae4ecaa3b35e37a5213 (diff) | |
download | bcm5719-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/CodeGen/AsmPrinter/DwarfUnit.cpp')
0 files changed, 0 insertions, 0 deletions