diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-03 06:53:35 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-03 06:53:35 +0000 |
commit | 8c8a875079ccffdf954ae3515f866828a6492cc9 (patch) | |
tree | ed3a02caa5ca61046b9afa4f8ddb2438c196803b /clang/lib/Driver/Driver.cpp | |
parent | e1d9141433870f2ba7f2a02776ee23b302ff2bb4 (diff) | |
download | bcm5719-llvm-8c8a875079ccffdf954ae3515f866828a6492cc9.tar.gz bcm5719-llvm-8c8a875079ccffdf954ae3515f866828a6492cc9.zip |
Fix method/variable name typos
llvm-svn: 196214
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
-rw-r--r-- | clang/lib/Driver/Driver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index d61a8e99d9e..d4a2e470488 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -948,7 +948,7 @@ void Driver::BuildUniversalActions(const ToolChain &TC, /// \brief Check that the file referenced by Value exists. If it doesn't, /// issue a diagnostic and return false. -static bool DiagnoseInputExistance(const Driver &D, const DerivedArgList &Args, +static bool DiagnoseInputExistence(const Driver &D, const DerivedArgList &Args, StringRef Value) { if (!D.getCheckInputsExist()) return true; @@ -1075,19 +1075,19 @@ void Driver::BuildInputs(const ToolChain &TC, const DerivedArgList &Args, Ty = InputType; } - if (DiagnoseInputExistance(*this, Args, Value)) + if (DiagnoseInputExistence(*this, Args, Value)) Inputs.push_back(std::make_pair(Ty, A)); } else if (A->getOption().matches(options::OPT__SLASH_Tc)) { StringRef Value = A->getValue(); - if (DiagnoseInputExistance(*this, Args, Value)) { + if (DiagnoseInputExistence(*this, Args, Value)) { Arg *InputArg = MakeInputArg(Args, Opts, A->getValue()); Inputs.push_back(std::make_pair(types::TY_C, InputArg)); } A->claim(); } else if (A->getOption().matches(options::OPT__SLASH_Tp)) { StringRef Value = A->getValue(); - if (DiagnoseInputExistance(*this, Args, Value)) { + if (DiagnoseInputExistence(*this, Args, Value)) { Arg *InputArg = MakeInputArg(Args, Opts, A->getValue()); Inputs.push_back(std::make_pair(types::TY_CXX, InputArg)); } |