]> granicus.if.org Git - clang/commitdiff
ClangTidy fix - 'clang::Sema::checkAllowedCUDAInitializer' has a definition with...
authorHan Shen <shenhan@google.com>
Thu, 7 Jun 2018 00:55:54 +0000 (00:55 +0000)
committerHan Shen <shenhan@google.com>
Thu, 7 Jun 2018 00:55:54 +0000 (00:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@334155 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Sema.h

index f42ce6d1507b5f8bd56954ac45ff58e667d7adb6..76418143199cbc567ef6959d73f3ac581218f9e2 100644 (file)
@@ -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.