[clang] 2a1418f - Fix syntax error
Christopher Tetreault via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 13:46:43 PDT 2020
Author: Christopher Tetreault
Date: 2020-04-09T13:46:23-07:00
New Revision: 2a1418f242ab17d8d8fef6fe829fc1b9363877ca
URL: https://github.com/llvm/llvm-project/commit/2a1418f242ab17d8d8fef6fe829fc1b9363877ca
DIFF: https://github.com/llvm/llvm-project/commit/2a1418f242ab17d8d8fef6fe829fc1b9363877ca.diff
LOG: Fix syntax error
Added:
Modified:
clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
Removed:
################################################################################
diff --git a/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp b/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
index 64a9c12220ac..fa61560e5123 100644
--- a/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
+++ b/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp
@@ -116,7 +116,7 @@ static types::ID foldType(types::ID Lang) {
return types::TY_ObjCXX;
case types::TY_CUDA:
case types::TY_CUDA_DEVICE:
- return types::TY_CUDA:
+ return types::TY_CUDA;
default:
return types::TY_INVALID;
}
More information about the cfe-commits
mailing list