Location of clang binary

I have built llvm and clang debug mode from source on Ubuntu 18.04

According to
https://clang-analyzer.llvm.org/installation#OtherPlatforms (see under other platforms)

I need to add the clang to path and locations of scan-build and scan-view to path.

I can’t find any of them
What is their location?

I added to path but the commands(scan-build, scan-view) are not working

Hi Suyash,

Looking at the screenshot you’ve attached, it looks like you’ve added the commands themselves to your PATH, not the bin folder. If you add the bin folder instead it should work.


Everything is working now