summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/generic-selection.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace some custom C11 extension warnings with the generic warning.Aaron Ballman2019-08-271-15/+18
| | | | llvm-svn: 370066
* Allow a C11 generic selection expression to select a function with the ↵Aaron Ballman2016-09-021-1/+9
| | | | | | overloadable attribute as the result expression without crashing. This fixes PR30201. llvm-svn: 280483
* 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