[PATCH] D62115: fix a issue that clang is incompatible with gcc with -H option.

Kim Gräsman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 22:37:32 PDT 2019


kimgr added a comment.

I was thinking about a testcase like:

  // RUN: %clang -H -fsyntax-only %s 2>&1 | FileCheck %s
  
  #include "..\Index\Inputs\empty.h"
  #include ".\Inputs\empty.h"
  
  // CHECK: .
  // CHECK-SAME: ???
  // CHECK: .
  // CHECK-NOT: ???
  // CHECK-SAME: ???

with some provision for running it in a Windows environment.

Not sure what the expected behavior should be, hence the `???`


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

https://reviews.llvm.org/D62115





More information about the cfe-commits mailing list