summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Language/Go/GoFormatterFunctions.cpp
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2015-11-07 00:28:50 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2015-11-07 00:28:50 +0000
commit26f34fb6df5f52a6f8dd8b9659509e2f3a99c4cd (patch)
treedc076949bc3f8cf7f4ed6e23bce671510d95267d /lldb/source/Plugins/Language/Go/GoFormatterFunctions.cpp
parentba60247a1127d9eabe233eeeb1496b1c3a5f09c5 (diff)
downloadbcm5719-llvm-26f34fb6df5f52a6f8dd8b9659509e2f3a99c4cd.tar.gz
bcm5719-llvm-26f34fb6df5f52a6f8dd8b9659509e2f3a99c4cd.zip
Fix some Clang-tidy warnings and formatting in recently added code.
Fixed Clang-tidy warnings: * modernize-use-override; * modernize-use-nullptr; * modernize-use-default; * readability-simplify-boolean-expr. llvm-svn: 252374
Diffstat (limited to 'lldb/source/Plugins/Language/Go/GoFormatterFunctions.cpp')
-rw-r--r--lldb/source/Plugins/Language/Go/GoFormatterFunctions.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Language/Go/GoFormatterFunctions.cpp b/lldb/source/Plugins/Language/Go/GoFormatterFunctions.cpp
index f80a1535541..1d7cd76b973 100644
--- a/lldb/source/Plugins/Language/Go/GoFormatterFunctions.cpp
+++ b/lldb/source/Plugins/Language/Go/GoFormatterFunctions.cpp
@@ -10,7 +10,6 @@
// C Includes
// C++ Includes
#include <map>
-#include <vector>
// Other libraries and framework includes
// Project includes
@@ -169,6 +168,6 @@ lldb_private::formatters::GoSliceSyntheticFrontEndCreator(CXXSyntheticChildren *
lldb::ProcessSP process_sp(valobj_sp->GetProcessSP());
if (!process_sp)
- return NULL;
+ return nullptr;
return new GoSliceSyntheticFrontEnd(*valobj_sp);
}
OpenPOWER on IntegriCloud