Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a20e8a35 authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by Chih-hung Hsieh
Browse files

Suppress cert-dcl50-cpp tidy warnings.

Bug: 122832439
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl50-cpp
Change-Id: I034ec8c6e6338b38ee4b413e3edac223a01d8764
parent 42596b17
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@

namespace android::idmap2 {

// NOLINTNEXTLINE(cert-dcl50-cpp)
v2::Error::Error(const char* fmt, ...) {
  va_list ap;
  va_start(ap, fmt);
@@ -29,6 +30,7 @@ v2::Error::Error(const char* fmt, ...) {
  va_end(ap);
}

// NOLINTNEXTLINE(cert-dcl50-cpp)
v2::Error::Error(const Error& parent, const char* fmt, ...) : msg_(parent.msg_) {
  msg_.append(" -> ");