summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/InheritViz.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2018-11-02 13:14:11 +0000
committerTim Northover <tnorthover@apple.com>2018-11-02 13:14:11 +0000
commit314fbfa1c4c6665c54a220eefb10a6f23010a352 (patch)
treee7249debf2e3c4d030fd1be7460a7f72a30a1c19 /clang/lib/AST/InheritViz.cpp
parentc55d09a00e8067f27de2bb88c12a2bee64a2192a (diff)
downloadbcm5719-llvm-314fbfa1c4c6665c54a220eefb10a6f23010a352.tar.gz
bcm5719-llvm-314fbfa1c4c6665c54a220eefb10a6f23010a352.zip
Reapply Logging: make os_log buffer size an integer constant expression.
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
Diffstat (limited to 'clang/lib/AST/InheritViz.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud