diff options
author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2015-11-04 22:32:32 +0000 |
---|---|---|
committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2015-11-04 22:32:32 +0000 |
commit | ffec81ca0095fc22a2544f3cd42320a80899c15d (patch) | |
tree | 4a8de783b53d24ee3952af65645d949ef2c83904 /llvm/lib/Transforms/Instrumentation | |
parent | dd23974a5d860188e8c4a114788458929de039d3 (diff) | |
download | bcm5719-llvm-ffec81ca0095fc22a2544f3cd42320a80899c15d.tar.gz bcm5719-llvm-ffec81ca0095fc22a2544f3cd42320a80899c15d.zip |
Fix some Clang-tidy modernize warnings, other minor fixes.
Fixed warnings are: modernize-use-override, modernize-use-nullptr and modernize-redundant-void-arg.
Differential revision: http://reviews.llvm.org/D14312
llvm-svn: 252087
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation')
-rw-r--r-- | llvm/lib/Transforms/Instrumentation/SafeStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/SafeStack.cpp b/llvm/lib/Transforms/Instrumentation/SafeStack.cpp index f63f3a5f45f..d351358b463 100644 --- a/llvm/lib/Transforms/Instrumentation/SafeStack.cpp +++ b/llvm/lib/Transforms/Instrumentation/SafeStack.cpp @@ -261,7 +261,7 @@ Value *SafeStack::getOrCreateUnsafeStackPtr(IRBuilder<> &IRB, Function &F) { // We use the initial-exec TLS model because we do not support the // variable living anywhere other than in the main executable. UnsafeStackPtr = new GlobalVariable( - M, StackPtrTy, false, GlobalValue::ExternalLinkage, 0, + M, StackPtrTy, false, GlobalValue::ExternalLinkage, nullptr, UnsafeStackPtrVar, nullptr, GlobalValue::InitialExecTLSModel); } else { // The variable exists, check its type and attributes. |