[PATCH] D72326: [clang-format] Rebased on master: Add option to specify explicit config file

Mitchell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 11 13:35:23 PDT 2020


mitchell-stellar reopened this revision.
mitchell-stellar added a comment.
This revision is now accepted and ready to land.

Reverted this commit due to an unexpected test failure:

  ******************** TEST 'Clang :: Format/dump-config-objc.h' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /b/1/clang-x86_64-debian-fast/llvm.obj/bin/clang-format -dump-config /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Format/dump-config-objc.h | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Format/dump-config-objc.h
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  /b/1/clang-x86_64-debian-fast/llvm.src/clang/test/Format/dump-config-objc.h:3:11: error: CHECK: expected string not found in input
  // CHECK: Language: ObjC
            ^
  <stdin>:1:1: note: scanning from here
  ---
  ^
  <stdin>:2:1: note: possible intended match here
  Language: Cpp
  ^
  
  --
  
  ********************

I don't know enough about this patch in order to determine what the issue is, or how to proceed further. Perhaps @MyDeveloperDay will chime in.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72326/new/

https://reviews.llvm.org/D72326





More information about the cfe-commits mailing list