diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-05-26 06:21:51 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-05-26 06:21:51 +0000 |
commit | 236bde3d6f589dd7011d052aea4d98f610efb419 (patch) | |
tree | 6a248cd452e96b3ebb6aa60d59f9f97dae5eba8c /clang/lib/Index/USRGeneration.cpp | |
parent | ab53c91010dc8056986ad7f53e6c9dff037f4e8f (diff) | |
download | bcm5719-llvm-236bde3d6f589dd7011d052aea4d98f610efb419.tar.gz bcm5719-llvm-236bde3d6f589dd7011d052aea4d98f610efb419.zip |
[C++11] Use 'nullptr'.
llvm-svn: 209612
Diffstat (limited to 'clang/lib/Index/USRGeneration.cpp')
-rw-r--r-- | clang/lib/Index/USRGeneration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp index 15aa87555e0..7554bc65b2f 100644 --- a/clang/lib/Index/USRGeneration.cpp +++ b/clang/lib/Index/USRGeneration.cpp @@ -109,7 +109,7 @@ public: bool ShouldGenerateLocation(const NamedDecl *D); bool isLocal(const NamedDecl *D) { - return D->getParentFunctionOrMethod() != 0; + return D->getParentFunctionOrMethod() != nullptr; } /// Generate the string component containing the location of the |