summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/asm.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Parse: Concatenated string literals should be verified in inline asmDavid Majnemer2014-12-111-0/+1
| | | | | | | | | | While we would correctly handle asm("foo") and reject asm(L"bar"), we weren't careful to handle cases where an ascii literal could be concatenated with a wide literal. This fixes PR21822. llvm-svn: 223992
* User-defined literals: reject string and character UDLs in all places where theRichard Smith2012-03-061-0/+8
grammar requires a string-literal and not a user-defined-string-literal. The two constructs are still represented by the same TokenKind, in order to prevent a combinatorial explosion of different kinds of token. A flag on Token tracks whether a ud-suffix is present, in order to prevent clients from needing to look at the token's spelling. llvm-svn: 152098
OpenPOWER on IntegriCloud