summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/generic-selection.c
Commit message (Collapse)AuthorAgeFilesLines
* Amends r252104 to evaluate the controlling expression in an unevaluated ↵Aaron Ballman2016-02-231-0/+4
| | | | | | context. This eliminates false-positive diagnostics about null pointer dereferences (etc) in the controlling expression. llvm-svn: 261669
* The control expression for a _Generic selection expression should haveAaron Ballman2015-11-051-0/+8
| | | | | | | its type decayed and qualifiers stripped when determining which selection it matches. Fixes PR16340. llvm-svn: 252104
* C1X: implement generic selectionsPeter Collingbourne2011-04-151-0/+26
As an extension, generic selection support has been added for all supported languages. The syntax is the same as for C1X. llvm-svn: 129554
OpenPOWER on IntegriCloud