Eli Friedman
b826a00857
Fix the AST representation for non-type template arguments to encode
...
enough information so we can mangle them correctly in cases involving
dependent parameter types. (This specifically impacts cases involving
null pointers and cases involving parameters of reference type.)
Fix the mangler to use this information instead of trying to scavenge
it out of the parameter declaration.
<rdar://problem/12296776>.
llvm-svn: 164656
2012-09-26 02:36:12 +00:00
Richard Smith
b15fe3a5e4
PR13811: Add a FunctionParmPackExpr node to handle references to function
...
parameter packs where the reference is not being expanded but the pack has
been. Previously, Clang would segfault in such cases.
llvm-svn: 163672
2012-09-12 00:56:43 +00:00
Joao Matos
566359c0bf
Revert r163083 per chandlerc's request.
...
llvm-svn: 163149
2012-09-04 17:49:35 +00:00
Joao Matos
c32a7e4d8e
Implemented parsing and AST support for the MS __leave exception statement. Also a minor fix to __except printing in StmtPrinter.cpp. Thanks to Aaron Ballman for review.
...
llvm-svn: 163083
2012-09-02 03:45:41 +00:00
Chad Rosier
d9fb09a91b
[ms-inline asm] Rename getClobber to getClobberStringLiteral. No functional
...
change intended.
llvm-svn: 162710
2012-08-27 23:28:41 +00:00
Chad Rosier
de70e0ef45
[ms-inline asm] As part of a larger refactoring, rename AsmStmt to GCCAsmStmt.
...
No functional change intended.
llvm-svn: 162632
2012-08-25 00:11:56 +00:00
Chad Rosier
32503020a4
Etch out the code path for MS-style inline assembly.
...
llvm-svn: 158325
2012-06-11 20:47:18 +00:00
Argyrios Kyrtzidis
a32a095920
[libclang] Properly handle @encode() in RecursiveASTVisitor and traverse
...
its type source info. Fixes indexing references inside @encode().
llvm-svn: 156936
2012-05-16 19:22:47 +00:00
Argyrios Kyrtzidis
51d6c42824
[libclang] Actually commit the changes to make libclang's RecursiveASTVisitor
...
data-recursive for statements.
llvm-svn: 156339
2012-05-07 23:23:03 +00:00
Argyrios Kyrtzidis
0c7708b571
[libclang] Put the RecursiveASTVisitor in libclang in a cxindex namespace.
...
llvm-svn: 156331
2012-05-07 22:22:58 +00:00
Argyrios Kyrtzidis
c893ba465e
[libclang] Use a copy of the data-recursive RecursiveASTVisitor inside libclang.
...
This is temporary until we settle on how to make the main RecursiveASTVisitor safe.
There are some modifications on the original version, to avoid extreme memory usage
when compiling for release.
rdar://11179167
llvm-svn: 156329
2012-05-07 22:16:46 +00:00