DIBuilder: Add function and method definitions to the list of all subprograms
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 18 Feb 2013 07:10:22 +0000 (07:10 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 18 Feb 2013 07:10:22 +0000 (07:10 +0000)
commit595eb44a2cc8ad6bf78ce0ddac44fe4c48cbd0f1
treee96389eebf67de37d703d4ecb7d16ca209bc7b53
parent68426c79db899c8c9712379e186f28c372f880f2
DIBuilder: Add function and method definitions to the list of all subprograms

Previously we seemed to be assuming that all functions were definitions and all
methods were declarations. This may be consistent with how Clang uses DIBuilder
but doesn't have to be true of all clients (such as DragonEgg).

llvm-svn: 175423
llvm/lib/IR/DIBuilder.cpp