ClangBuildAnalyzer icon indicating copy to clipboard operation
ClangBuildAnalyzer copied to clipboard

distinguish external headers

Open Trass3r opened this issue 6 years ago • 2 comments

I guess it could come in handy to have a separate section "Expensive external headers" for headers not coming from the current source tree. To find out which headers could easily go into a PCH.

Not sure about that though. If internal headers dominate like in llvm it's harder to use PCH.

Trass3r avatar Sep 26 '19 11:09 Trass3r

In completely arbitrary case it's kinda hard to know which headers are external vs which ones aren't. Like say if you have "your own" codebase, then some "3rd party libraries" that you also use, and then "STL" -- which ones are external? Clearly STL is, but are 3rd party libs also? How to tell them apart?

aras-p avatar Sep 28 '19 14:09 aras-p

I think include directories marked as -isystem would be a fit?

Lectem avatar Sep 28 '19 15:09 Lectem