summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/FormatStringParsing.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing header comment, NFCErik Pilkington2019-08-131-0/+13
| | | | llvm-svn: 368754
* OpenCL: Improve vector printf warningsMatt Arsenault2018-12-011-0/+4
| | | | | | | | | | | | The vector modifier is considered separate, so don't treat it as a conversion specifier. This is still not warning on some cases, like using a type that isn't a valid vector element. Fixes bug 39652 llvm-svn: 348084
* Reapply Logging: make os_log buffer size an integer constant expression.Tim Northover2018-11-021-0/+79
The size of an os_log buffer is known at any stage of compilation, so making it a constant expression means that the common idiom of declaring a buffer for it won't result in a VLA. That allows the compiler to skip saving and restoring the stack pointer around such buffers. This also moves the OSLog and other FormatString helpers from libclangAnalysis to libclangAST to avoid a circular dependency. llvm-svn: 345971
OpenPOWER on IntegriCloud