We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
readability-simplify-boolean-expr
1 parent 9b4cd7b commit ec75f29Copy full SHA for ec75f29
1 file changed
lib/path.cpp
@@ -316,8 +316,10 @@ static bool hasEmacsCppMarker(const char* path)
316
findAndReplace(marker, "mode:", "");
317
findAndReplace(marker, "Mode:", "");
318
marker = trim(marker);
319
- if (marker == "C++" || marker == "c++")
+ if (marker == "C++" || marker == "c++") {
320
+ // NOLINTNEXTLINE(readability-simplify-boolean-expr) - TODO: FP
321
return true; // C++ marker found
322
+ }
323
324
//if (marker == "C" || marker == "c")
325
// return false;
0 commit comments