Daniel Dunbar
8b57697954
Eliminate &&s in tests.
...
- 'for i in $(find . -type f); do sed -e 's#\(RUN:.*[^ ]\) *&& *$#\1#g' $i | FileUpdate $i; done', for the curious.
llvm-svn: 86430
2009-11-08 01:45:36 +00:00
Argyrios Kyrtzidis
4cbe85904c
Modify ASTLocation and apart from being a Decl or Stmt, allow it to also be:
...
-A NamedDecl reference
-A TypeLoc
llvm-svn: 83095
2009-09-29 19:44:27 +00:00
Argyrios Kyrtzidis
851b208a20
Use temporary output to avoid running index-test with the same commands multiple times.
...
llvm-svn: 76513
2009-07-21 00:06:46 +00:00
Argyrios Kyrtzidis
ed53caebda
Add comments to indicate why RUN lines are below the source code.
...
llvm-svn: 75813
2009-07-15 18:59:40 +00:00
Argyrios Kyrtzidis
9cbe886cff
Move the RUN lines on the same file but below the code, as suggested by Sebastian.
...
llvm-svn: 75608
2009-07-14 05:34:59 +00:00
Argyrios Kyrtzidis
2f0eff102c
Handle struct fields through the index-test tool.
...
llvm-svn: 75596
2009-07-14 03:18:40 +00:00
Argyrios Kyrtzidis
558449bf79
Move the test input source code to a separate file.
...
That way we can freely add new RUN lines without having to correct the line part in all the -point-at options.
llvm-svn: 75595
2009-07-14 03:18:25 +00:00
Argyrios Kyrtzidis
92772215af
Introduce tools/index-test.
...
This tool will be the test bed for indexing related operations. It basically reads PCH files passed by the command line and performs various operations.
Currently it can accept a file:line:column which resolves to a declaration/statement and displays some information about them.
llvm-svn: 74198
2009-06-25 18:22:52 +00:00