mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-12 01:25:10 +00:00
[C++11] Use 'nullptr'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -34,7 +34,7 @@ TEST(ValueTest, UsedInBasicBlock) {
|
||||
" ret void\n"
|
||||
"}\n";
|
||||
SMDiagnostic Err;
|
||||
Module *M = ParseAssemblyString(ModuleString, NULL, Err, C);
|
||||
Module *M = ParseAssemblyString(ModuleString, nullptr, Err, C);
|
||||
|
||||
Function *F = M->getFunction("f");
|
||||
|
||||
@@ -56,7 +56,7 @@ TEST(GlobalTest, CreateAddressSpace) {
|
||||
GlobalValue::ExternalLinkage,
|
||||
Constant::getAllOnesValue(Int32Ty),
|
||||
"dummy",
|
||||
0,
|
||||
nullptr,
|
||||
GlobalVariable::NotThreadLocal,
|
||||
1);
|
||||
|
||||
@@ -74,7 +74,7 @@ TEST(GlobalTest, CreateAddressSpace) {
|
||||
GlobalValue::ExternalLinkage,
|
||||
Constant::getAllOnesValue(Int32Ty),
|
||||
"dummy_cast",
|
||||
0,
|
||||
nullptr,
|
||||
GlobalVariable::NotThreadLocal,
|
||||
1);
|
||||
|
||||
|
Reference in New Issue
Block a user