summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/pragma-fp-contract.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Parser] Emit descriptive diagnostic for misplaced pragmaSerge Pavlov2019-08-041-0/+32
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
OpenPOWER on IntegriCloud