[llvm] r222233 - CallGraphTest.cpp: Remove invalid tests. ++S might step over F if S == F.
Speziale Ettore
speziale.ettore at gmail.com
Tue Nov 18 09:41:40 PST 2014
Hello,
D'oh! My fault ... sorry.
> auto S = GraphTraits<NodeTy *>::child_begin(N);
> > auto F = GraphTraits<NodeTy *>::child_end(N);
> > - auto Y = ++S;
> >
> > // Should be able to iterate over immediate successors of a node.
> > static_assert(std::is_same<decltype(*S), NodeTy *>::value,
> > "Node type does not match");
> > static_assert(std::is_same<decltype(*F), NodeTy *>::value,
> > "Node type does not match");
> > - static_assert(std::is_same<decltype(*Y), NodeTy *>::value,
> > - "Node type does not match");
> > }
>
Isn't the MSVC Runtime complaining on auto X =++I and the corresponding
static_assert on X?
Bye,
Ettore Speziale
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141118/fd9c6b4f/attachment.html>
More information about the llvm-commits
mailing list