forked from OSchip/llvm-project
4570d3eba0
This has led to many test suite failures because of copy and paste where new test cases were based off of other test cases and the "mydir" variable wasn't updated. Now you can call your superclasses "compute_mydir()" function with "__file__" as the sole argument and the relative path will be computed for you. llvm-svn: 196985 |
||
---|---|---|
.. | ||
Makefile | ||
README.txt | ||
TestForwardDeclaration.py | ||
foo.c | ||
foo.h | ||
main.c |
README.txt
This example has a function call in foo.c named "foo" that takes a forward declaration to "struct bar" and uses it as a pointer argument. In main.c we have a real declaration for "struct bar". We want to be able to find the real definition of "struct bar" when we are stopped in foo in foo.c such that when we stop in "foo" we see the contents of the "bar_ptr".