tcg: Search includes from the project root source directory
We currently search both the root and the tcg/ directories for tcg files: $ git grep '#include "tcg/' | wc -l 28 $ git grep '#include "tcg[^/]' | wc -l 94 To simplify the preprocessor search path, unify by expliciting the tcg/ directory. Patch created mechanically by running: $ for x in \ tcg.h tcg-mo.h tcg-op.h tcg-opc.h \ tcg-op-gvec.h tcg-gvec-desc.h; do \ sed -i "s,#include \"$x\",#include \"tcg/$x\"," \ $(git grep -l "#include \"$x\""); \ done Acked-by: David Gibson <david@gibson.dropbear.id.au> (ppc parts) Reviewed-by:Paolo Bonzini <pbonzini@redhat.com> Reviewed-by:
Alistair Francis <alistair.francis@wdc.com> Reviewed-by:
Stefan Weil <sw@weilnetz.de> Reviewed-by:
Richard Henderson <richard.henderson@linaro.org> Signed-off-by:
Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200101112303.20724-2-philmd@redhat.com> Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Showing
- accel/tcg/cpu-exec.c 1 addition, 1 deletionaccel/tcg/cpu-exec.c
- accel/tcg/tcg-runtime-gvec.c 1 addition, 1 deletionaccel/tcg/tcg-runtime-gvec.c
- accel/tcg/tcg-runtime.c 1 addition, 1 deletionaccel/tcg/tcg-runtime.c
- accel/tcg/translate-all.c 1 addition, 1 deletionaccel/tcg/translate-all.c
- accel/tcg/user-exec.c 1 addition, 1 deletionaccel/tcg/user-exec.c
- bsd-user/main.c 1 addition, 1 deletionbsd-user/main.c
- cpus.c 1 addition, 1 deletioncpus.c
- exec.c 1 addition, 1 deletionexec.c
- include/exec/cpu_ldst.h 1 addition, 1 deletioninclude/exec/cpu_ldst.h
- linux-user/main.c 1 addition, 1 deletionlinux-user/main.c
- linux-user/syscall.c 1 addition, 1 deletionlinux-user/syscall.c
- target/alpha/translate.c 1 addition, 1 deletiontarget/alpha/translate.c
- target/arm/helper-a64.c 1 addition, 1 deletiontarget/arm/helper-a64.c
- target/arm/sve_helper.c 1 addition, 1 deletiontarget/arm/sve_helper.c
- target/arm/translate-a64.c 2 additions, 2 deletionstarget/arm/translate-a64.c
- target/arm/translate-sve.c 3 additions, 3 deletionstarget/arm/translate-sve.c
- target/arm/translate.c 2 additions, 2 deletionstarget/arm/translate.c
- target/cris/translate.c 1 addition, 1 deletiontarget/cris/translate.c
- target/hppa/translate.c 1 addition, 1 deletiontarget/hppa/translate.c
- target/i386/mem_helper.c 1 addition, 1 deletiontarget/i386/mem_helper.c
Loading
Please register or sign in to comment