Skip to content

Commit

Permalink
Merge pull request #10 from byarger-ebay/master
Browse files Browse the repository at this point in the history
Change register_source_for_pth_file to include .h.pch suffix.
  • Loading branch information
lqi committed Apr 26, 2014
2 parents 83cf5b8 + da9e77c commit 832a731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oclint-xcodebuild
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def register_source_for_pth_file(clang_command, directory):
src_file = file
elif tok == '-o':
file = tokens.next()
if file.endswith('.pch.pth') or file.endswith('.pch.pch'):
if file.endswith('.pch.pth') or file.endswith('.pch.pch') or file.endswith('.h.pch'):
pth_file = file
except StopIteration:
if src_file and pth_file:
Expand Down

0 comments on commit 832a731

Please sign in to comment.