Author: shenhan
Date: Wed Jun 6 17:55:54 2018
New Revision: 334155
URL: http://llvm.org/viewvc/llvm-project?rev=334155&view=rev
Log:
ClangTidy fix - 'clang::Sema::checkAllowedCUDAInitializer' has a definition
with different parameter names.
Modified:
cfe/trunk/include/clang/Sema/Sema.h
Modified: cfe/trunk/include/clang/Sema/Sema.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=334155&r1=334154&r2=334155&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Sema.h (original)
+++ cfe/trunk/include/clang/Sema/Sema.h Wed Jun 6 17:55:54 2018
@@ -10174,7 +10174,7 @@ public:
// __shared__ variables whether they are local or not (they all are
implicitly
// static in CUDA). One exception is that CUDA allows constant initializers
// for __constant__ and __device__ variables.
- void checkAllowedCUDAInitializer(VarDecl *Var);
+ void checkAllowedCUDAInitializer(VarDecl *VD);
/// Check whether NewFD is a valid overload for CUDA. Emits
/// diagnostics and invalidates NewFD if not.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits