aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/CommandLine.cpp
diff options
context:
space:
mode:
authorRafael Auler <rafaelauler@fb.com>2019-01-31 09:38:31 +0000
committerRafael Auler <rafaelauler@fb.com>2019-01-31 09:38:31 +0000
commit4b702045888898367bb630b8f767e21e68d3445b (patch)
tree208006b3de300992e70569cff6a41782b82d1179 /llvm/lib/Support/CommandLine.cpp
parentf392bc846faf9b77edc3ee98902811e3c23ad524 (diff)
downloadllvm-4b702045888898367bb630b8f767e21e68d3445b.zip
llvm-4b702045888898367bb630b8f767e21e68d3445b.tar.gz
llvm-4b702045888898367bb630b8f767e21e68d3445b.tar.bz2
Support attribute used in member funcs of class templates
Summary: As PR17480 describes, clang does not support the used attribute for member functions of class templates. This means that if the member function is not used, its definition is never instantiated. This patch changes clang to emit the definition if it has the used attribute. Test Plan: Added a testcase Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D56928 llvm-svn: 352740
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions