r273972 - Frontend: clang-format a statement, NFC
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 27 17:19:32 PDT 2016
Author: compnerd
Date: Mon Jun 27 19:19:32 2016
New Revision: 273972
URL: http://llvm.org/viewvc/llvm-project?rev=273972&view=rev
Log:
Frontend: clang-format a statement, NFC
Modified:
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=273972&r1=273971&r2=273972&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Mon Jun 27 19:19:32 2016
@@ -1456,10 +1456,10 @@ static void ParseHeaderSearchArgs(Header
}
bool isOpenCL(LangStandard::Kind LangStd) {
- return LangStd == LangStandard::lang_opencl
- || LangStd == LangStandard::lang_opencl11
- || LangStd == LangStandard::lang_opencl12
- || LangStd == LangStandard::lang_opencl20;
+ return LangStd == LangStandard::lang_opencl ||
+ LangStd == LangStandard::lang_opencl11 ||
+ LangStd == LangStandard::lang_opencl12 ||
+ LangStd == LangStandard::lang_opencl20;
}
void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK,
More information about the cfe-commits
mailing list