summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Process
diff options
context:
space:
mode:
authorBruno Ricci <riccibrun@gmail.com>2019-04-21 13:12:10 +0000
committerBruno Ricci <riccibrun@gmail.com>2019-04-21 13:12:10 +0000
commitba7ffae0c56474c9ddfe7bac4a06f8b98911ab08 (patch)
treeba65f15e9c932f1dcea2d8f733bebeceb2e45e6c /lldb/unittests/Process
parentd50ec8ef5cf5395077669ee570b6c30ff7ed2511 (diff)
downloadbcm5719-llvm-ba7ffae0c56474c9ddfe7bac4a06f8b98911ab08.tar.gz
bcm5719-llvm-ba7ffae0c56474c9ddfe7bac4a06f8b98911ab08.zip
[Sema][MSVC] Fix bogus microsoft-pure-definition warning on member function of class template
Clang emits a warning when using a pure specifier =0 in a function definition at class scope (a MS-specific construct), when using -fms-extensions. However, to detect this, it was using FD->isCanonicalDecl() on function declaration, which was also detecting out-of-class definition of member functions of class templates. Fix this by using !FD->isOutOfLine() instead. Fixes PR21334. Differential Revision: https://reviews.llvm.org/D29707 Reviewed By: riccibruno Reviewers: rnk, riccibruno Patch By: Rudy Pons llvm-svn: 358849
Diffstat (limited to 'lldb/unittests/Process')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud