From 1a99b250c9ddb78ada2785b50a969580ef3dd4ee Mon Sep 17 00:00:00 2001 From: "DESKTOP-8CNEPM9\\sune" Date: Wed, 26 Jan 2022 08:57:47 +0100 Subject: Filter lines ending with ".c++" in clparser Projects like cap n proto uses c++ extensions and generates a lot of status noise when running ninja. --- src/clparser.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clparser.cc b/src/clparser.cc index 070bcfd..3d3e7de 100644 --- a/src/clparser.cc +++ b/src/clparser.cc @@ -72,7 +72,8 @@ bool CLParser::FilterInputFilename(string line) { return EndsWith(line, ".c") || EndsWith(line, ".cc") || EndsWith(line, ".cxx") || - EndsWith(line, ".cpp"); + EndsWith(line, ".cpp") || + EndsWith(line, ".c++"); } // static -- cgit v1.2.1