Rename DIBuilder::createNullPtrType to createUnspecifiedType and introduce

a zero-argument createNullPtrType function for creating the canonical
nullptr type.

Differential Revision: http://llvm-reviews.chandlerc.com/D1050

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Peter Collingbourne
2013-06-27 22:50:59 +00:00
parent e19a858d22
commit 03ccdb5b1d
2 changed files with 14 additions and 6 deletions

View File

@ -115,8 +115,11 @@ namespace llvm {
/// createEnumerator - Create a single enumerator value.
DIEnumerator createEnumerator(StringRef Name, int64_t Val);
/// createNullPtrType - Create C++0x nullptr type.
DIBasicType createNullPtrType(StringRef Name);
/// \brief Create a DWARF unspecified type.
DIBasicType createUnspecifiedType(StringRef Name);
/// \brief Create C++11 nullptr type.
DIBasicType createNullPtrType();
/// createBasicType - Create debugging information entry for a basic
/// type.