diff --git a/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp b/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp --- a/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp +++ b/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp @@ -116,7 +116,7 @@ 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; }