]> granicus.if.org Git - clang/commit
Mark static member functions as static in CodeViewDebug
authorAdrian McCarthy <amccarth@google.com>
Wed, 13 Sep 2017 20:53:55 +0000 (20:53 +0000)
committerAdrian McCarthy <amccarth@google.com>
Wed, 13 Sep 2017 20:53:55 +0000 (20:53 +0000)
commit4470536d89afb178d3f9d15362e9ed510eae2787
tree1aec50c60d8b56fe59274b9564f42df5d6345ef6
parent065d2d58cc919a92c728550bf0463f1c7eeddeab
Mark static member functions as static in CodeViewDebug

Summary:
To improve CodeView quality for static member functions, we need to make the
static explicit.  In addition to a small change in LLVM's CodeViewDebug to
return the appropriate MethodKind, this requires a small change in Clang to
note the staticness in the debug info metadata.

Subscribers: aprantl, hiraditya

Differential Revision: https://reviews.llvm.org/D37715

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@313192 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGenCXX/debug-info-ms-abi.cpp