summaryrefslogtreecommitdiffstats
path: root/cmdline
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2016-08-11 23:53:33 +0100
committerRoland Levillain <rpl@google.com>2016-08-12 13:19:51 +0100
commit7cbd27fe778f2c348136540d52b5473e28f5769d (patch)
tree80c0fa4ff2a223c061245c6799d992cd4d863fa0 /cmdline
parent3d1d18d74dfac5039b6093ddf04f74eee4f157a3 (diff)
downloadandroid_art-7cbd27fe778f2c348136540d52b5473e28f5769d.tar.gz
android_art-7cbd27fe778f2c348136540d52b5473e28f5769d.tar.bz2
android_art-7cbd27fe778f2c348136540d52b5473e28f5769d.zip
Adjust spacing before NOLINT comments in ART.
Note that neither clang-tidy nor cpplint.py complain about these style "issues", precisely because of the NOLINT comments. Test: WITH_TIDY=1 WITH_TIDY_CHECKS='-*,misc-macro-parentheses' mmma art Change-Id: Id692fd394ffbd4fe208cbbe4407b4d5e208462bb
Diffstat (limited to 'cmdline')
-rw-r--r--cmdline/detail/cmdline_parse_argument_detail.h2
-rw-r--r--cmdline/detail/cmdline_parser_detail.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/cmdline/detail/cmdline_parse_argument_detail.h b/cmdline/detail/cmdline_parse_argument_detail.h
index 4b56804ea6..84beff59c7 100644
--- a/cmdline/detail/cmdline_parse_argument_detail.h
+++ b/cmdline/detail/cmdline_parse_argument_detail.h
@@ -497,7 +497,7 @@ namespace art {
std::function<void(TArg&)> save_argument_;
std::function<TArg&(void)> load_argument_;
};
- } // namespace detail // NOLINT [readability/namespace] [5] [whitespace/comments] [2]
+ } // namespace detail // NOLINT [readability/namespace] [5]
} // namespace art
#endif // ART_CMDLINE_DETAIL_CMDLINE_PARSE_ARGUMENT_DETAIL_H_
diff --git a/cmdline/detail/cmdline_parser_detail.h b/cmdline/detail/cmdline_parser_detail.h
index 9b43bb0f5d..24dbca2642 100644
--- a/cmdline/detail/cmdline_parser_detail.h
+++ b/cmdline/detail/cmdline_parser_detail.h
@@ -35,7 +35,7 @@ namespace art {
private:
template <typename TStream, typename T>
static std::true_type InsertionOperatorTest(TStream& os, const T& value,
- std::remove_reference<decltype(os << value)>* = 0); // NOLINT [whitespace/operators] [3]
+ std::remove_reference<decltype(os << value)>* = 0); // NOLINT [whitespace/operators] [3]
template <typename TStream, typename ... T>
static std::false_type InsertionOperatorTest(TStream& os, const T& ... args);
@@ -53,7 +53,7 @@ namespace art {
private:
template <typename TL, typename TR>
static std::true_type EqualityOperatorTest(const TL& left, const TR& right,
- std::remove_reference<decltype(left == right)>* = 0); // NOLINT [whitespace/operators] [3]
+ std::remove_reference<decltype(left == right)>* = 0); // NOLINT [whitespace/operators] [3]
template <typename TL, typename ... T>
static std::false_type EqualityOperatorTest(const TL& left, const T& ... args);