summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/call-function
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2017-12-02 21:18:14 +0000
committerPhilipp Stephani <phst@google.com>2017-12-02 21:18:14 +0000
commitc256a4ed179ba7cd1459e0846a18ecf06fb82b3d (patch)
tree8474b400ba4ea33b2ad20d91d4f301099b2ef5dd /lldb/packages/Python/lldbsuite/test/expression_command/call-function
parentaa7d6db5c8fc449b2908c6d629d6d9a067f49896 (diff)
downloadbcm5719-llvm-c256a4ed179ba7cd1459e0846a18ecf06fb82b3d.tar.gz
bcm5719-llvm-c256a4ed179ba7cd1459e0846a18ecf06fb82b3d.zip
Fix assume-filename handling in clang-format.el
Summary: When 'buffer-file-name' is nil 'call-process-region' returned a segmentation fault error. This was a problem when using clang-format-buffer on an orgmode source code editing buffer. I fixed this problem by excluding the '-assume-filename' argument when 'buffer-file-name' is nil. To make it a bit more flexible I also added an optional argument, 'assume-file-name', to specify an assume-filename that overrides 'buffer-file-name'. Reviewers: klimek, djasper, phst, phi Reviewed By: phst, phi Subscribers: phi, jholewinski, mgorny, javed.absar, eraman, cfe-commits Differential Revision: https://reviews.llvm.org/D37903 llvm-svn: 319621
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud