diff options
| author | Han Shen <shenhan@google.com> | 2018-06-07 00:55:54 +0000 |
|---|---|---|
| committer | Han Shen <shenhan@google.com> | 2018-06-07 00:55:54 +0000 |
| commit | 7452f73c43f5f70e177331b8c8c960018b4f09bc (patch) | |
| tree | 03e903bebada2440e4b902756b9e883d3a3af43a /clang | |
| parent | 30913ac39ded3ba4bdad77162edeb73bc9879ba8 (diff) | |
| download | bcm5719-llvm-7452f73c43f5f70e177331b8c8c960018b4f09bc.tar.gz bcm5719-llvm-7452f73c43f5f70e177331b8c8c960018b4f09bc.zip | |
ClangTidy fix - 'clang::Sema::checkAllowedCUDAInitializer' has a definition with different parameter names.
llvm-svn: 334155
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Sema/Sema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index f42ce6d1507..76418143199 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -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. |

