[cfe-dev] Exclude protobuf generated files

Csaba Raduly rcsaba at gmail.com
Wed Nov 26 06:53:48 PST 2014


On Wed, Nov 26, 2014 at 8:04 AM, Ted Kremenek  wrote:
> Hi George,
>
> Specifically with respect to protocol buffer code, could you file one or more PRs about representative issues you are seeing?  There's a possibility they could be pruned using heuristics within the analyzer.  If protocol buffer code tends to be generated idiomatically with specific file extensions, e.g. .pb.cc, we could possibly use even that to tune some heuristics on the analyzer to avoid false positives.

No need for "if". protoc is documented to produce x.pb.cc and x.pb.h
from x.proto  (https://developers.google.com/protocol-buffers/docs/reference/cpp-generated#invocation)

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds




More information about the cfe-dev mailing list