Support using clang instead of gcc for bindings preprocessing
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 16 Jun 2013 02:15:41 +0000 (02:15 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 16 Jun 2013 02:15:41 +0000 (02:15 +0000)
commit2cdb93cd4a87e31a1aa325fa34e619538d437e14
treedd5ab6d58ef92f2e51e0b31d34cbf6169134ab4d
parentb3a5324f28e8fcbe3f582a55f20110bd82e8c252
Support using clang instead of gcc for bindings preprocessing
https://bugs.webkit.org/show_bug.cgi?id=117674

Reviewed by Sam Weinig.

I couldn't build on my computer because I don't have gcc installed.
This is my cut at fixing it.

* bindings/scripts/CodeGeneratorObjC.pm:
(ReadPublicInterfaces): Use clang if present.
* bindings/scripts/preprocessor.pm:
(applyPreprocessor): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/scripts/CodeGeneratorObjC.pm
Source/WebCore/bindings/scripts/preprocessor.pm