summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/pragma-fp-contract.c
Commit message (Collapse)AuthorAgeFilesLines
* [Parser] Emit descriptive diagnostic for misplaced pragmaSerge Pavlov2019-08-041-0/+13
| | | | | | | | | | | If a class or struct or union declaration contains a pragma that is not valid in this context, compiler issues generic error like "expected member name or ';' after declaration specifiers". With this change the error tells that this pragma cannot appear in this declaration. Differential Revision: https://reviews.llvm.org/D64932 llvm-svn: 367779
* Fix bogus diagnostic wording. There's no such thing as a compound expression.Richard Smith2013-11-151-1/+1
| | | | llvm-svn: 194849
* Test case for r167363.Lang Hames2012-11-041-0/+5
| | | | llvm-svn: 167369
* Fix typo, make test case slightly more reabable. Thanks to Dmitri Gribenko forLang Hames2012-10-211-1/+2
| | | | | | the suggestions. llvm-svn: 166400
* When used in a compound expression FP_CONTRACT should proceed all explicitLang Hames2012-10-211-0/+6
declarations and statements. Emit an error if the FP_CONTRACT is used later in a compound statement. llvm-svn: 166383
OpenPOWER on IntegriCloud