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 aaab7aa commit a9ad6b6Copy full SHA for a9ad6b6
1 file changed
lib/path.cpp
@@ -284,8 +284,10 @@ static bool hasEmacsCppMarker(const char* path)
284
findAndReplace(marker, "mode:", "");
285
findAndReplace(marker, "Mode:", "");
286
marker = trim(marker);
287
- if (marker == "C++" || marker == "c++")
+ if (marker == "C++" || marker == "c++") {
288
+ // NOLINTNEXTLINE(readability-simplify-boolean-expr) - TODO: FP
289
return true; // C++ marker found
290
+ }
291
292
//if (marker == "C" || marker == "c")
293
// return false;
0 commit comments