diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-03-11 23:10:33 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-03-11 23:10:33 +0000 |
commit | eae78b5157dc0582cf32710d2ade9bbcd7f0fc94 (patch) | |
tree | 8692ab2013540204cfde41c1026201fce202378b /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 157d23f79e3dbe32401678a62bf1fc3d443cd94e (diff) | |
download | bcm5719-llvm-eae78b5157dc0582cf32710d2ade9bbcd7f0fc94.tar.gz bcm5719-llvm-eae78b5157dc0582cf32710d2ade9bbcd7f0fc94.zip |
Hexagon RDF: Replace function template (plus explicit specializations) with non-template overloads
For the design in question, overloads seem to be a much simpler and less subtle solution.
This removes ODR issues, and errors of the kind where code that uses the
specialization in question will accidentally and erroneously specialize
the primary template. This only "works" by accident; the program is
ill-formed NDR.
(Found with -Wundefined-func-template.)
Patch by Thomas Köppe!
Differential Revision: https://reviews.llvm.org/D58998
llvm-svn: 355880
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions