diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-05-06 06:48:52 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-05-06 06:48:52 +0000 |
commit | 9ee9b9e17b10ebd599850bfc65e088d9da839a57 (patch) | |
tree | eee1e50fbd5084245e8784a6f20fc492da41fbf0 /include/clang/Basic/IdentifierTable.h | |
parent | e539c80b7c1a54b4df0cc53999e676ab4f14271f (diff) | |
download | clang-9ee9b9e17b10ebd599850bfc65e088d9da839a57.tar.gz clang-9ee9b9e17b10ebd599850bfc65e088d9da839a57.tar.bz2 clang-9ee9b9e17b10ebd599850bfc65e088d9da839a57.tar.xz |
[C++11] Use 'nullptr'
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index abf5b930e4..f65ba86354 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -428,7 +428,7 @@ public: /// \brief Create the identifier table, populating it with info about the /// language keywords for the language specified by \p LangOpts. IdentifierTable(const LangOptions &LangOpts, - IdentifierInfoLookup* externalLookup = 0); + IdentifierInfoLookup* externalLookup = nullptr); /// \brief Set the external identifier lookup mechanism. void setExternalIdentifierLookup(IdentifierInfoLookup *IILookup) { @@ -625,7 +625,7 @@ class Selector { IdentifierInfo *getAsIdentifierInfo() const { if (getIdentifierInfoFlag() < MultiArg) return reinterpret_cast<IdentifierInfo *>(InfoPtr & ~ArgFlags); - return 0; + return nullptr; } MultiKeywordSelector *getMultiKeywordSelector() const { return reinterpret_cast<MultiKeywordSelector *>(InfoPtr & ~ArgFlags); |