Use hasFlag instead of hasArg
authorDean Michael Berris <dberris@google.com>
Thu, 14 Jul 2016 06:37:46 +0000 (06:37 +0000)
committerDean Michael Berris <dberris@google.com>
Thu, 14 Jul 2016 06:37:46 +0000 (06:37 +0000)
commit25a1564e6c37808c5e2c6d3ae6f76416be3d9536
treead76592f31e5782ff436ee0247356eb8f7d823e9
parent17e8ea18e98bef862a2a65f71d9fba9a8f304be5
Use hasFlag instead of hasArg

Summary: Fix the build to use hasFlag instead of hasArg for checking some flags.

Reviewers: echristo

Subscribers: mehdi_amini, cfe-commits

Differential Revision: http://reviews.llvm.org/D22338

llvm-svn: 275377
clang/lib/Driver/Tools.cpp