[PATCH] D126031: [libclang] add supporting for indexing/visiting C++ concepts
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 24 12:42:37 PDT 2022
arphaman added a comment.
@Jake-Egan
Do you happen to have suggestions for how to try to reproduce this? Looking at the failure it looks like this CI job somehow was unable to be affected by this change, for instance the CI output of `index-concept-kind.cpp` does not have any concepts output:
+ : 'RUN: at line 1'
+ /scratch/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/bin/c-index-test -index-file /scratch/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/clang/test/Index/index-concept-kind.cpp -std=gnu++20
+ /scratch/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/build/bin/FileCheck /scratch/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/clang/test/Index/index-concept-kind.cpp
/scratch/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/clang/test/Index/index-concept-kind.cpp:5:11: error: CHECK: expected string not found in input
// CHECK: [indexDeclaration]: kind: concept | name: LargeType | USR: c:@CT at LargeType | lang: C | cursor: ConceptDecl=LargeType:[[@LINE-1]]:9 (Definition) | loc: [[@LINE-1]]:9 | semantic-container: [TU] | lexical-container: [TU] | isRedecl: 0 | isDef: 1 | isContainer: 0 | isImplicit: 0
^
<stdin>:1:1: note: scanning from here
[startedTranslationUnit]
^
<stdin>:1:1: note: with "@LINE-1" equal to "4"
[startedTranslationUnit]
^
<stdin>:1:1: note: with "@LINE-1" equal to "4"
[startedTranslationUnit]
^
Input file: <stdin>
Check file: /scratch/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/clang/test/Index/index-concept-kind.cpp
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: [startedTranslationUnit]
check:5'0 X~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
check:5'1 with "@LINE-1" equal to "4"
check:5'2 with "@LINE-1" equal to "4"
2: [enteredMainFile]: /scratch/powerllvm/powerllvm_env/aix-ppc64/clang-ppc64-aix/llvm-project/clang/test/Index/index-concept-kind.cpp
check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: [indexDeclaration]: kind: function-template | name: f | USR: c:@FT@>1#Tf#v# | lang: C++ | cursor: FunctionDecl=f:9:6 | loc: 9:6 | semantic-container: [TU] | lexical-container: [TU] | isRedecl: 0 | isDef: 0 | isContainer: 0 | isImplicit: 0
check:5'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>>
So far I was unable to reproduce this locally, and all the other CI jobs seem to pass.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126031/new/
https://reviews.llvm.org/D126031
More information about the cfe-commits
mailing list