summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-template-quals.cpp
Commit message (Collapse)AuthorAgeFilesLines
* DebugInfo: handle the DI asm printing change to reword '[fwd]' as '[decl]' ↵David Blaikie2013-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | and add '[def]' for non-decl tag types This is to make test cases looking for definitions more legible by making the definition explicit rather than just the absence of '[fwd]'. This allowed the debug-info-record tests to be rephrased - and in the interests of reducing the number of individual test cases/invocations we have, I merged them into one file, separated them with namespaces (& then moved them to C++ because namespaces are great). If they need to remain 'C' only tests, they can be moved back. (I didn't group them with 'debug-info-class.cpp' because these tests only apply to -fno-limit-debug-info) I removed the pieces of code that would cause these tests to pass under -flimit-debug-info to ensure the tests remain relevant to their fixes should we ever improve -flimit-debug-info to catch that kind of code. This commit is version locked with the corresponding change to DebugInfo.h in LLVM. Except some transient buildbot fallout. llvm-svn: 184524
* Simplify/generalize some debug info test casesDavid Blaikie2013-03-191-8/+9
| | | | | | | | | Mostly, try to depend on the annotation comments more so these tests are more legible, brief, and agnostic to schema changes in the future (sure, they're not agnostic to changes to the comment annotations but since they're easier to read they should be easier to update if that happens). llvm-svn: 177457
* Generalize DebugInfo tests by avoiding explicit metadata numbersDavid Blaikie2013-02-021-3/+3
| | | | | | | | | | | | | | | This addresses several (not all) debug info tests that use explicit metadata numbers. Wherever the same number appeared more than once in a test I used a named match to ensure the same number appeared in all those cases (this may still be overly constraining test cases as they may not have actually cared about that relationship). For one-off numbers I just replaced them with an unnamed regex. This may underconstrain poorly written test cases that were interested in checking that certain metadata nodes were related but didn't actually match on all the related nodes numbers. llvm-svn: 174247
* PR14472: Preserve qualifiers while unwrapping types for debug infoDavid Blaikie2013-01-211-4/+7
| | | | | | | | | | Looks like r161368 fixed this for one case but not all. This change generalizes the solution over all the unwrapping cases. Now that preserving the qualifiers is done independent of the particular type being unwrapped I won't bother adding test cases for each one but at least demonstrate that this change was necessary & sufficient to fix the bug. llvm-svn: 173002
* Revert r158009 since there are some uses of artificial functions inEric Christopher2012-10-171-1/+1
| | | | | | debug info. llvm-svn: 166109
* Fix the test RUN line for this better.Eric Christopher2012-08-071-1/+1
| | | | llvm-svn: 161390
* Specify a triple on this to make it easier to test.Eric Christopher2012-08-071-1/+1
| | | | llvm-svn: 161372
* Make sure when we get the replacement type for a template argumentEric Christopher2012-08-071-0/+23
that we attach the lost qualifiers. Fixes rdar://11882155 llvm-svn: 161368
OpenPOWER on IntegriCloud