This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] fix an error finding clang path
ClosedPublic

Authored by honggyu.kim on Sep 12 2015, 2:09 AM.

Details

Summary

This patch fixes an error made by rL247466.
It mistakenly wrote "-d" check in if statement for file names.

Diff Detail

Event Timeline

honggyu.kim retitled this revision from to [analyzer] fix an error finding clang path.
honggyu.kim updated this object.

After applying rL247466, I got the following error which was not shown before.

scan-build: error: Cannot find an executable 'clang' relative to scan-build.  Consider using --use-analyzer to pick a version of 'clang' to use for static analysis.

Please have a look at it.

honggyu.kim updated this object.
krememek accepted this revision.Sep 12 2015, 9:03 AM
krememek edited edge metadata.

Applied in r247510.

This revision is now accepted and ready to land.Sep 12 2015, 9:03 AM
krememek closed this revision.Sep 12 2015, 9:03 AM
ayartsev edited edge metadata.Sep 12 2015, 1:31 PM

Thanks, Honggyu!

Thanks, Honggyu!

You're welcome, Антон!