llvm-project/lldb
Konrad Kleine 248a13057a [lldb] NFC modernize codebase with modernize-use-nullptr
Summary:
NFC = [[ https://llvm.org/docs/Lexicon.html#nfc | Non functional change ]]

This commit is the result of modernizing the LLDB codebase by using
`nullptr` instread of `0` or `NULL`. See
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
for more information.

This is the command I ran and I to fix and format the code base:

```
run-clang-tidy.py \
	-header-filter='.*' \
	-checks='-*,modernize-use-nullptr' \
	-fix ~/dev/llvm-project/lldb/.* \
	-format \
	-style LLVM \
	-p ~/llvm-builds/debug-ninja-gcc
```

NOTE: There were also changes to `llvm/utils/unittest` but I did not
include them because I felt that maybe this library shall be updated in
isolation somehow.

NOTE: I know this is a rather large commit but it is a nobrainer in most
parts.

Reviewers: martong, espindola, shafik, #lldb, JDevlieghere

Reviewed By: JDevlieghere

Subscribers: arsenm, jvesely, nhaehnle, hiraditya, JDevlieghere, teemperor, rnkovacs, emaste, kubamracek, nemanjai, ki.stfu, javed.absar, arichardson, kbarton, jrtc27, MaskRay, atanasyan, dexonsmith, arphaman, jfb, jsji, jdoerfert, lldb-commits, llvm-commits

Tags: #lldb, #llvm

Differential Revision: https://reviews.llvm.org/D61847

llvm-svn: 361484
2019-05-23 11:14:47 +00:00
..
cmake [CMake] Add first CMake cache files 2019-05-17 19:19:41 +00:00
docs Update list of supported architectures. 2019-05-17 17:05:23 +00:00
examples [crashlog] Use loads() instead of readPlistFromString() for python 3. 2019-05-18 01:57:12 +00:00
include/lldb [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
lit Add REQUIRES: lld to debug-types-address-ranges.s 2019-05-23 10:46:35 +00:00
lldb.xcodeproj Ack, added DWARFTypeUnit to the wrong target... 2019-05-23 00:12:45 +00:00
lldb.xcworkspace Remove accidentally commited file in xcshareddata 2019-02-05 23:35:01 +00:00
packages/Python/lldbsuite [Test] Fix conflicting test names. 2019-05-21 20:55:00 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts Make SBDebugger.RunCommandInterpreter callable from Python. 2019-05-15 00:08:55 +00:00
source [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
test [CMake] Fix subtle CMake bug 2019-04-29 19:44:43 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
unittests [lldb] NFC modernize codebase with modernize-use-nullptr 2019-05-23 11:14:47 +00:00
utils [lldb] [lit] Add tests for reading ZMM registers (AVX512) 2019-04-29 11:38:10 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt Added a dot at the end of comment 2019-05-22 13:23:15 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Fix build URL in new LLDB website 2019-05-01 09:55:00 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py