summaryrefslogtreecommitdiff
path: root/unittests/Analysis/CallGraphTest.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-11-18CallGraphTest.cpp: Remove invalid tests. ++S might step over F if S == F.NAKAMURA Takumi1-3/+0
MSVC Runtime detects "Assertion failed: vector iterator not incrementable" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222233 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-17Fix GraphTraits for "const CallGraphNode *" and "const CallGraph *"Rafael Espindola1-0/+62
The specializations were broken. For example, void foo(const CallGraph *G) { auto I = GraphTraits<const CallGraph *>::nodes_begin(G); auto K = I++; ... } or void bar(const CallGraphNode *N) { auto I = GraphTraits<const CallGraphNode *>::nodes_begin(G); auto K = I++; .... } would not compile. Patch by Speziale Ettore! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222149 91177308-0d34-0410-b5e6-96231b3b80d8