[PATCH] D90241: [openmp][openacc] Check for duplicate clauses for directive

Paul C. Anagnostopoulos via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 29 10:26:50 PDT 2020


Paul-C-Anagnostopoulos reopened this revision.
Paul-C-Anagnostopoulos added a comment.
This revision is now accepted and ready to land.

When I run the TableGen tests on master, I get the output below. I just rebased master to be sure I am up to date.

- Testing: 1 tests, 1 workers --

FAIL: LLVM :: TableGen/directive3.td (1 of 1)

- TEST 'LLVM :: TableGen/directive3.td' FAILED ********************

Script:
-------

: 'RUN: at line 1';   not d:\llvm\build\bin\llvm-tblgen.exe -gen-directive-decl -I C:\LLVM\llvm-project\llvm\test\TableGen/../../include C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td 2>&1 | d:\llvm\build\bin\filecheck.exe -match-full-lines C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td
: 'RUN: at line 2';   not d:\llvm\build\bin\llvm-tblgen.exe -gen-directive-impl -I C:\LLVM\llvm-project\llvm\test\TableGen/../../include C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td 2>&1 | d:\llvm\build\bin\filecheck.exe -match-full-lines C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td

: 'RUN: at line 3';   not d:\llvm\build\bin\llvm-tblgen.exe -gen-directive-gen -I C:\LLVM\llvm-project\llvm\test\TableGen/../../include C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td 2>&1 | d:\llvm\build\bin\filecheck.exe -match-full-lines C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Exit Code: 1

Command Output (stdout):
------------------------

$ ":" "RUN: at line 1"
$ "not" "d:\llvm\build\bin\llvm-tblgen.exe" "-gen-directive-decl" "-I" "C:\LLVM\llvm-project\llvm\test\TableGen/../../include" "C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td"
note: command had no output on stdout or stderr
error: command failed with exit status: 1
$ "d:\llvm\build\bin\filecheck.exe" "-match-full-lines" "C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td"

command stderr:
===============

C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td:29:11: error: CHECK: expected string not found in input
// CHECK: error: Clause TDLC_ClauseA already defined on directive TDL_DirA

  ^

<stdin>:1:1: note: scanning from here
#ifndef LLVM_TdlError_INC
^

Input file: <stdin>
Check file: C:\LLVM\llvm-project\llvm\test\TableGen\directive3.td

-dump-input=help explains the following input dump.

Input was:
<<<<<<

  1: #ifndef LLVM_TdlError_INC

check:29     X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found

  2: #define LLVM_TdlError_INC

check:29     ~~~~~~~~~~~~~~~~~~~~~~~~~

  3: 

check:29     ~

  4: namespace llvm {

check:29     ~~~~~~~~~~~~~~~~

  5: class StringRef;

check:29     ~~~~~~~~~~~~~~~~

  6: namespace TdlError {

check:29     ~~~~~~~~~~~~~~~~~~~~

  .
  .
  .

>>>>>> 

error: command failed with exit status: 1

-

********************

********************

Failed Tests (1):

  LLVM :: TableGen/directive3.td

Testing Time: 0.30s

  Failed: 1


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D90241



More information about the llvm-commits mailing list