]> granicus.if.org Git - clang/commit
Update NamedDecl::getName() to work for empty names.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 19 Oct 2009 01:21:12 +0000 (01:21 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 19 Oct 2009 01:21:12 +0000 (01:21 +0000)
commit45475c696ecfd6d296535adb4723b7ba8817c06c
treed73077a2636490a1b08e8447bb3a6887668c92e8
parent259e9ccf882d11491ad149aec5e6d7a061c9f938
Update NamedDecl::getName() to work for empty names.
 - I'm not sure this is ideal, but otherwise clients must be overly careful when handling decl's which can have empty names.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84457 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h