Identifiers with _CapitalLetter are reserved, so don't use them. Prefer the

common C++ pattern of using the same name for the constructor argument as you
do for the member. Noticed by inspection.

llvm-svn: 132626
This commit is contained in:
Nick Lewycky 2011-06-04 05:19:42 +00:00
parent 87fdceaf73
commit 62188bbb90
1 changed files with 7 additions and 7 deletions

View File

@ -46,14 +46,14 @@
using namespace clang::driver;
using namespace clang;
Driver::Driver(llvm::StringRef _ClangExecutable,
llvm::StringRef _DefaultHostTriple,
llvm::StringRef _DefaultImageName,
Driver::Driver(llvm::StringRef ClangExecutable,
llvm::StringRef DefaultHostTriple,
llvm::StringRef DefaultImageName,
bool IsProduction, bool CXXIsProduction,
Diagnostic &_Diags)
: Opts(createDriverOptTable()), Diags(_Diags),
ClangExecutable(_ClangExecutable), UseStdLib(true),
DefaultHostTriple(_DefaultHostTriple), DefaultImageName(_DefaultImageName),
Diagnostic &Diags)
: Opts(createDriverOptTable()), Diags(Diags),
ClangExecutable(ClangExecutable), UseStdLib(true),
DefaultHostTriple(DefaultHostTriple), DefaultImageName(DefaultImageName),
DriverTitle("clang \"gcc-compatible\" driver"),
Host(0),
CCPrintOptionsFilename(0), CCPrintHeadersFilename(0),