diff options
author | Eric Christopher <echristo@gmail.com> | 2013-01-16 01:22:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-01-16 01:22:23 +0000 |
commit | 6b6061f01171bd3d4e32022efa45428d4f9941ee (patch) | |
tree | aae4e22e2a4ca079f2ff59c85f524318eb91d5a0 /lib/IR/DebugInfo.cpp | |
parent | 171192f149dce679cd520f85ffced4789448b017 (diff) |
Define metadata interfaces for describing a static data member
of a class. Emit static data member declarations and definitions
through correctly.
Part of PR14471.
Patch by Paul Robinson!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DebugInfo.cpp')
-rw-r--r-- | lib/IR/DebugInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp index 7083495c72..876aff8575 100644 --- a/lib/IR/DebugInfo.cpp +++ b/lib/IR/DebugInfo.cpp @@ -1101,6 +1101,8 @@ void DIType::printInternal(raw_ostream &OS) const { OS << " [fwd]"; if (isVector()) OS << " [vector]"; + if (isStaticMember()) + OS << " [static]"; } void DIDerivedType::printInternal(raw_ostream &OS) const { |