|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
unittests/IR/MetadataTest.cpp 2267 EXPECT_TRUE(N->isParameter());
2268 EXPECT_EQ(Scope, N->getScope());
2269 EXPECT_EQ(Name, N->getName());
2270 EXPECT_EQ(File, N->getFile());
2271 EXPECT_EQ(Line, N->getLine());
2272 EXPECT_EQ(Type, N->getType());
2273 EXPECT_EQ(Arg, N->getArg());
2274 EXPECT_EQ(Flags, N->getFlags());
2275 EXPECT_EQ(AlignInBits, N->getAlignInBits());
2276 EXPECT_EQ(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type, Arg,
2282 EXPECT_NE(N, DILocalVariable::get(Context, getSubprogram(), Name, File, Line,
2284 EXPECT_NE(N, DILocalVariable::get(Context, Scope, "other", File, Line, Type,
2286 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, getFile(), Line, Type,
2288 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line + 1, Type,
2290 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line,
2292 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type,
2294 EXPECT_NE(N, DILocalVariable::get(Context, Scope, Name, File, Line, Type,
2297 TempDILocalVariable Temp = N->clone();
2298 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp)));