Thu 25 Oct 23:09:38 BST 2018: starting 55127: build of llvm-toolchain-3.8 version 1:3.8.1-27 arch armel on mustang5 Running apt-get -q --download-only --only-source source llvm-toolchain-3.8=1:3.8.1-27 Reading package lists... NOTICE: 'llvm-toolchain-3.8' packaging is maintained in the 'Svn' version control system at: svn://anonscm.debian.org/svn/pkg-llvm/llvm-toolchain/branches/3.8/ Need to get 37.9 MB of source archives. Get:1 http://mirror.einval.org/debian unstable/main llvm-toolchain-3.8 1:3.8.1-27 (dsc) [6,060 B] Get:2 http://mirror.einval.org/debian unstable/main llvm-toolchain-3.8 1:3.8.1-27 (tar) [351 kB] Get:3 http://mirror.einval.org/debian unstable/main llvm-toolchain-3.8 1:3.8.1-27 (tar) [10.6 MB] Get:4 http://mirror.einval.org/debian unstable/main llvm-toolchain-3.8 1:3.8.1-27 (tar) [1,674 kB] Get:5 http://mirror.einval.org/debian unstable/main llvm-toolchain-3.8 1:3.8.1-27 (tar) [4,002 kB] Get:6 http://mirror.einval.org/debian unstable/main llvm-toolchain-3.8 1:3.8.1-27 (tar) [2,019 kB] Get:7 http://mirror.einval.org/debian unstable/main llvm-toolchain-3.8 1:3.8.1-27 (tar) [19.2 MB] Get:8 http://mirror.einval.org/debian unstable/main llvm-toolchain-3.8 1:3.8.1-27 (diff) [68.1 kB] Fetched 37.9 MB in 0s (50.0 MB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'llvm-toolchain-3.8_3.8.1-27.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) total 37008 -rw-r--r-- 1 root root 68104 Dec 24 2017 llvm-toolchain-3.8_3.8.1-27.debian.tar.xz -rw-r--r-- 1 root root 6060 Dec 24 2017 llvm-toolchain-3.8_3.8.1-27.dsc -rw-r--r-- 1 root root 351346 Jun 23 2016 llvm-toolchain-3.8_3.8.1.orig-clang-tools-extra.tar.bz2 -rw-r--r-- 1 root root 10564872 Jun 23 2016 llvm-toolchain-3.8_3.8.1.orig-clang.tar.bz2 -rw-r--r-- 1 root root 1673839 Jun 23 2016 llvm-toolchain-3.8_3.8.1.orig-compiler-rt.tar.bz2 -rw-r--r-- 1 root root 4001949 Jun 23 2016 llvm-toolchain-3.8_3.8.1.orig-lldb.tar.bz2 -rw-r--r-- 1 root root 2018515 Jun 23 2016 llvm-toolchain-3.8_3.8.1.orig-polly.tar.bz2 -rw-r--r-- 1 root root 19194143 Jun 23 2016 llvm-toolchain-3.8_3.8.1.orig.tar.bz2 sbuild (Debian sbuild) 0.73.0 (23 Dec 2016) on mustang5.einval.org +==============================================================================+ | llvm-toolchain-3.8 1:3.8.1-27 (armel) Thu, 25 Oct 2018 22:09:40 +0000 | +==============================================================================+ Package: llvm-toolchain-3.8 Version: 1:3.8.1-27 Source Version: 1:3.8.1-27 Distribution: sid Machine Architecture: arm64 Host Architecture: armel Build Architecture: armel Build Type: binary I: NOTICE: Log filtering will replace 'var/run/schroot/mount/sid-armel-sbuild-9db72410-eb9c-43fc-976b-5eb25047cf59' with '<>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Get:1 http://mirror.einval.org/debian sid InRelease [233 kB] Ign:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index Get:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index [27.9 kB] Ign:2 http://mirror.einval.org/debian sid/main armel Packages.diff/Index Get:3 http://mirror.einval.org/debian sid/main armel Packages [7944 kB] Fetched 8176 kB in 3s (2974 kB/s) Reading package lists... Reading package lists... Building dependency tree... Calculating upgrade... The following NEW packages will be installed: libgdbm6 The following packages will be upgraded: binutils binutils-arm-linux-gnueabi binutils-common cpp-8 findutils g++-8 gcc-8 gcc-8-base init-system-helpers libasan5 libatomic1 libbinutils libcc1-0 libgcc-8-dev libgcc1 libgdbm-compat4 libgomp1 libgpg-error0 libncursesw6 libperl5.26 libstdc++-8-dev libstdc++6 libtinfo6 libubsan1 linux-libc-dev ncurses-base ncurses-bin perl perl-base sed sysvinit-utils tzdata 32 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 33.4 MB of archives. After this operation, 388 kB disk space will be freed. Get:1 http://mirror.einval.org/debian sid/main armel findutils armel 4.6.0+git+20181018-1 [633 kB] Get:2 http://mirror.einval.org/debian sid/main armel ncurses-bin armel 6.1+20181013-1 [399 kB] Get:3 http://mirror.einval.org/debian sid/main armel libgdbm6 armel 1.18-2 [60.1 kB] Get:4 http://mirror.einval.org/debian sid/main armel libgdbm-compat4 armel 1.18-2 [42.9 kB] Get:5 http://mirror.einval.org/debian sid/main armel perl-base armel 5.26.2-7+b1 [1268 kB] Get:6 http://mirror.einval.org/debian sid/main armel perl armel 5.26.2-7+b1 [202 kB] Get:7 http://mirror.einval.org/debian sid/main armel libperl5.26 armel 5.26.2-7+b1 [2899 kB] Get:8 http://mirror.einval.org/debian sid/main armel sed armel 4.5-2 [288 kB] Get:9 http://mirror.einval.org/debian sid/main armel init-system-helpers all 1.55 [46.3 kB] Get:10 http://mirror.einval.org/debian sid/main armel ncurses-base all 6.1+20181013-1 [258 kB] Get:11 http://mirror.einval.org/debian sid/main armel sysvinit-utils armel 2.88dsf-59.11 [67.1 kB] Get:12 http://mirror.einval.org/debian sid/main armel libubsan1 armel 8.2.0-8 [104 kB] Get:13 http://mirror.einval.org/debian sid/main armel gcc-8-base armel 8.2.0-8 [187 kB] Get:14 http://mirror.einval.org/debian sid/main armel libstdc++6 armel 8.2.0-8 [324 kB] Get:15 http://mirror.einval.org/debian sid/main armel libgomp1 armel 8.2.0-8 [67.2 kB] Get:16 http://mirror.einval.org/debian sid/main armel libatomic1 armel 8.2.0-8 [8960 B] Get:17 http://mirror.einval.org/debian sid/main armel libasan5 armel 8.2.0-8 [319 kB] Get:18 http://mirror.einval.org/debian sid/main armel cpp-8 armel 8.2.0-8 [5474 kB] Get:19 http://mirror.einval.org/debian sid/main armel libcc1-0 armel 8.2.0-8 [30.3 kB] Get:20 http://mirror.einval.org/debian sid/main armel g++-8 armel 8.2.0-8 [5941 kB] Get:21 http://mirror.einval.org/debian sid/main armel gcc-8 armel 8.2.0-8 [5840 kB] Get:22 http://mirror.einval.org/debian sid/main armel libgcc-8-dev armel 8.2.0-8 [604 kB] Get:23 http://mirror.einval.org/debian sid/main armel libstdc++-8-dev armel 8.2.0-8 [1562 kB] Get:24 http://mirror.einval.org/debian sid/main armel libgcc1 armel 1:8.2.0-8 [38.5 kB] Get:25 http://mirror.einval.org/debian sid/main armel libbinutils armel 2.31.1-7 [304 kB] Get:26 http://mirror.einval.org/debian sid/main armel binutils-common armel 2.31.1-7 [2071 kB] Get:27 http://mirror.einval.org/debian sid/main armel binutils armel 2.31.1-7 [55.9 kB] Get:28 http://mirror.einval.org/debian sid/main armel binutils-arm-linux-gnueabi armel 2.31.1-7 [2054 kB] Get:29 http://mirror.einval.org/debian sid/main armel libgpg-error0 armel 1.32-3 [60.0 kB] Get:30 http://mirror.einval.org/debian sid/main armel libtinfo6 armel 6.1+20181013-1 [311 kB] Get:31 http://mirror.einval.org/debian sid/main armel libncursesw6 armel 6.1+20181013-1 [105 kB] Get:32 http://mirror.einval.org/debian sid/main armel tzdata all 2018f-1 [254 kB] Get:33 http://mirror.einval.org/debian sid/main armel linux-libc-dev armel 4.18.10-2 [1519 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 33.4 MB in 1s (44.4 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11490 files and directories currently installed.) Preparing to unpack .../findutils_4.6.0+git+20181018-1_armel.deb ... Unpacking findutils (4.6.0+git+20181018-1) over (4.6.0+git+20180808-2) ... Setting up findutils (4.6.0+git+20181018-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11490 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.1+20181013-1_armel.deb ... Unpacking ncurses-bin (6.1+20181013-1) over (6.1+20180714-1) ... Setting up ncurses-bin (6.1+20181013-1) ... Selecting previously unselected package libgdbm6:armel. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11490 files and directories currently installed.) Preparing to unpack .../libgdbm6_1.18-2_armel.deb ... Unpacking libgdbm6:armel (1.18-2) ... Preparing to unpack .../libgdbm-compat4_1.18-2_armel.deb ... Unpacking libgdbm-compat4:armel (1.18-2) over (1.14.1-6+b1) ... Preparing to unpack .../perl-base_5.26.2-7+b1_armel.deb ... Unpacking perl-base (5.26.2-7+b1) over (5.26.2-7) ... Setting up perl-base (5.26.2-7+b1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11496 files and directories currently installed.) Preparing to unpack .../perl_5.26.2-7+b1_armel.deb ... Unpacking perl (5.26.2-7+b1) over (5.26.2-7) ... Preparing to unpack .../libperl5.26_5.26.2-7+b1_armel.deb ... Unpacking libperl5.26:armel (5.26.2-7+b1) over (5.26.2-7) ... Preparing to unpack .../archives/sed_4.5-2_armel.deb ... Unpacking sed (4.5-2) over (4.5-1) ... Setting up sed (4.5-2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11497 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.55_all.deb ... Unpacking init-system-helpers (1.55) over (1.54) ... Setting up init-system-helpers (1.55) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11497 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.1+20181013-1_all.deb ... Unpacking ncurses-base (6.1+20181013-1) over (6.1+20180714-1) ... Setting up ncurses-base (6.1+20181013-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11497 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_2.88dsf-59.11_armel.deb ... Unpacking sysvinit-utils (2.88dsf-59.11) over (2.88dsf-59.10) ... Setting up sysvinit-utils (2.88dsf-59.11) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11497 files and directories currently installed.) Preparing to unpack .../libubsan1_8.2.0-8_armel.deb ... Unpacking libubsan1:armel (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../gcc-8-base_8.2.0-8_armel.deb ... Unpacking gcc-8-base:armel (8.2.0-8) over (8.2.0-7) ... Setting up gcc-8-base:armel (8.2.0-8) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11497 files and directories currently installed.) Preparing to unpack .../libstdc++6_8.2.0-8_armel.deb ... Unpacking libstdc++6:armel (8.2.0-8) over (8.2.0-7) ... Setting up libstdc++6:armel (8.2.0-8) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11497 files and directories currently installed.) Preparing to unpack .../0-libgomp1_8.2.0-8_armel.deb ... Unpacking libgomp1:armel (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../1-libatomic1_8.2.0-8_armel.deb ... Unpacking libatomic1:armel (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../2-libasan5_8.2.0-8_armel.deb ... Unpacking libasan5:armel (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../3-cpp-8_8.2.0-8_armel.deb ... Unpacking cpp-8 (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../4-libcc1-0_8.2.0-8_armel.deb ... Unpacking libcc1-0:armel (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../5-g++-8_8.2.0-8_armel.deb ... Unpacking g++-8 (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../6-gcc-8_8.2.0-8_armel.deb ... Unpacking gcc-8 (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../7-libgcc-8-dev_8.2.0-8_armel.deb ... Unpacking libgcc-8-dev:armel (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../8-libstdc++-8-dev_8.2.0-8_armel.deb ... Unpacking libstdc++-8-dev:armel (8.2.0-8) over (8.2.0-7) ... Preparing to unpack .../9-libgcc1_1%3a8.2.0-8_armel.deb ... Unpacking libgcc1:armel (1:8.2.0-8) over (1:8.2.0-7) ... Setting up libgcc1:armel (1:8.2.0-8) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11497 files and directories currently installed.) Preparing to unpack .../libbinutils_2.31.1-7_armel.deb ... Unpacking libbinutils:armel (2.31.1-7) over (2.31.1-6) ... Preparing to unpack .../binutils-common_2.31.1-7_armel.deb ... Unpacking binutils-common:armel (2.31.1-7) over (2.31.1-6) ... Preparing to unpack .../binutils_2.31.1-7_armel.deb ... Unpacking binutils (2.31.1-7) over (2.31.1-6) ... Preparing to unpack .../binutils-arm-linux-gnueabi_2.31.1-7_armel.deb ... Unpacking binutils-arm-linux-gnueabi (2.31.1-7) over (2.31.1-6) ... Preparing to unpack .../libgpg-error0_1.32-3_armel.deb ... Unpacking libgpg-error0:armel (1.32-3) over (1.32-1) ... Setting up libgpg-error0:armel (1.32-3) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11477 files and directories currently installed.) Preparing to unpack .../libtinfo6_6.1+20181013-1_armel.deb ... Unpacking libtinfo6:armel (6.1+20181013-1) over (6.1+20180714-1) ... Setting up libtinfo6:armel (6.1+20181013-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11477 files and directories currently installed.) Preparing to unpack .../libncursesw6_6.1+20181013-1_armel.deb ... Unpacking libncursesw6:armel (6.1+20181013-1) over (6.1+20180714-1) ... Setting up libncursesw6:armel (6.1+20181013-1) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 11477 files and directories currently installed.) Preparing to unpack .../tzdata_2018f-1_all.deb ... Unpacking tzdata (2018f-1) over (2018e-1) ... Preparing to unpack .../linux-libc-dev_4.18.10-2_armel.deb ... Unpacking linux-libc-dev:armel (4.18.10-2) over (4.18.10-1) ... Setting up cpp-8 (8.2.0-8) ... Setting up libgomp1:armel (8.2.0-8) ... Setting up libatomic1:armel (8.2.0-8) ... Setting up libcc1-0:armel (8.2.0-8) ... Setting up tzdata (2018f-1) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Oct 25 22:11:21 UTC 2018. Universal Time is now: Thu Oct 25 22:11:21 UTC 2018. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up linux-libc-dev:armel (4.18.10-2) ... Setting up libgdbm6:armel (1.18-2) ... Setting up binutils-common:armel (2.31.1-7) ... Processing triggers for libc-bin (2.27-6) ... Setting up libgdbm-compat4:armel (1.18-2) ... Setting up libasan5:armel (8.2.0-8) ... Setting up libubsan1:armel (8.2.0-8) ... Setting up libbinutils:armel (2.31.1-7) ... Setting up libperl5.26:armel (5.26.2-7+b1) ... Setting up libgcc-8-dev:armel (8.2.0-8) ... Setting up binutils-arm-linux-gnueabi (2.31.1-7) ... Setting up libstdc++-8-dev:armel (8.2.0-8) ... Setting up perl (5.26.2-7+b1) ... Setting up binutils (2.31.1-7) ... Setting up gcc-8 (8.2.0-8) ... Setting up g++-8 (8.2.0-8) ... Processing triggers for libc-bin (2.27-6) ... +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- /chroot/rebuildd/build-llvm-toolchain-3.8/llvm-toolchain-3.8_3.8.1-27.dsc exists in /chroot/rebuildd/build-llvm-toolchain-3.8; copying to chroot I: NOTICE: Log filtering will replace 'build/llvm-toolchain-3.8-OUEwcX/llvm-toolchain-3.8-3.8.1' with '<>' I: NOTICE: Log filtering will replace 'build/llvm-toolchain-3.8-OUEwcX' with '<>' +------------------------------------------------------------------------------+ | Install build-essential | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: build-essential, fakeroot Filtered Build-Depends: build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/<>/resolver-09M2lr/apt_archive/sbuild-build-depends-core-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy dpkg-scanpackages: info: Wrote 1 entries to output Packages file. Ign:1 copy:/<>/resolver-09M2lr/apt_archive ./ InRelease Get:2 copy:/<>/resolver-09M2lr/apt_archive ./ Release [957 B] Ign:3 copy:/<>/resolver-09M2lr/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-09M2lr/apt_archive ./ Sources [349 B] Get:5 copy:/<>/resolver-09M2lr/apt_archive ./ Packages [433 B] Fetched 1739 B in 0s (99.4 kB/s) Reading package lists... Reading package lists... Install core build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: sbuild-build-depends-core-dummy 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 848 B of archives. After this operation, 0 B of additional disk space will be used. Get:1 copy:/<>/resolver-09M2lr/apt_archive ./ sbuild-build-depends-core-dummy 0.invalid.0 [848 B] debconf: delaying package configuration, since apt-utils is not installed Fetched 848 B in 0s (0 B/s) Selecting previously unselected package sbuild-build-depends-core-dummy. (Reading database ... 11477 files and directories currently installed.) Preparing to unpack .../sbuild-build-depends-core-dummy_0.invalid.0_armel.deb ... Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ... Setting up sbuild-build-depends-core-dummy (0.invalid.0) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (armel included in any all) +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9.0), flex, bison, dejagnu, tcl, expect, cmake, perl, libtool, chrpath, texinfo, sharutils, libffi-dev (>= 3.0.9), lsb-release, patchutils, diffstat, xz-utils, python-dev, libedit-dev, swig, python-six, python-sphinx, binutils-dev, libjsoncpp-dev, lcov, procps, help2man, zlib1g-dev Merged Build-Conflicts: libllvm-3.4-ocaml-dev, libllvm-3.5-ocaml-dev, libllvm-3.8-ocaml-dev, ocaml, oprofile Filtered Build-Depends: debhelper (>= 9.0), flex, bison, dejagnu, tcl, expect, cmake, perl, libtool, chrpath, texinfo, sharutils, libffi-dev (>= 3.0.9), lsb-release, patchutils, diffstat, xz-utils, python-dev, libedit-dev, swig, python-six, python-sphinx, binutils-dev, libjsoncpp-dev, lcov, procps, help2man, zlib1g-dev Filtered Build-Conflicts: libllvm-3.4-ocaml-dev, libllvm-3.5-ocaml-dev, libllvm-3.8-ocaml-dev, ocaml, oprofile dpkg-deb: building package 'sbuild-build-depends-llvm-toolchain-3.8-dummy' in '/<>/resolver-09M2lr/apt_archive/sbuild-build-depends-llvm-toolchain-3.8-dummy.deb'. dpkg-scanpackages: warning: Packages in archive but missing from override file: dpkg-scanpackages: warning: sbuild-build-depends-core-dummy sbuild-build-depends-llvm-toolchain-3.8-dummy dpkg-scanpackages: info: Wrote 2 entries to output Packages file. Ign:1 copy:/<>/resolver-09M2lr/apt_archive ./ InRelease Get:2 copy:/<>/resolver-09M2lr/apt_archive ./ Release [963 B] Ign:3 copy:/<>/resolver-09M2lr/apt_archive ./ Release.gpg Get:4 copy:/<>/resolver-09M2lr/apt_archive ./ Sources [760 B] Get:5 copy:/<>/resolver-09M2lr/apt_archive ./ Packages [768 B] Fetched 2491 B in 0s (139 kB/s) Reading package lists... Reading package lists... Install llvm-toolchain-3.8 build dependencies (apt-based resolver) ------------------------------------------------------------------ Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: autoconf automake autopoint autotools-dev binutils-dev bison bsdmainutils ca-certificates chrpath cmake cmake-data debhelper dejagnu dh-autoreconf dh-strip-nondeterminism diffstat distro-info-data docutils-common dwz expect file flex gettext gettext-base groff-base help2man intltool-debian lcov libarchive-zip-perl libarchive13 libbison-dev libbsd-dev libbsd0 libcroco3 libcurl4 libedit-dev libedit2 libelf1 libexpat1 libexpat1-dev libffi-dev libfile-stripnondeterminism-perl libfreetype6 libglib2.0-0 libgraphite2-3 libgssapi-krb5-2 libharfbuzz0b libicu-le-hb0 libicu60 libjs-jquery libjs-sphinxdoc libjs-underscore libjsoncpp-dev libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common liblocale-gettext-perl liblzo2-2 libmagic-mgc libmagic1 libmpdec2 libncurses-dev libncurses6 libnghttp2-14 libpipeline1 libpng16-16 libprocps7 libpsl5 libpython-dev libpython-stdlib libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib libreadline7 librhash0 librtmp1 libsasl2-2 libsasl2-modules-db libsigsegv2 libsqlite3-0 libssh2-1 libssl1.1 libtcl8.6 libtext-unidecode-perl libtinfo-dev libtool libuv1 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 lsb-base lsb-release m4 man-db mime-support openssl patchutils po-debconf procps python python-alabaster python-babel python-babel-localedata python-certifi python-chardet python-dev python-docutils python-idna python-imagesize python-jinja2 python-markupsafe python-minimal python-packaging python-pkg-resources python-pygments python-pyparsing python-requests python-roman python-six python-sphinx python-typing python-tz python-urllib3 python2 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-minimal python3.6 python3.6-minimal readline-common sensible-utils sgml-base sharutils sphinx-common swig swig3.0 tcl tcl-expect tcl8.6 tex-common texinfo ucf xml-core zlib1g-dev Suggested packages: autoconf-archive gnu-standards autoconf-doc bison-doc wamerican | wordlist whois vacation cmake-doc ninja-build dh-make tk8.6 flex-doc gettext-doc libasprintf-dev libgettextpo-dev groff lrzip krb5-doc krb5-user ncurses-doc libtool-doc gfortran | fortran95-compiler gcj-jdk lsb m4-doc apparmor less www-browser libmail-box-perl python-doc python-tk fonts-linuxlibertine | ttf-linux-libertine texlive-lang-french texlive-latex-base texlive-latex-recommended python-jinja2-doc python-setuptools python-pygments-doc ttf-bitstream-vera python-pyparsing-doc python-cryptography python-openssl python-socks dvipng imagemagick-6.q16 latexmk libjs-mathjax python-sphinx-rtd-theme python-stemmer sphinx-doc texlive-fonts-recommended texlive-generic-extra texlive-latex-extra python-ntlm python2-doc python2.7-doc binfmt-support python3-doc python3-tk python3-venv python3.6-venv python3.6-doc readline-doc sgml-base-doc sharutils-doc bsd-mailx | mailx swig-doc swig-examples swig3.0-examples swig3.0-doc tcl-tclreadline texlive-base texlive-generic-recommended texinfo-doc-nonfree Recommended packages: libfl-dev curl | wget | lynx libgd-gd2-perl libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs javascript-common krb5-locales libgpm2 publicsuffix libsasl2-modules libltdl-dev libwww-perl libxml-sax-expat-perl libmail-sendmail-perl psmisc docutils-doc libpaper-utils python-pil python-enum34 python-cryptography python-ipaddress python-openssl The following NEW packages will be installed: autoconf automake autopoint autotools-dev binutils-dev bison bsdmainutils ca-certificates chrpath cmake cmake-data debhelper dejagnu dh-autoreconf dh-strip-nondeterminism diffstat distro-info-data docutils-common dwz expect file flex gettext gettext-base groff-base help2man intltool-debian lcov libarchive-zip-perl libarchive13 libbison-dev libbsd-dev libbsd0 libcroco3 libcurl4 libedit-dev libedit2 libelf1 libexpat1 libexpat1-dev libffi-dev libfile-stripnondeterminism-perl libfreetype6 libglib2.0-0 libgraphite2-3 libgssapi-krb5-2 libharfbuzz0b libicu-le-hb0 libicu60 libjs-jquery libjs-sphinxdoc libjs-underscore libjsoncpp-dev libjsoncpp1 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common liblocale-gettext-perl liblzo2-2 libmagic-mgc libmagic1 libmpdec2 libncurses-dev libncurses6 libnghttp2-14 libpipeline1 libpng16-16 libprocps7 libpsl5 libpython-dev libpython-stdlib libpython2-dev libpython2-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.6-minimal libpython3.6-stdlib libreadline7 librhash0 librtmp1 libsasl2-2 libsasl2-modules-db libsigsegv2 libsqlite3-0 libssh2-1 libssl1.1 libtcl8.6 libtext-unidecode-perl libtinfo-dev libtool libuv1 libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 lsb-base lsb-release m4 man-db mime-support openssl patchutils po-debconf procps python python-alabaster python-babel python-babel-localedata python-certifi python-chardet python-dev python-docutils python-idna python-imagesize python-jinja2 python-markupsafe python-minimal python-packaging python-pkg-resources python-pygments python-pyparsing python-requests python-roman python-six python-sphinx python-typing python-tz python-urllib3 python2 python2-dev python2-minimal python2.7 python2.7-dev python2.7-minimal python3 python3-minimal python3.6 python3.6-minimal readline-common sbuild-build-depends-llvm-toolchain-3.8-dummy sensible-utils sgml-base sharutils sphinx-common swig swig3.0 tcl tcl-expect tcl8.6 tex-common texinfo ucf xml-core zlib1g-dev 0 upgraded, 161 newly installed, 0 to remove and 0 not upgraded. Need to get 88.1 MB of archives. After this operation, 273 MB of additional disk space will be used. Get:1 copy:/<>/resolver-09M2lr/apt_archive ./ sbuild-build-depends-llvm-toolchain-3.8-dummy 0.invalid.0 [1056 B] Get:2 http://mirror.einval.org/debian sid/main armel libbsd0 armel 0.9.1-1 [104 kB] Get:3 http://mirror.einval.org/debian sid/main armel bsdmainutils armel 11.1.2+b1 [187 kB] Get:4 http://mirror.einval.org/debian sid/main armel groff-base armel 1.22.3-10 [1086 kB] Get:5 http://mirror.einval.org/debian sid/main armel libpipeline1 armel 1.5.0-1 [24.6 kB] Get:6 http://mirror.einval.org/debian sid/main armel man-db armel 2.8.4-2+b1 [1167 kB] Get:7 http://mirror.einval.org/debian sid/main armel libpython2.7-minimal armel 2.7.15-4 [394 kB] Get:8 http://mirror.einval.org/debian sid/main armel python2.7-minimal armel 2.7.15-4 [1181 kB] Get:9 http://mirror.einval.org/debian sid/main armel python2-minimal armel 2.7.15-3 [41.3 kB] Get:10 http://mirror.einval.org/debian sid/main armel python-minimal armel 2.7.15-3 [20.9 kB] Get:11 http://mirror.einval.org/debian sid/main armel mime-support all 3.61 [37.1 kB] Get:12 http://mirror.einval.org/debian sid/main armel libexpat1 armel 2.2.6-1 [76.4 kB] Get:13 http://mirror.einval.org/debian sid/main armel readline-common all 7.0-5 [70.6 kB] Get:14 http://mirror.einval.org/debian sid/main armel libreadline7 armel 7.0-5 [129 kB] Get:15 http://mirror.einval.org/debian sid/main armel libsqlite3-0 armel 3.25.2-1 [547 kB] Get:16 http://mirror.einval.org/debian sid/main armel libssl1.1 armel 1.1.1-1 [1261 kB] Get:17 http://mirror.einval.org/debian sid/main armel libpython2.7-stdlib armel 2.7.15-4 [1844 kB] Get:18 http://mirror.einval.org/debian sid/main armel python2.7 armel 2.7.15-4 [299 kB] Get:19 http://mirror.einval.org/debian sid/main armel libpython2-stdlib armel 2.7.15-3 [20.7 kB] Get:20 http://mirror.einval.org/debian sid/main armel libpython-stdlib armel 2.7.15-3 [20.7 kB] Get:21 http://mirror.einval.org/debian sid/main armel python2 armel 2.7.15-3 [41.5 kB] Get:22 http://mirror.einval.org/debian sid/main armel python armel 2.7.15-3 [22.7 kB] Get:23 http://mirror.einval.org/debian sid/main armel libsigsegv2 armel 2.12-2 [32.3 kB] Get:24 http://mirror.einval.org/debian sid/main armel m4 armel 1.4.18-1 [191 kB] Get:25 http://mirror.einval.org/debian sid/main armel flex armel 2.6.4-6.2 [437 kB] Get:26 http://mirror.einval.org/debian sid/main armel liblocale-gettext-perl armel 1.07-3+b3 [18.3 kB] Get:27 http://mirror.einval.org/debian sid/main armel libpython3.6-minimal armel 3.6.7-1 [567 kB] Get:28 http://mirror.einval.org/debian sid/main armel python3.6-minimal armel 3.6.7-1 [1390 kB] Get:29 http://mirror.einval.org/debian sid/main armel python3-minimal armel 3.6.7-1 [36.4 kB] Get:30 http://mirror.einval.org/debian sid/main armel libmpdec2 armel 2.4.2-2 [68.8 kB] Get:31 http://mirror.einval.org/debian sid/main armel libpython3.6-stdlib armel 3.6.7-1 [1643 kB] Get:32 http://mirror.einval.org/debian sid/main armel python3.6 armel 3.6.7-1 [240 kB] Get:33 http://mirror.einval.org/debian sid/main armel libpython3-stdlib armel 3.6.7-1 [19.9 kB] Get:34 http://mirror.einval.org/debian sid/main armel python3 armel 3.6.7-1 [61.4 kB] Get:35 http://mirror.einval.org/debian sid/main armel sgml-base all 1.29 [14.8 kB] Get:36 http://mirror.einval.org/debian sid/main armel sensible-utils all 0.0.12 [15.8 kB] Get:37 http://mirror.einval.org/debian sid/main armel ucf all 3.0038 [67.8 kB] Get:38 http://mirror.einval.org/debian sid/main armel tex-common all 6.10 [53.0 kB] Get:39 http://mirror.einval.org/debian sid/main armel libncurses6 armel 6.1+20181013-1 [80.5 kB] Get:40 http://mirror.einval.org/debian sid/main armel libprocps7 armel 2:3.3.15-2 [59.8 kB] Get:41 http://mirror.einval.org/debian sid/main armel lsb-base all 9.20170808 [28.1 kB] Get:42 http://mirror.einval.org/debian sid/main armel procps armel 2:3.3.15-2 [247 kB] Get:43 http://mirror.einval.org/debian sid/main armel libmagic-mgc armel 1:5.34-2 [239 kB] Get:44 http://mirror.einval.org/debian sid/main armel libmagic1 armel 1:5.34-2 [109 kB] Get:45 http://mirror.einval.org/debian sid/main armel file armel 1:5.34-2 [65.0 kB] Get:46 http://mirror.einval.org/debian sid/main armel gettext-base armel 0.19.8.1-8 [118 kB] Get:47 http://mirror.einval.org/debian sid/main armel autoconf all 2.69-11 [341 kB] Get:48 http://mirror.einval.org/debian sid/main armel autotools-dev all 20180224.1 [77.0 kB] Get:49 http://mirror.einval.org/debian sid/main armel automake all 1:1.16.1-2 [771 kB] Get:50 http://mirror.einval.org/debian sid/main armel autopoint all 0.19.8.1-8 [434 kB] Get:51 http://mirror.einval.org/debian sid/main armel binutils-dev armel 2.31.1-7 [1731 kB] Get:52 http://mirror.einval.org/debian sid/main armel libbison-dev armel 2:3.0.4.dfsg-1+b1 [433 kB] Get:53 http://mirror.einval.org/debian sid/main armel bison armel 2:3.0.4.dfsg-1+b1 [763 kB] Get:54 http://mirror.einval.org/debian sid/main armel openssl armel 1.1.1-1 [803 kB] Get:55 http://mirror.einval.org/debian sid/main armel ca-certificates all 20180409 [161 kB] Get:56 http://mirror.einval.org/debian sid/main armel chrpath armel 0.16-2+b1 [16.3 kB] Get:57 http://mirror.einval.org/debian sid/main armel cmake-data all 3.12.3-2 [1437 kB] Get:58 http://mirror.einval.org/debian sid/main armel liblzo2-2 armel 2.10-0.1 [47.0 kB] Get:59 http://mirror.einval.org/debian sid/main armel libpng16-16 armel 1.6.34-2 [273 kB] Get:60 http://mirror.einval.org/debian sid/main armel libfreetype6 armel 2.8.1-2 [405 kB] Get:61 http://mirror.einval.org/debian sid/main armel libglib2.0-0 armel 2.58.1-2 [1056 kB] Get:62 http://mirror.einval.org/debian sid/main armel libgraphite2-3 armel 1.3.12-1 [70.0 kB] Get:63 http://mirror.einval.org/debian sid/main armel libharfbuzz0b armel 1.9.0-1 [881 kB] Get:64 http://mirror.einval.org/debian sid/main armel libicu-le-hb0 armel 1.0.3+git161113-5 [12.8 kB] Get:65 http://mirror.einval.org/debian sid/main armel libicu60 armel 60.2-6 [7793 kB] Get:66 http://mirror.einval.org/debian sid/main armel libxml2 armel 2.9.4+dfsg1-7+b1 [603 kB] Get:67 http://mirror.einval.org/debian sid/main armel libarchive13 armel 3.2.2-5 [266 kB] Get:68 http://mirror.einval.org/debian sid/main armel libkeyutils1 armel 1.5.9-9.3 [12.0 kB] Get:69 http://mirror.einval.org/debian sid/main armel libkrb5support0 armel 1.16.1-1 [59.3 kB] Get:70 http://mirror.einval.org/debian sid/main armel libk5crypto3 armel 1.16.1-1 [117 kB] Get:71 http://mirror.einval.org/debian sid/main armel libkrb5-3 armel 1.16.1-1 [267 kB] Get:72 http://mirror.einval.org/debian sid/main armel libgssapi-krb5-2 armel 1.16.1-1 [135 kB] Get:73 http://mirror.einval.org/debian sid/main armel libsasl2-modules-db armel 2.1.27~rc8-1 [66.8 kB] Get:74 http://mirror.einval.org/debian sid/main armel libsasl2-2 armel 2.1.27~rc8-1 [97.7 kB] Get:75 http://mirror.einval.org/debian sid/main armel libldap-common all 2.4.46+dfsg-5 [88.3 kB] Get:76 http://mirror.einval.org/debian sid/main armel libldap-2.4-2 armel 2.4.46+dfsg-5 [199 kB] Get:77 http://mirror.einval.org/debian sid/main armel libnghttp2-14 armel 1.34.0-1 [73.4 kB] Get:78 http://mirror.einval.org/debian sid/main armel libpsl5 armel 0.20.2-2 [52.5 kB] Get:79 http://mirror.einval.org/debian sid/main armel librtmp1 armel 2.4+20151223.gitfa8646d.1-2 [54.8 kB] Get:80 http://mirror.einval.org/debian sid/main armel libssh2-1 armel 1.8.0-2 [126 kB] Get:81 http://mirror.einval.org/debian sid/main armel libcurl4 armel 7.61.0-1 [282 kB] Get:82 http://mirror.einval.org/debian sid/main armel libjsoncpp1 armel 1.7.4-3 [66.3 kB] Get:83 http://mirror.einval.org/debian sid/main armel librhash0 armel 1.3.6-3 [98.3 kB] Get:84 http://mirror.einval.org/debian sid/main armel libuv1 armel 1.23.2-1 [96.0 kB] Get:85 http://mirror.einval.org/debian sid/main armel cmake armel 3.12.3-2 [2687 kB] Get:86 http://mirror.einval.org/debian sid/main armel libtool all 2.4.6-6 [547 kB] Get:87 http://mirror.einval.org/debian sid/main armel dh-autoreconf all 19 [16.9 kB] Get:88 http://mirror.einval.org/debian sid/main armel libarchive-zip-perl all 1.64-1 [96.8 kB] Get:89 http://mirror.einval.org/debian sid/main armel libfile-stripnondeterminism-perl all 0.043-2 [20.2 kB] Get:90 http://mirror.einval.org/debian sid/main armel dh-strip-nondeterminism all 0.043-2 [12.2 kB] Get:91 http://mirror.einval.org/debian sid/main armel libelf1 armel 0.170-0.5 [161 kB] Get:92 http://mirror.einval.org/debian sid/main armel dwz armel 0.12-2 [74.9 kB] Get:93 http://mirror.einval.org/debian sid/main armel libcroco3 armel 0.6.12-2 [133 kB] Get:94 http://mirror.einval.org/debian sid/main armel gettext armel 0.19.8.1-8 [1230 kB] Get:95 http://mirror.einval.org/debian sid/main armel intltool-debian all 0.35.0+20060710.4 [26.3 kB] Get:96 http://mirror.einval.org/debian sid/main armel po-debconf all 1.0.20 [247 kB] Get:97 http://mirror.einval.org/debian sid/main armel debhelper all 11.4.1 [989 kB] Get:98 http://mirror.einval.org/debian sid/main armel libtcl8.6 armel 8.6.8+dfsg-4 [864 kB] Get:99 http://mirror.einval.org/debian sid/main armel tcl8.6 armel 8.6.8+dfsg-4 [123 kB] Get:100 http://mirror.einval.org/debian sid/main armel tcl-expect armel 5.45.4-2 [123 kB] Get:101 http://mirror.einval.org/debian sid/main armel expect armel 5.45.4-2 [166 kB] Get:102 http://mirror.einval.org/debian sid/main armel dejagnu all 1.6.1-1 [743 kB] Get:103 http://mirror.einval.org/debian sid/main armel diffstat armel 1.61-1+b1 [31.3 kB] Get:104 http://mirror.einval.org/debian sid/main armel distro-info-data all 0.38 [6216 B] Get:105 http://mirror.einval.org/debian sid/main armel xml-core all 0.18 [23.4 kB] Get:106 http://mirror.einval.org/debian sid/main armel docutils-common all 0.14+dfsg-3 [204 kB] Get:107 http://mirror.einval.org/debian sid/main armel help2man armel 1.47.8 [176 kB] Get:108 http://mirror.einval.org/debian sid/main armel lcov all 1.13-4 [128 kB] Get:109 http://mirror.einval.org/debian sid/main armel libbsd-dev armel 0.9.1-1 [223 kB] Get:110 http://mirror.einval.org/debian sid/main armel libedit2 armel 3.1-20180525-1 [70.0 kB] Get:111 http://mirror.einval.org/debian sid/main armel libncurses-dev armel 6.1+20181013-1 [292 kB] Get:112 http://mirror.einval.org/debian sid/main armel libtinfo-dev armel 6.1+20181013-1 [932 B] Get:113 http://mirror.einval.org/debian sid/main armel libedit-dev armel 3.1-20180525-1 [107 kB] Get:114 http://mirror.einval.org/debian sid/main armel libexpat1-dev armel 2.2.6-1 [122 kB] Get:115 http://mirror.einval.org/debian sid/main armel libffi-dev armel 3.2.1-8 [154 kB] Get:116 http://mirror.einval.org/debian sid/main armel libjs-jquery all 3.2.1-1 [154 kB] Get:117 http://mirror.einval.org/debian sid/main armel libjs-underscore all 1.8.3~dfsg-1 [63.8 kB] Get:118 http://mirror.einval.org/debian sid/main armel libjs-sphinxdoc all 1.7.9-1 [92.3 kB] Get:119 http://mirror.einval.org/debian sid/main armel libjsoncpp-dev armel 1.7.4-3 [79.8 kB] Get:120 http://mirror.einval.org/debian sid/main armel libpython2.7 armel 2.7.15-4 [883 kB] Get:121 http://mirror.einval.org/debian sid/main armel libpython2.7-dev armel 2.7.15-4 [30.9 MB] Get:122 http://mirror.einval.org/debian sid/main armel libpython2-dev armel 2.7.15-3 [20.8 kB] Get:123 http://mirror.einval.org/debian sid/main armel libpython-dev armel 2.7.15-3 [20.8 kB] Get:124 http://mirror.einval.org/debian sid/main armel libtext-unidecode-perl all 1.30-1 [103 kB] Get:125 http://mirror.einval.org/debian sid/main armel libxml-namespacesupport-perl all 1.12-1 [14.8 kB] Get:126 http://mirror.einval.org/debian sid/main armel libxml-sax-base-perl all 1.09-1 [20.4 kB] Get:127 http://mirror.einval.org/debian sid/main armel libxml-sax-perl all 1.00+dfsg-1 [58.6 kB] Get:128 http://mirror.einval.org/debian sid/main armel libxml-libxml-perl armel 2.0132+dfsg-2 [322 kB] Get:129 http://mirror.einval.org/debian sid/main armel lsb-release all 9.20170808 [27.3 kB] Get:130 http://mirror.einval.org/debian sid/main armel patchutils armel 0.3.4-2 [85.8 kB] Get:131 http://mirror.einval.org/debian sid/main armel python-alabaster all 0.7.8-1 [18.4 kB] Get:132 http://mirror.einval.org/debian sid/main armel python-babel-localedata all 2.6.0+dfsg.1-1 [4083 kB] Get:133 http://mirror.einval.org/debian sid/main armel python-pkg-resources all 40.4.3-1 [180 kB] Get:134 http://mirror.einval.org/debian sid/main armel python-tz all 2018.5-1 [33.5 kB] Get:135 http://mirror.einval.org/debian sid/main armel python-babel all 2.6.0+dfsg.1-1 [97.3 kB] Get:136 http://mirror.einval.org/debian sid/main armel python-certifi all 2018.8.24-1 [140 kB] Get:137 http://mirror.einval.org/debian sid/main armel python-chardet all 3.0.4-1 [80.2 kB] Get:138 http://mirror.einval.org/debian sid/main armel python2.7-dev armel 2.7.15-4 [304 kB] Get:139 http://mirror.einval.org/debian sid/main armel python2-dev armel 2.7.15-3 [1212 B] Get:140 http://mirror.einval.org/debian sid/main armel python-dev armel 2.7.15-3 [1188 B] Get:141 http://mirror.einval.org/debian sid/main armel python-roman all 2.0.0-3 [8688 B] Get:142 http://mirror.einval.org/debian sid/main armel python-docutils all 0.14+dfsg-3 [379 kB] Get:143 http://mirror.einval.org/debian sid/main armel python-idna all 2.6-1 [34.1 kB] Get:144 http://mirror.einval.org/debian sid/main armel python-imagesize all 1.0.0-1 [4888 B] Get:145 http://mirror.einval.org/debian sid/main armel python-markupsafe armel 1.0-1+b2 [13.8 kB] Get:146 http://mirror.einval.org/debian sid/main armel python-jinja2 all 2.10-1 [106 kB] Get:147 http://mirror.einval.org/debian sid/main armel python-pyparsing all 2.2.0+dfsg1-2 [89.5 kB] Get:148 http://mirror.einval.org/debian sid/main armel python-six all 1.11.0-2 [15.1 kB] Get:149 http://mirror.einval.org/debian sid/main armel python-packaging all 18.0-1 [20.2 kB] Get:150 http://mirror.einval.org/debian sid/main armel python-pygments all 2.2.0+dfsg-2 [590 kB] Get:151 http://mirror.einval.org/debian sid/main armel python-urllib3 all 1.24-1 [96.8 kB] Get:152 http://mirror.einval.org/debian sid/main armel python-requests all 2.20.0-1 [66.8 kB] Get:153 http://mirror.einval.org/debian sid/main armel python-typing all 3.6.6-1 [22.7 kB] Get:154 http://mirror.einval.org/debian sid/main armel sphinx-common all 1.7.9-1 [437 kB] Get:155 http://mirror.einval.org/debian sid/main armel python-sphinx all 1.7.9-1 [451 kB] Get:156 http://mirror.einval.org/debian sid/main armel sharutils armel 1:4.15.2-3 [245 kB] Get:157 http://mirror.einval.org/debian sid/main armel swig3.0 armel 3.0.12-1.2 [1313 kB] Get:158 http://mirror.einval.org/debian sid/main armel swig armel 3.0.12-1.2 [310 kB] Get:159 http://mirror.einval.org/debian sid/main armel tcl armel 8.6.0+9 [5474 B] Get:160 http://mirror.einval.org/debian sid/main armel texinfo armel 6.5.0.dfsg.1-4 [1411 kB] Get:161 http://mirror.einval.org/debian sid/main armel zlib1g-dev armel 1:1.2.11.dfsg-1 [206 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 88.1 MB in 3s (25.9 MB/s) Selecting previously unselected package libbsd0:armel. (Reading database ... 11477 files and directories currently installed.) Preparing to unpack .../00-libbsd0_0.9.1-1_armel.deb ... Unpacking libbsd0:armel (0.9.1-1) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../01-bsdmainutils_11.1.2+b1_armel.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package groff-base. Preparing to unpack .../02-groff-base_1.22.3-10_armel.deb ... Unpacking groff-base (1.22.3-10) ... Selecting previously unselected package libpipeline1:armel. Preparing to unpack .../03-libpipeline1_1.5.0-1_armel.deb ... Unpacking libpipeline1:armel (1.5.0-1) ... Selecting previously unselected package man-db. Preparing to unpack .../04-man-db_2.8.4-2+b1_armel.deb ... Unpacking man-db (2.8.4-2+b1) ... Selecting previously unselected package libpython2.7-minimal:armel. Preparing to unpack .../05-libpython2.7-minimal_2.7.15-4_armel.deb ... Unpacking libpython2.7-minimal:armel (2.7.15-4) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../06-python2.7-minimal_2.7.15-4_armel.deb ... Unpacking python2.7-minimal (2.7.15-4) ... Selecting previously unselected package python2-minimal. Preparing to unpack .../07-python2-minimal_2.7.15-3_armel.deb ... Unpacking python2-minimal (2.7.15-3) ... Selecting previously unselected package python-minimal. Preparing to unpack .../08-python-minimal_2.7.15-3_armel.deb ... Unpacking python-minimal (2.7.15-3) ... Selecting previously unselected package mime-support. Preparing to unpack .../09-mime-support_3.61_all.deb ... Unpacking mime-support (3.61) ... Selecting previously unselected package libexpat1:armel. Preparing to unpack .../10-libexpat1_2.2.6-1_armel.deb ... Unpacking libexpat1:armel (2.2.6-1) ... Selecting previously unselected package readline-common. Preparing to unpack .../11-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:armel. Preparing to unpack .../12-libreadline7_7.0-5_armel.deb ... Unpacking libreadline7:armel (7.0-5) ... Selecting previously unselected package libsqlite3-0:armel. Preparing to unpack .../13-libsqlite3-0_3.25.2-1_armel.deb ... Unpacking libsqlite3-0:armel (3.25.2-1) ... Selecting previously unselected package libssl1.1:armel. Preparing to unpack .../14-libssl1.1_1.1.1-1_armel.deb ... Unpacking libssl1.1:armel (1.1.1-1) ... Selecting previously unselected package libpython2.7-stdlib:armel. Preparing to unpack .../15-libpython2.7-stdlib_2.7.15-4_armel.deb ... Unpacking libpython2.7-stdlib:armel (2.7.15-4) ... Selecting previously unselected package python2.7. Preparing to unpack .../16-python2.7_2.7.15-4_armel.deb ... Unpacking python2.7 (2.7.15-4) ... Selecting previously unselected package libpython2-stdlib:armel. Preparing to unpack .../17-libpython2-stdlib_2.7.15-3_armel.deb ... Unpacking libpython2-stdlib:armel (2.7.15-3) ... Selecting previously unselected package libpython-stdlib:armel. Preparing to unpack .../18-libpython-stdlib_2.7.15-3_armel.deb ... Unpacking libpython-stdlib:armel (2.7.15-3) ... Setting up libpython2.7-minimal:armel (2.7.15-4) ... Setting up python2.7-minimal (2.7.15-4) ... Setting up python2-minimal (2.7.15-3) ... Selecting previously unselected package python2. (Reading database ... 12931 files and directories currently installed.) Preparing to unpack .../python2_2.7.15-3_armel.deb ... Unpacking python2 (2.7.15-3) ... Setting up python-minimal (2.7.15-3) ... Selecting previously unselected package python. (Reading database ... 12964 files and directories currently installed.) Preparing to unpack .../0-python_2.7.15-3_armel.deb ... Unpacking python (2.7.15-3) ... Selecting previously unselected package libsigsegv2:armel. Preparing to unpack .../1-libsigsegv2_2.12-2_armel.deb ... Unpacking libsigsegv2:armel (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../2-m4_1.4.18-1_armel.deb ... Unpacking m4 (1.4.18-1) ... Selecting previously unselected package flex. Preparing to unpack .../3-flex_2.6.4-6.2_armel.deb ... Unpacking flex (2.6.4-6.2) ... Selecting previously unselected package liblocale-gettext-perl. Preparing to unpack .../4-liblocale-gettext-perl_1.07-3+b3_armel.deb ... Unpacking liblocale-gettext-perl (1.07-3+b3) ... Selecting previously unselected package libpython3.6-minimal:armel. Preparing to unpack .../5-libpython3.6-minimal_3.6.7-1_armel.deb ... Unpacking libpython3.6-minimal:armel (3.6.7-1) ... Selecting previously unselected package python3.6-minimal. Preparing to unpack .../6-python3.6-minimal_3.6.7-1_armel.deb ... Unpacking python3.6-minimal (3.6.7-1) ... Setting up libssl1.1:armel (1.1.1-1) ... Setting up libpython3.6-minimal:armel (3.6.7-1) ... Setting up libexpat1:armel (2.2.6-1) ... Setting up python3.6-minimal (3.6.7-1) ... Selecting previously unselected package python3-minimal. (Reading database ... 13398 files and directories currently installed.) Preparing to unpack .../python3-minimal_3.6.7-1_armel.deb ... Unpacking python3-minimal (3.6.7-1) ... Selecting previously unselected package libmpdec2:armel. Preparing to unpack .../libmpdec2_2.4.2-2_armel.deb ... Unpacking libmpdec2:armel (2.4.2-2) ... Selecting previously unselected package libpython3.6-stdlib:armel. Preparing to unpack .../libpython3.6-stdlib_3.6.7-1_armel.deb ... Unpacking libpython3.6-stdlib:armel (3.6.7-1) ... Selecting previously unselected package python3.6. Preparing to unpack .../python3.6_3.6.7-1_armel.deb ... Unpacking python3.6 (3.6.7-1) ... Selecting previously unselected package libpython3-stdlib:armel. Preparing to unpack .../libpython3-stdlib_3.6.7-1_armel.deb ... Unpacking libpython3-stdlib:armel (3.6.7-1) ... Setting up python3-minimal (3.6.7-1) ... Selecting previously unselected package python3. (Reading database ... 13803 files and directories currently installed.) Preparing to unpack .../000-python3_3.6.7-1_armel.deb ... Unpacking python3 (3.6.7-1) ... Selecting previously unselected package sgml-base. Preparing to unpack .../001-sgml-base_1.29_all.deb ... Unpacking sgml-base (1.29) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../002-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package ucf. Preparing to unpack .../003-ucf_3.0038_all.deb ... Moving old data out of the way Unpacking ucf (3.0038) ... Selecting previously unselected package tex-common. Preparing to unpack .../004-tex-common_6.10_all.deb ... Unpacking tex-common (6.10) ... Selecting previously unselected package libncurses6:armel. Preparing to unpack .../005-libncurses6_6.1+20181013-1_armel.deb ... Unpacking libncurses6:armel (6.1+20181013-1) ... Selecting previously unselected package libprocps7:armel. Preparing to unpack .../006-libprocps7_2%3a3.3.15-2_armel.deb ... Unpacking libprocps7:armel (2:3.3.15-2) ... Selecting previously unselected package lsb-base. Preparing to unpack .../007-lsb-base_9.20170808_all.deb ... Unpacking lsb-base (9.20170808) ... Selecting previously unselected package procps. Preparing to unpack .../008-procps_2%3a3.3.15-2_armel.deb ... Unpacking procps (2:3.3.15-2) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../009-libmagic-mgc_1%3a5.34-2_armel.deb ... Unpacking libmagic-mgc (1:5.34-2) ... Selecting previously unselected package libmagic1:armel. Preparing to unpack .../010-libmagic1_1%3a5.34-2_armel.deb ... Unpacking libmagic1:armel (1:5.34-2) ... Selecting previously unselected package file. Preparing to unpack .../011-file_1%3a5.34-2_armel.deb ... Unpacking file (1:5.34-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../012-gettext-base_0.19.8.1-8_armel.deb ... Unpacking gettext-base (0.19.8.1-8) ... Selecting previously unselected package autoconf. Preparing to unpack .../013-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../014-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../015-automake_1%3a1.16.1-2_all.deb ... Unpacking automake (1:1.16.1-2) ... Selecting previously unselected package autopoint. Preparing to unpack .../016-autopoint_0.19.8.1-8_all.deb ... Unpacking autopoint (0.19.8.1-8) ... Selecting previously unselected package binutils-dev. Preparing to unpack .../017-binutils-dev_2.31.1-7_armel.deb ... Unpacking binutils-dev (2.31.1-7) ... Selecting previously unselected package libbison-dev:armel. Preparing to unpack .../018-libbison-dev_2%3a3.0.4.dfsg-1+b1_armel.deb ... Unpacking libbison-dev:armel (2:3.0.4.dfsg-1+b1) ... Selecting previously unselected package bison. Preparing to unpack .../019-bison_2%3a3.0.4.dfsg-1+b1_armel.deb ... Unpacking bison (2:3.0.4.dfsg-1+b1) ... Selecting previously unselected package openssl. Preparing to unpack .../020-openssl_1.1.1-1_armel.deb ... Unpacking openssl (1.1.1-1) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../021-ca-certificates_20180409_all.deb ... Unpacking ca-certificates (20180409) ... Selecting previously unselected package chrpath. Preparing to unpack .../022-chrpath_0.16-2+b1_armel.deb ... Unpacking chrpath (0.16-2+b1) ... Selecting previously unselected package cmake-data. Preparing to unpack .../023-cmake-data_3.12.3-2_all.deb ... Unpacking cmake-data (3.12.3-2) ... Selecting previously unselected package liblzo2-2:armel. Preparing to unpack .../024-liblzo2-2_2.10-0.1_armel.deb ... Unpacking liblzo2-2:armel (2.10-0.1) ... Selecting previously unselected package libpng16-16:armel. Preparing to unpack .../025-libpng16-16_1.6.34-2_armel.deb ... Unpacking libpng16-16:armel (1.6.34-2) ... Selecting previously unselected package libfreetype6:armel. Preparing to unpack .../026-libfreetype6_2.8.1-2_armel.deb ... Unpacking libfreetype6:armel (2.8.1-2) ... Selecting previously unselected package libglib2.0-0:armel. Preparing to unpack .../027-libglib2.0-0_2.58.1-2_armel.deb ... Unpacking libglib2.0-0:armel (2.58.1-2) ... Selecting previously unselected package libgraphite2-3:armel. Preparing to unpack .../028-libgraphite2-3_1.3.12-1_armel.deb ... Unpacking libgraphite2-3:armel (1.3.12-1) ... Selecting previously unselected package libharfbuzz0b:armel. Preparing to unpack .../029-libharfbuzz0b_1.9.0-1_armel.deb ... Unpacking libharfbuzz0b:armel (1.9.0-1) ... Selecting previously unselected package libicu-le-hb0:armel. Preparing to unpack .../030-libicu-le-hb0_1.0.3+git161113-5_armel.deb ... Unpacking libicu-le-hb0:armel (1.0.3+git161113-5) ... Selecting previously unselected package libicu60:armel. Preparing to unpack .../031-libicu60_60.2-6_armel.deb ... Unpacking libicu60:armel (60.2-6) ... Selecting previously unselected package libxml2:armel. Preparing to unpack .../032-libxml2_2.9.4+dfsg1-7+b1_armel.deb ... Unpacking libxml2:armel (2.9.4+dfsg1-7+b1) ... Selecting previously unselected package libarchive13:armel. Preparing to unpack .../033-libarchive13_3.2.2-5_armel.deb ... Unpacking libarchive13:armel (3.2.2-5) ... Selecting previously unselected package libkeyutils1:armel. Preparing to unpack .../034-libkeyutils1_1.5.9-9.3_armel.deb ... Unpacking libkeyutils1:armel (1.5.9-9.3) ... Selecting previously unselected package libkrb5support0:armel. Preparing to unpack .../035-libkrb5support0_1.16.1-1_armel.deb ... Unpacking libkrb5support0:armel (1.16.1-1) ... Selecting previously unselected package libk5crypto3:armel. Preparing to unpack .../036-libk5crypto3_1.16.1-1_armel.deb ... Unpacking libk5crypto3:armel (1.16.1-1) ... Selecting previously unselected package libkrb5-3:armel. Preparing to unpack .../037-libkrb5-3_1.16.1-1_armel.deb ... Unpacking libkrb5-3:armel (1.16.1-1) ... Selecting previously unselected package libgssapi-krb5-2:armel. Preparing to unpack .../038-libgssapi-krb5-2_1.16.1-1_armel.deb ... Unpacking libgssapi-krb5-2:armel (1.16.1-1) ... Selecting previously unselected package libsasl2-modules-db:armel. Preparing to unpack .../039-libsasl2-modules-db_2.1.27~rc8-1_armel.deb ... Unpacking libsasl2-modules-db:armel (2.1.27~rc8-1) ... Selecting previously unselected package libsasl2-2:armel. Preparing to unpack .../040-libsasl2-2_2.1.27~rc8-1_armel.deb ... Unpacking libsasl2-2:armel (2.1.27~rc8-1) ... Selecting previously unselected package libldap-common. Preparing to unpack .../041-libldap-common_2.4.46+dfsg-5_all.deb ... Unpacking libldap-common (2.4.46+dfsg-5) ... Selecting previously unselected package libldap-2.4-2:armel. Preparing to unpack .../042-libldap-2.4-2_2.4.46+dfsg-5_armel.deb ... Unpacking libldap-2.4-2:armel (2.4.46+dfsg-5) ... Selecting previously unselected package libnghttp2-14:armel. Preparing to unpack .../043-libnghttp2-14_1.34.0-1_armel.deb ... Unpacking libnghttp2-14:armel (1.34.0-1) ... Selecting previously unselected package libpsl5:armel. Preparing to unpack .../044-libpsl5_0.20.2-2_armel.deb ... Unpacking libpsl5:armel (0.20.2-2) ... Selecting previously unselected package librtmp1:armel. Preparing to unpack .../045-librtmp1_2.4+20151223.gitfa8646d.1-2_armel.deb ... Unpacking librtmp1:armel (2.4+20151223.gitfa8646d.1-2) ... Selecting previously unselected package libssh2-1:armel. Preparing to unpack .../046-libssh2-1_1.8.0-2_armel.deb ... Unpacking libssh2-1:armel (1.8.0-2) ... Selecting previously unselected package libcurl4:armel. Preparing to unpack .../047-libcurl4_7.61.0-1_armel.deb ... Unpacking libcurl4:armel (7.61.0-1) ... Selecting previously unselected package libjsoncpp1:armel. Preparing to unpack .../048-libjsoncpp1_1.7.4-3_armel.deb ... Unpacking libjsoncpp1:armel (1.7.4-3) ... Selecting previously unselected package librhash0:armel. Preparing to unpack .../049-librhash0_1.3.6-3_armel.deb ... Unpacking librhash0:armel (1.3.6-3) ... Selecting previously unselected package libuv1:armel. Preparing to unpack .../050-libuv1_1.23.2-1_armel.deb ... Unpacking libuv1:armel (1.23.2-1) ... Selecting previously unselected package cmake. Preparing to unpack .../051-cmake_3.12.3-2_armel.deb ... Unpacking cmake (3.12.3-2) ... Selecting previously unselected package libtool. Preparing to unpack .../052-libtool_2.4.6-6_all.deb ... Unpacking libtool (2.4.6-6) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../053-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../054-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../055-libfile-stripnondeterminism-perl_0.043-2_all.deb ... Unpacking libfile-stripnondeterminism-perl (0.043-2) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../056-dh-strip-nondeterminism_0.043-2_all.deb ... Unpacking dh-strip-nondeterminism (0.043-2) ... Selecting previously unselected package libelf1:armel. Preparing to unpack .../057-libelf1_0.170-0.5_armel.deb ... Unpacking libelf1:armel (0.170-0.5) ... Selecting previously unselected package dwz. Preparing to unpack .../058-dwz_0.12-2_armel.deb ... Unpacking dwz (0.12-2) ... Selecting previously unselected package libcroco3:armel. Preparing to unpack .../059-libcroco3_0.6.12-2_armel.deb ... Unpacking libcroco3:armel (0.6.12-2) ... Selecting previously unselected package gettext. Preparing to unpack .../060-gettext_0.19.8.1-8_armel.deb ... Unpacking gettext (0.19.8.1-8) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../061-intltool-debian_0.35.0+20060710.4_all.deb ... Unpacking intltool-debian (0.35.0+20060710.4) ... Selecting previously unselected package po-debconf. Preparing to unpack .../062-po-debconf_1.0.20_all.deb ... Unpacking po-debconf (1.0.20) ... Selecting previously unselected package debhelper. Preparing to unpack .../063-debhelper_11.4.1_all.deb ... Unpacking debhelper (11.4.1) ... Selecting previously unselected package libtcl8.6:armel. Preparing to unpack .../064-libtcl8.6_8.6.8+dfsg-4_armel.deb ... Unpacking libtcl8.6:armel (8.6.8+dfsg-4) ... Selecting previously unselected package tcl8.6. Preparing to unpack .../065-tcl8.6_8.6.8+dfsg-4_armel.deb ... Unpacking tcl8.6 (8.6.8+dfsg-4) ... Selecting previously unselected package tcl-expect:armel. Preparing to unpack .../066-tcl-expect_5.45.4-2_armel.deb ... Unpacking tcl-expect:armel (5.45.4-2) ... Selecting previously unselected package expect. Preparing to unpack .../067-expect_5.45.4-2_armel.deb ... Unpacking expect (5.45.4-2) ... Selecting previously unselected package dejagnu. Preparing to unpack .../068-dejagnu_1.6.1-1_all.deb ... Unpacking dejagnu (1.6.1-1) ... Selecting previously unselected package diffstat. Preparing to unpack .../069-diffstat_1.61-1+b1_armel.deb ... Unpacking diffstat (1.61-1+b1) ... Selecting previously unselected package distro-info-data. Preparing to unpack .../070-distro-info-data_0.38_all.deb ... Unpacking distro-info-data (0.38) ... Selecting previously unselected package xml-core. Preparing to unpack .../071-xml-core_0.18_all.deb ... Unpacking xml-core (0.18) ... Selecting previously unselected package docutils-common. Preparing to unpack .../072-docutils-common_0.14+dfsg-3_all.deb ... Unpacking docutils-common (0.14+dfsg-3) ... Selecting previously unselected package help2man. Preparing to unpack .../073-help2man_1.47.8_armel.deb ... Unpacking help2man (1.47.8) ... Selecting previously unselected package lcov. Preparing to unpack .../074-lcov_1.13-4_all.deb ... Unpacking lcov (1.13-4) ... Selecting previously unselected package libbsd-dev:armel. Preparing to unpack .../075-libbsd-dev_0.9.1-1_armel.deb ... Unpacking libbsd-dev:armel (0.9.1-1) ... Selecting previously unselected package libedit2:armel. Preparing to unpack .../076-libedit2_3.1-20180525-1_armel.deb ... Unpacking libedit2:armel (3.1-20180525-1) ... Selecting previously unselected package libncurses-dev:armel. Preparing to unpack .../077-libncurses-dev_6.1+20181013-1_armel.deb ... Unpacking libncurses-dev:armel (6.1+20181013-1) ... Selecting previously unselected package libtinfo-dev:armel. Preparing to unpack .../078-libtinfo-dev_6.1+20181013-1_armel.deb ... Unpacking libtinfo-dev:armel (6.1+20181013-1) ... Selecting previously unselected package libedit-dev:armel. Preparing to unpack .../079-libedit-dev_3.1-20180525-1_armel.deb ... Unpacking libedit-dev:armel (3.1-20180525-1) ... Selecting previously unselected package libexpat1-dev:armel. Preparing to unpack .../080-libexpat1-dev_2.2.6-1_armel.deb ... Unpacking libexpat1-dev:armel (2.2.6-1) ... Selecting previously unselected package libffi-dev:armel. Preparing to unpack .../081-libffi-dev_3.2.1-8_armel.deb ... Unpacking libffi-dev:armel (3.2.1-8) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../082-libjs-jquery_3.2.1-1_all.deb ... Unpacking libjs-jquery (3.2.1-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../083-libjs-underscore_1.8.3~dfsg-1_all.deb ... Unpacking libjs-underscore (1.8.3~dfsg-1) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../084-libjs-sphinxdoc_1.7.9-1_all.deb ... Unpacking libjs-sphinxdoc (1.7.9-1) ... Selecting previously unselected package libjsoncpp-dev:armel. Preparing to unpack .../085-libjsoncpp-dev_1.7.4-3_armel.deb ... Unpacking libjsoncpp-dev:armel (1.7.4-3) ... Selecting previously unselected package libpython2.7:armel. Preparing to unpack .../086-libpython2.7_2.7.15-4_armel.deb ... Unpacking libpython2.7:armel (2.7.15-4) ... Selecting previously unselected package libpython2.7-dev:armel. Preparing to unpack .../087-libpython2.7-dev_2.7.15-4_armel.deb ... Unpacking libpython2.7-dev:armel (2.7.15-4) ... Selecting previously unselected package libpython2-dev:armel. Preparing to unpack .../088-libpython2-dev_2.7.15-3_armel.deb ... Unpacking libpython2-dev:armel (2.7.15-3) ... Selecting previously unselected package libpython-dev:armel. Preparing to unpack .../089-libpython-dev_2.7.15-3_armel.deb ... Unpacking libpython-dev:armel (2.7.15-3) ... Selecting previously unselected package libtext-unidecode-perl. Preparing to unpack .../090-libtext-unidecode-perl_1.30-1_all.deb ... Unpacking libtext-unidecode-perl (1.30-1) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../091-libxml-namespacesupport-perl_1.12-1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../092-libxml-sax-base-perl_1.09-1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../093-libxml-sax-perl_1.00+dfsg-1_all.deb ... Unpacking libxml-sax-perl (1.00+dfsg-1) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../094-libxml-libxml-perl_2.0132+dfsg-2_armel.deb ... Unpacking libxml-libxml-perl (2.0132+dfsg-2) ... Selecting previously unselected package lsb-release. Preparing to unpack .../095-lsb-release_9.20170808_all.deb ... Unpacking lsb-release (9.20170808) ... Selecting previously unselected package patchutils. Preparing to unpack .../096-patchutils_0.3.4-2_armel.deb ... Unpacking patchutils (0.3.4-2) ... Selecting previously unselected package python-alabaster. Preparing to unpack .../097-python-alabaster_0.7.8-1_all.deb ... Unpacking python-alabaster (0.7.8-1) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../098-python-babel-localedata_2.6.0+dfsg.1-1_all.deb ... Unpacking python-babel-localedata (2.6.0+dfsg.1-1) ... Selecting previously unselected package python-pkg-resources. Preparing to unpack .../099-python-pkg-resources_40.4.3-1_all.deb ... Unpacking python-pkg-resources (40.4.3-1) ... Selecting previously unselected package python-tz. Preparing to unpack .../100-python-tz_2018.5-1_all.deb ... Unpacking python-tz (2018.5-1) ... Selecting previously unselected package python-babel. Preparing to unpack .../101-python-babel_2.6.0+dfsg.1-1_all.deb ... Unpacking python-babel (2.6.0+dfsg.1-1) ... Selecting previously unselected package python-certifi. Preparing to unpack .../102-python-certifi_2018.8.24-1_all.deb ... Unpacking python-certifi (2018.8.24-1) ... Selecting previously unselected package python-chardet. Preparing to unpack .../103-python-chardet_3.0.4-1_all.deb ... Unpacking python-chardet (3.0.4-1) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../104-python2.7-dev_2.7.15-4_armel.deb ... Unpacking python2.7-dev (2.7.15-4) ... Selecting previously unselected package python2-dev. Preparing to unpack .../105-python2-dev_2.7.15-3_armel.deb ... Unpacking python2-dev (2.7.15-3) ... Selecting previously unselected package python-dev. Preparing to unpack .../106-python-dev_2.7.15-3_armel.deb ... Unpacking python-dev (2.7.15-3) ... Selecting previously unselected package python-roman. Preparing to unpack .../107-python-roman_2.0.0-3_all.deb ... Unpacking python-roman (2.0.0-3) ... Selecting previously unselected package python-docutils. Preparing to unpack .../108-python-docutils_0.14+dfsg-3_all.deb ... Unpacking python-docutils (0.14+dfsg-3) ... Selecting previously unselected package python-idna. Preparing to unpack .../109-python-idna_2.6-1_all.deb ... Unpacking python-idna (2.6-1) ... Selecting previously unselected package python-imagesize. Preparing to unpack .../110-python-imagesize_1.0.0-1_all.deb ... Unpacking python-imagesize (1.0.0-1) ... Selecting previously unselected package python-markupsafe. Preparing to unpack .../111-python-markupsafe_1.0-1+b2_armel.deb ... Unpacking python-markupsafe (1.0-1+b2) ... Selecting previously unselected package python-jinja2. Preparing to unpack .../112-python-jinja2_2.10-1_all.deb ... Unpacking python-jinja2 (2.10-1) ... Selecting previously unselected package python-pyparsing. Preparing to unpack .../113-python-pyparsing_2.2.0+dfsg1-2_all.deb ... Unpacking python-pyparsing (2.2.0+dfsg1-2) ... Selecting previously unselected package python-six. Preparing to unpack .../114-python-six_1.11.0-2_all.deb ... Unpacking python-six (1.11.0-2) ... Selecting previously unselected package python-packaging. Preparing to unpack .../115-python-packaging_18.0-1_all.deb ... Unpacking python-packaging (18.0-1) ... Selecting previously unselected package python-pygments. Preparing to unpack .../116-python-pygments_2.2.0+dfsg-2_all.deb ... Unpacking python-pygments (2.2.0+dfsg-2) ... Selecting previously unselected package python-urllib3. Preparing to unpack .../117-python-urllib3_1.24-1_all.deb ... Unpacking python-urllib3 (1.24-1) ... Selecting previously unselected package python-requests. Preparing to unpack .../118-python-requests_2.20.0-1_all.deb ... Unpacking python-requests (2.20.0-1) ... Selecting previously unselected package python-typing. Preparing to unpack .../119-python-typing_3.6.6-1_all.deb ... Unpacking python-typing (3.6.6-1) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../120-sphinx-common_1.7.9-1_all.deb ... Unpacking sphinx-common (1.7.9-1) ... Selecting previously unselected package python-sphinx. Preparing to unpack .../121-python-sphinx_1.7.9-1_all.deb ... Unpacking python-sphinx (1.7.9-1) ... Selecting previously unselected package sharutils. Preparing to unpack .../122-sharutils_1%3a4.15.2-3_armel.deb ... Unpacking sharutils (1:4.15.2-3) ... Selecting previously unselected package swig3.0. Preparing to unpack .../123-swig3.0_3.0.12-1.2_armel.deb ... Unpacking swig3.0 (3.0.12-1.2) ... Selecting previously unselected package swig. Preparing to unpack .../124-swig_3.0.12-1.2_armel.deb ... Unpacking swig (3.0.12-1.2) ... Selecting previously unselected package tcl. Preparing to unpack .../125-tcl_8.6.0+9_armel.deb ... Unpacking tcl (8.6.0+9) ... Selecting previously unselected package texinfo. Preparing to unpack .../126-texinfo_6.5.0.dfsg.1-4_armel.deb ... Unpacking texinfo (6.5.0.dfsg.1-4) ... Selecting previously unselected package zlib1g-dev:armel. Preparing to unpack .../127-zlib1g-dev_1%3a1.2.11.dfsg-1_armel.deb ... Unpacking zlib1g-dev:armel (1:1.2.11.dfsg-1) ... Selecting previously unselected package sbuild-build-depends-llvm-toolchain-3.8-dummy. Preparing to unpack .../128-sbuild-build-depends-llvm-toolchain-3.8-dummy_0.invalid.0_armel.deb ... Unpacking sbuild-build-depends-llvm-toolchain-3.8-dummy (0.invalid.0) ... Setting up chrpath (0.16-2+b1) ... Setting up binutils-dev (2.31.1-7) ... Setting up libjs-jquery (3.2.1-1) ... Setting up readline-common (7.0-5) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libnghttp2-14:armel (1.34.0-1) ... Setting up libjs-underscore (1.8.3~dfsg-1) ... Setting up swig3.0 (3.0.12-1.2) ... Setting up libprocps7:armel (2:3.3.15-2) ... Setting up mime-support (3.61) ... Setting up libxml-namespacesupport-perl (1.12-1) ... Setting up libpng16-16:armel (1.6.34-2) ... Setting up libsigsegv2:armel (2.12-2) ... Setting up libldap-common (2.4.46+dfsg-5) ... Setting up libuv1:armel (1.23.2-1) ... Setting up libreadline7:armel (7.0-5) ... Setting up libpsl5:armel (0.20.2-2) ... Setting up libelf1:armel (0.170-0.5) ... Setting up groff-base (1.22.3-10) ... Setting up libglib2.0-0:armel (2.58.1-2) ... No schema files found: doing nothing. Setting up sharutils (1:4.15.2-3) ... Setting up libtext-unidecode-perl (1.30-1) ... Setting up libjs-sphinxdoc (1.7.9-1) ... Setting up libffi-dev:armel (3.2.1-8) ... Setting up distro-info-data (0.38) ... Setting up gettext-base (0.19.8.1-8) ... Setting up cmake-data (3.12.3-2) ... Setting up libpipeline1:armel (1.5.0-1) ... Setting up librtmp1:armel (2.4+20151223.gitfa8646d.1-2) ... Setting up m4 (1.4.18-1) ... Setting up sgml-base (1.29) ... Setting up libbsd0:armel (0.9.1-1) ... Setting up libfreetype6:armel (2.8.1-2) ... Setting up libmagic-mgc (1:5.34-2) ... Setting up libmagic1:armel (1:5.34-2) ... Setting up lsb-base (9.20170808) ... Setting up libgraphite2-3:armel (1.3.12-1) ... Setting up librhash0:armel (1.3.6-3) ... Setting up libxml-sax-base-perl (1.09-1) ... Setting up sensible-utils (0.0.12) ... Setting up libssh2-1:armel (1.8.0-2) ... Processing triggers for libc-bin (2.27-6) ... Setting up dwz (0.12-2) ... Setting up patchutils (0.3.4-2) ... Setting up autotools-dev (20180224.1) ... Setting up python-babel-localedata (2.6.0+dfsg.1-1) ... Setting up openssl (1.1.1-1) ... Setting up sphinx-common (1.7.9-1) ... Setting up lcov (1.13-4) ... Setting up libsqlite3-0:armel (3.25.2-1) ... Setting up libbison-dev:armel (2:3.0.4.dfsg-1+b1) ... Setting up liblocale-gettext-perl (1.07-3+b3) ... Setting up libexpat1-dev:armel (2.2.6-1) ... Setting up libtcl8.6:armel (8.6.8+dfsg-4) ... Setting up bison (2:3.0.4.dfsg-1+b1) ... update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode Setting up xml-core (0.18) ... Setting up libkeyutils1:armel (1.5.9-9.3) ... Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 133 added, 0 removed; done. Setting up libncurses6:armel (6.1+20181013-1) ... Setting up libpython2.7-stdlib:armel (2.7.15-4) ... Setting up diffstat (1.61-1+b1) ... Setting up autopoint (0.19.8.1-8) ... Setting up libmpdec2:armel (2.4.2-2) ... Setting up liblzo2-2:armel (2.10-0.1) ... Setting up zlib1g-dev:armel (1:1.2.11.dfsg-1) ... Setting up libfile-stripnondeterminism-perl (0.043-2) ... Setting up libjsoncpp1:armel (1.7.4-3) ... Setting up libjsoncpp-dev:armel (1.7.4-3) ... Setting up libedit2:armel (3.1-20180525-1) ... Setting up libpython3.6-stdlib:armel (3.6.7-1) ... Setting up swig (3.0.12-1.2) ... Setting up python3.6 (3.6.7-1) ... Setting up flex (2.6.4-6.2) ... Setting up libbsd-dev:armel (0.9.1-1) ... Setting up python2.7 (2.7.15-4) ... Setting up libharfbuzz0b:armel (1.9.0-1) ... Setting up autoconf (2.69-11) ... Setting up file (1:5.34-2) ... Setting up libkrb5support0:armel (1.16.1-1) ... Setting up ucf (3.0038) ... Setting up procps (2:3.3.15-2) ... update-alternatives: using /usr/bin/w.procps to provide /usr/bin/w (w) in auto mode Setting up tcl-expect:armel (5.45.4-2) ... Setting up tcl8.6 (8.6.8+dfsg-4) ... Setting up libpython2.7:armel (2.7.15-4) ... Setting up automake (1:1.16.1-2) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up help2man (1.47.8) ... Setting up man-db (2.8.4-2+b1) ... Not building database; man-db/auto-update is not 'true'. Setting up libpython2-stdlib:armel (2.7.15-3) ... Setting up libpython2.7-dev:armel (2.7.15-4) ... Setting up libncurses-dev:armel (6.1+20181013-1) ... Setting up python2.7-dev (2.7.15-4) ... Setting up libxml-sax-perl (1.00+dfsg-1) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libtool (2.4.6-6) ... Setting up libpython3-stdlib:armel (3.6.7-1) ... Setting up expect (5.45.4-2) ... Setting up libk5crypto3:armel (1.16.1-1) ... Setting up tex-common (6.10) ... update-language: texlive-base not installed and configured, doing nothing! Setting up python3 (3.6.7-1) ... Setting up libtinfo-dev:armel (6.1+20181013-1) ... Setting up tcl (8.6.0+9) ... Setting up lsb-release (9.20170808) ... Setting up python2 (2.7.15-3) ... Setting up libpython2-dev:armel (2.7.15-3) ... Setting up libpython-stdlib:armel (2.7.15-3) ... Setting up python2-dev (2.7.15-3) ... Setting up libedit-dev:armel (3.1-20180525-1) ... Setting up libkrb5-3:armel (1.16.1-1) ... Setting up python (2.7.15-3) ... Setting up dejagnu (1.6.1-1) ... Setting up python-typing (3.6.6-1) ... Setting up python-pyparsing (2.2.0+dfsg1-2) ... Setting up python-idna (2.6-1) ... Setting up libpython-dev:armel (2.7.15-3) ... Setting up python-dev (2.7.15-3) ... Setting up python-certifi (2018.8.24-1) ... Setting up python-tz (2018.5-1) ... Setting up python-imagesize (1.0.0-1) ... Setting up python-alabaster (0.7.8-1) ... Setting up python-pkg-resources (40.4.3-1) ... Setting up python-roman (2.0.0-3) ... Setting up python-markupsafe (1.0-1+b2) ... Setting up libgssapi-krb5-2:armel (1.16.1-1) ... Setting up python-six (1.11.0-2) ... Setting up python-pygments (2.2.0+dfsg-2) ... Setting up python-packaging (18.0-1) ... Setting up python-urllib3 (1.24-1) ... Setting up python-chardet (3.0.4-1) ... Setting up python-jinja2 (2.10-1) ... Setting up python-babel (2.6.0+dfsg.1-1) ... update-alternatives: using /usr/bin/pybabel-python2 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up libsasl2-modules-db:armel (2.1.27~rc8-1) ... Setting up libsasl2-2:armel (2.1.27~rc8-1) ... Setting up libldap-2.4-2:armel (2.4.46+dfsg-5) ... Setting up python-requests (2.20.0-1) ... Setting up libcurl4:armel (7.61.0-1) ... Processing triggers for sgml-base (1.29) ... Setting up docutils-common (0.14+dfsg-3) ... Processing triggers for sgml-base (1.29) ... Setting up python-docutils (0.14+dfsg-3) ... update-alternatives: using /usr/share/docutils/scripts/python2/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2html4 to provide /usr/bin/rst2html4 (rst2html4) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2html5 to provide /usr/bin/rst2html5 (rst2html5) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode update-alternatives: using /usr/share/docutils/scripts/python2/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode Setting up python-sphinx (1.7.9-1) ... update-alternatives: using /usr/share/sphinx/scripts/python2/sphinx-apidoc to provide /usr/bin/sphinx-apidoc (sphinx-apidoc) in auto mode update-alternatives: using /usr/share/sphinx/scripts/python2/sphinx-autogen to provide /usr/bin/sphinx-autogen (sphinx-autogen) in auto mode update-alternatives: using /usr/share/sphinx/scripts/python2/sphinx-build to provide /usr/bin/sphinx-build (sphinx-build) in auto mode update-alternatives: using /usr/share/sphinx/scripts/python2/sphinx-quickstart to provide /usr/bin/sphinx-quickstart (sphinx-quickstart) in auto mode Setting up libicu-le-hb0:armel (1.0.3+git161113-5) ... Setting up libicu60:armel (60.2-6) ... Setting up dh-autoreconf (19) ... Setting up libxml2:armel (2.9.4+dfsg1-7+b1) ... Setting up libcroco3:armel (0.6.12-2) ... Setting up libxml-libxml-perl (2.0132+dfsg-2) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up gettext (0.19.8.1-8) ... Setting up libarchive13:armel (3.2.2-5) ... Setting up intltool-debian (0.35.0+20060710.4) ... Setting up texinfo (6.5.0.dfsg.1-4) ... Setting up cmake (3.12.3-2) ... Setting up po-debconf (1.0.20) ... Setting up debhelper (11.4.1) ... Setting up sbuild-build-depends-llvm-toolchain-3.8-dummy (0.invalid.0) ... Setting up dh-strip-nondeterminism (0.043-2) ... Processing triggers for libc-bin (2.27-6) ... Processing triggers for ca-certificates (20180409) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 4.9.0-8-arm64 arm64 (aarch64) Toolchain package versions: binutils_2.31.1-7 dpkg-dev_1.19.2 g++-8_8.2.0-8 gcc-8_8.2.0-8 libc6-dev_2.27-6 libstdc++-8-dev_8.2.0-8 libstdc++6_8.2.0-8 linux-libc-dev_4.18.10-2 Package versions: adduser_3.118 apt_1.7.0 autoconf_2.69-11 automake_1:1.16.1-2 autopoint_0.19.8.1-8 autotools-dev_20180224.1 base-files_10.1 base-passwd_3.5.45 bash_4.4.18-3.1 binutils_2.31.1-7 binutils-arm-linux-gnueabi_2.31.1-7 binutils-common_2.31.1-7 binutils-dev_2.31.1-7 bison_2:3.0.4.dfsg-1+b1 bsdmainutils_11.1.2+b1 bsdutils_1:2.32.1-0.1 build-essential_12.5 bzip2_1.0.6-9 ca-certificates_20180409 chrpath_0.16-2+b1 cmake_3.12.3-2 cmake-data_3.12.3-2 coreutils_8.30-1 cpp_4:8.2.0-1 cpp-8_8.2.0-8 dash_0.5.10.2-1 debconf_1.5.69 debhelper_11.4.1 debian-archive-keyring_2017.7 debianutils_4.8.6 dejagnu_1.6.1-1 dh-autoreconf_19 dh-strip-nondeterminism_0.043-2 diffstat_1.61-1+b1 diffutils_1:3.6-1 distro-info-data_0.38 docutils-common_0.14+dfsg-3 dpkg_1.19.2 dpkg-dev_1.19.2 dwz_0.12-2 e2fsprogs_1.44.4-2 expect_5.45.4-2 fakeroot_1.23-1 fdisk_2.32.1-0.1 file_1:5.34-2 findutils_4.6.0+git+20181018-1 flex_2.6.4-6.2 g++_4:8.2.0-1 g++-8_8.2.0-8 gcc_4:8.2.0-1 gcc-8_8.2.0-8 gcc-8-base_8.2.0-8 gettext_0.19.8.1-8 gettext-base_0.19.8.1-8 gpgv_2.2.10-3 grep_3.1-2 groff-base_1.22.3-10 gzip_1.9-2.1 help2man_1.47.8 hostname_3.21 init-system-helpers_1.55 intltool-debian_0.35.0+20060710.4 lcov_1.13-4 libacl1_2.2.52-3+b1 libapt-pkg5.0_1.7.0 libarchive-zip-perl_1.64-1 libarchive13_3.2.2-5 libasan5_8.2.0-8 libatomic1_8.2.0-8 libattr1_1:2.4.47-2+b2 libaudit-common_1:2.8.4-2 libaudit1_1:2.8.4-2 libbinutils_2.31.1-7 libbison-dev_2:3.0.4.dfsg-1+b1 libblkid1_2.32.1-0.1 libbsd-dev_0.9.1-1 libbsd0_0.9.1-1 libbz2-1.0_1.0.6-9 libc-bin_2.27-6 libc-dev-bin_2.27-6 libc6_2.27-6 libc6-dev_2.27-6 libcap-ng0_0.7.9-1 libcc1-0_8.2.0-8 libcom-err2_1.44.4-2 libcroco3_0.6.12-2 libcurl4_7.61.0-1 libdb5.3_5.3.28+dfsg1-0.2 libdebconfclient0_0.245 libdpkg-perl_1.19.2 libedit-dev_3.1-20180525-1 libedit2_3.1-20180525-1 libelf1_0.170-0.5 libexpat1_2.2.6-1 libexpat1-dev_2.2.6-1 libext2fs2_1.44.4-2 libfakeroot_1.23-1 libfdisk1_2.32.1-0.1 libffi-dev_3.2.1-8 libffi6_3.2.1-8 libfile-stripnondeterminism-perl_0.043-2 libfreetype6_2.8.1-2 libgcc-8-dev_8.2.0-8 libgcc1_1:8.2.0-8 libgcrypt20_1.8.3-1 libgdbm-compat4_1.18-2 libgdbm5_1.14.1-6+b1 libgdbm6_1.18-2 libglib2.0-0_2.58.1-2 libgmp10_2:6.1.2+dfsg-3 libgnutls30_3.5.19-1+b1 libgomp1_8.2.0-8 libgpg-error0_1.32-3 libgraphite2-3_1.3.12-1 libgssapi-krb5-2_1.16.1-1 libharfbuzz0b_1.9.0-1 libhogweed4_3.4-1 libicu-le-hb0_1.0.3+git161113-5 libicu60_60.2-6 libidn2-0_2.0.5-1 libisl19_0.20-2 libjs-jquery_3.2.1-1 libjs-sphinxdoc_1.7.9-1 libjs-underscore_1.8.3~dfsg-1 libjsoncpp-dev_1.7.4-3 libjsoncpp1_1.7.4-3 libk5crypto3_1.16.1-1 libkeyutils1_1.5.9-9.3 libkrb5-3_1.16.1-1 libkrb5support0_1.16.1-1 libldap-2.4-2_2.4.46+dfsg-5 libldap-common_2.4.46+dfsg-5 liblocale-gettext-perl_1.07-3+b3 liblz4-1_1.8.2-1 liblzma5_5.2.2-1.3 liblzo2-2_2.10-0.1 libmagic-mgc_1:5.34-2 libmagic1_1:5.34-2 libmount1_2.32.1-0.1 libmpc3_1.1.0-1 libmpdec2_2.4.2-2 libmpfr6_4.0.1-1 libncurses-dev_6.1+20181013-1 libncurses6_6.1+20181013-1 libncursesw6_6.1+20181013-1 libnettle6_3.4-1 libnghttp2-14_1.34.0-1 libp11-kit0_0.23.14-2 libpam-modules_1.1.8-3.8 libpam-modules-bin_1.1.8-3.8 libpam-runtime_1.1.8-3.8 libpam0g_1.1.8-3.8 libpcre3_2:8.39-11 libperl5.26_5.26.2-7+b1 libpipeline1_1.5.0-1 libpng16-16_1.6.34-2 libprocps7_2:3.3.15-2 libpsl5_0.20.2-2 libpython-dev_2.7.15-3 libpython-stdlib_2.7.15-3 libpython2-dev_2.7.15-3 libpython2-stdlib_2.7.15-3 libpython2.7_2.7.15-4 libpython2.7-dev_2.7.15-4 libpython2.7-minimal_2.7.15-4 libpython2.7-stdlib_2.7.15-4 libpython3-stdlib_3.6.7-1 libpython3.6-minimal_3.6.7-1 libpython3.6-stdlib_3.6.7-1 libreadline7_7.0-5 librhash0_1.3.6-3 librtmp1_2.4+20151223.gitfa8646d.1-2 libsasl2-2_2.1.27~rc8-1 libsasl2-modules-db_2.1.27~rc8-1 libseccomp2_2.3.3-3 libselinux1_2.8-1+b1 libsemanage-common_2.8-1 libsemanage1_2.8-1+b1 libsepol1_2.8-1 libsigsegv2_2.12-2 libsmartcols1_2.32.1-0.1 libsqlite3-0_3.25.2-1 libss2_1.44.4-2 libssh2-1_1.8.0-2 libssl1.1_1.1.1-1 libstdc++-8-dev_8.2.0-8 libstdc++6_8.2.0-8 libsystemd0_239-10 libtasn1-6_4.13-3 libtcl8.6_8.6.8+dfsg-4 libtext-unidecode-perl_1.30-1 libtinfo-dev_6.1+20181013-1 libtinfo6_6.1+20181013-1 libtool_2.4.6-6 libubsan1_8.2.0-8 libudev1_239-10 libunistring2_0.9.10-1 libuuid1_2.32.1-0.1 libuv1_1.23.2-1 libxml-libxml-perl_2.0132+dfsg-2 libxml-namespacesupport-perl_1.12-1 libxml-sax-base-perl_1.09-1 libxml-sax-perl_1.00+dfsg-1 libxml2_2.9.4+dfsg1-7+b1 libzstd1_1.3.5+dfsg-1 linux-libc-dev_4.18.10-2 login_1:4.5-1.1 lsb-base_9.20170808 lsb-release_9.20170808 m4_1.4.18-1 make_4.2.1-1.2 man-db_2.8.4-2+b1 mawk_1.3.3-17+b3 mime-support_3.61 mount_2.32.1-0.1 ncurses-base_6.1+20181013-1 ncurses-bin_6.1+20181013-1 openssl_1.1.1-1 passwd_1:4.5-1.1 patch_2.7.6-3 patchutils_0.3.4-2 perl_5.26.2-7+b1 perl-base_5.26.2-7+b1 perl-modules-5.26_5.26.2-7 po-debconf_1.0.20 procps_2:3.3.15-2 python_2.7.15-3 python-alabaster_0.7.8-1 python-babel_2.6.0+dfsg.1-1 python-babel-localedata_2.6.0+dfsg.1-1 python-certifi_2018.8.24-1 python-chardet_3.0.4-1 python-dev_2.7.15-3 python-docutils_0.14+dfsg-3 python-idna_2.6-1 python-imagesize_1.0.0-1 python-jinja2_2.10-1 python-markupsafe_1.0-1+b2 python-minimal_2.7.15-3 python-packaging_18.0-1 python-pkg-resources_40.4.3-1 python-pygments_2.2.0+dfsg-2 python-pyparsing_2.2.0+dfsg1-2 python-requests_2.20.0-1 python-roman_2.0.0-3 python-six_1.11.0-2 python-sphinx_1.7.9-1 python-typing_3.6.6-1 python-tz_2018.5-1 python-urllib3_1.24-1 python2_2.7.15-3 python2-dev_2.7.15-3 python2-minimal_2.7.15-3 python2.7_2.7.15-4 python2.7-dev_2.7.15-4 python2.7-minimal_2.7.15-4 python3_3.6.7-1 python3-minimal_3.6.7-1 python3.6_3.6.7-1 python3.6-minimal_3.6.7-1 readline-common_7.0-5 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-llvm-toolchain-3.8-dummy_0.invalid.0 sed_4.5-2 sensible-utils_0.0.12 sgml-base_1.29 sharutils_1:4.15.2-3 sphinx-common_1.7.9-1 swig_3.0.12-1.2 swig3.0_3.0.12-1.2 sysvinit-utils_2.88dsf-59.11 tar_1.30+dfsg-2 tcl_8.6.0+9 tcl-expect_5.45.4-2 tcl8.6_8.6.8+dfsg-4 tex-common_6.10 texinfo_6.5.0.dfsg.1-4 tzdata_2018f-1 ucf_3.0038 util-linux_2.32.1-0.1 xml-core_0.18 xz-utils_5.2.2-1.3 zlib1g_1:1.2.11.dfsg-1 zlib1g-dev_1:1.2.11.dfsg-1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/sbuild-nonexistent/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Sun Dec 24 14:31:17 2017 UTC gpgv: using RSA key B60DB5994D39BEC4D1A95CCF7E6528DA752F1BE1 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./llvm-toolchain-3.8_3.8.1-27.dsc dpkg-source: info: extracting llvm-toolchain-3.8 in /<> dpkg-source: info: unpacking llvm-toolchain-3.8_3.8.1.orig.tar.bz2 dpkg-source: info: unpacking llvm-toolchain-3.8_3.8.1.orig-clang.tar.bz2 dpkg-source: info: unpacking llvm-toolchain-3.8_3.8.1.orig-clang-tools-extra.tar.bz2 dpkg-source: info: unpacking llvm-toolchain-3.8_3.8.1.orig-compiler-rt.tar.bz2 dpkg-source: info: unpacking llvm-toolchain-3.8_3.8.1.orig-lldb.tar.bz2 dpkg-source: info: unpacking llvm-toolchain-3.8_3.8.1.orig-polly.tar.bz2 dpkg-source: info: unpacking llvm-toolchain-3.8_3.8.1-27.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 18-soname.patch dpkg-source: info: applying 19-clang_debian_version.patch dpkg-source: info: applying 23-strlcpy_strlcat_warning_removed.diff dpkg-source: info: applying 27-fix_clang_stdint.diff dpkg-source: info: applying 26-set-correct-float-abi.diff dpkg-source: info: applying 0003-Debian-version-info-and-bugreport.patch dpkg-source: info: applying 0021-shared-lib-debian.patch dpkg-source: info: applying 0023-link-libopagent.patch dpkg-source: info: applying 0044-soname.diff dpkg-source: info: applying scan-build-clang-path.diff dpkg-source: info: applying declare_clear_cache.diff dpkg-source: info: applying 31-powerpcspe.diff dpkg-source: info: applying 34-powerpc-no-altivec.diff dpkg-source: info: applying clang-format-version.diff dpkg-source: info: applying disable-execinfo-usage.diff dpkg-source: info: applying unwind-chain-inclusion.diff dpkg-source: info: applying hurd-pathmax.diff dpkg-source: info: applying use-deb-json.diff dpkg-source: info: applying atomic_library_1.diff dpkg-source: info: applying atomic_library_2.diff dpkg-source: info: applying python-clangpath.diff dpkg-source: info: applying removeduplicatedeclaration.diff dpkg-source: info: applying fix-clang-path-and-build.diff dpkg-source: info: applying do-not-fail-on-unexpected-pass.diff dpkg-source: info: applying silent-more-tests.diff dpkg-source: info: applying disable-display-PASS-UNSUPPORTED-XFAIL.diff dpkg-source: info: applying lldb-link-atomic.diff dpkg-source: info: applying fix-llvm-config-obj-src-root.patch dpkg-source: info: applying compiler-rt-path.diff dpkg-source: info: applying lldb-soname.diff dpkg-source: info: applying force-link-pass.o.diff dpkg-source: info: applying follow-parallel-var.diff dpkg-source: info: applying hurd-EIEIO-undef.diff dpkg-source: info: applying silent-MCJIIT-tests.diff dpkg-source: info: applying lldb-libname.diff dpkg-source: info: applying compiler-rt-i586.diff dpkg-source: info: applying clang-analyzer-force-version.diff dpkg-source: info: applying fix-cmake-config-prefix.diff dpkg-source: info: applying llvm25468-lldb-swig-format-security.diff dpkg-source: info: applying llvm26003-sanitizer-check-env.diff dpkg-source: info: applying scan-view-fix-path.diff dpkg-source: info: applying mips-fpxx-enable.diff dpkg-source: info: applying lldb-link-atomic-cmake.patch dpkg-source: info: applying D17567-PR23529-Sema-part-of-attrbute-abi_tag-support.diff dpkg-source: info: applying D18035-PR23529-Mangler-part-of-attrbute-abi_tag-support.diff dpkg-source: info: applying kfreebsd-support.diff dpkg-source: info: applying asan-glibc-2.24.diff dpkg-source: info: applying lldb-dont-assume-64bit-systems-are-all-x86-64.patch dpkg-source: info: applying lldb-arm64.diff dpkg-source: info: applying clang-tidy-run-bin.diff dpkg-source: info: applying silent-llvm-symbolizer.diff dpkg-source: info: applying upstream-msan-prevent-initialization-failure.diff dpkg-source: info: applying upstream-asan-msan-fix-reallocation-logic.diff dpkg-source: info: applying lit-force-lang.diff dpkg-source: info: applying clang-arm-default-vfp3-on-armv7a.patch dpkg-source: info: applying lldb-server-path.diff dpkg-source: info: applying lldb-server-link.diff dpkg-source: info: applying add_symbols_versioning.patch dpkg-source: info: applying fix-R_AARCH64_MOVW_UABS_G3-relocation.patch dpkg-source: info: applying asan-48bit-VMA-aarch64.patch dpkg-source: info: applying ftfbs-gcc.diff dpkg-source: info: applying test-keep-alive.diff Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf HOME=/sbuild-nonexistent LANG=en_GB.UTF-8 LC_ALL=POSIX LC_COLLATE=C LC_CTYPE=en_GB.UTF-8 LOGNAME=sbuild PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=sid-armel-sbuild SCHROOT_CHROOT_NAME=sid-armel-sbuild SCHROOT_COMMAND=env SCHROOT_GID=112 SCHROOT_GROUP=sbuild SCHROOT_SESSION_ID=sid-armel-sbuild-9db72410-eb9c-43fc-976b-5eb25047cf59 SCHROOT_UID=108 SCHROOT_USER=sbuild SHELL=/bin/sh USER=sbuild dpkg-buildpackage ----------------- dpkg-buildpackage: info: source package llvm-toolchain-3.8 dpkg-buildpackage: info: source version 1:3.8.1-27 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Sylvestre Ledru dpkg-source --before-build . dpkg-buildpackage: info: host architecture armel fakeroot debian/rules clean dh clean debian/rules override_dh_auto_clean make[1]: Entering directory '/<>' rm -rf build-llvm tools/clang/include/clang/Debian/debian_path.h docs/_build/ clang/docs/_build tools/clang/docs/_html/ rm -rf cov-int/ reports/ rm -f `ls debian/*.in|sed -e "s|.in$||g"` find utils -name '*.pyc' | xargs -r rm -f # Use -I because a test has a space in its name find lldb/test -iname '*.pyc' | xargs -I{} -r rm -f {} find test -name '*.pyc' -o -name '*.cm[ix]' | xargs -r rm -f find test/Bindings -name '*.o' | xargs -r rm -f rm -f tools/clang tools/polly tools/lldb projects/compiler-rt rm -rf tools/clang/tools/extra clang/tools/extra/ rm -f /<>/utils/vim/llvm-3.8.vim /<>/utils/vim/tablegen-3.8.vim rm -f /<>/clang/tools/clang-format/clang-format-diff-3.8 rm -f /<>/clang/tools/clang-format/clang-format-3.8.py make[1]: Leaving directory '/<>' dh_clean debian/rules build dh build dh_update_autotools_config debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' for f in debian/*.in; do \ f2=$(echo $f | sed 's/\.in$//;s/X\.Y/3.8/'); \ echo "$f => $f2"; \ sed -e 's|@DEB_HOST_MULTIARCH@|arm-linux-gnueabi|g' \ -e "s|@OCAML_STDLIB_DIR@||g" \ -e "s|@LLVM_VERSION_FULL@|3.8.1|g" \ -e "s|@LLVM_VERSION@|3.8|g" $f > $f2; \ done debian/clang-X.Y-doc.docs.in => debian/clang-3.8-doc.docs debian/clang-X.Y-examples.examples.in => debian/clang-3.8-examples.examples debian/clang-X.Y.install.in => debian/clang-3.8.install debian/clang-X.Y.links.in => debian/clang-3.8.links debian/clang-X.Y.lintian-overrides.in => debian/clang-3.8.lintian-overrides debian/clang-X.Y.manpages.in => debian/clang-3.8.manpages debian/clang-format-X.Y.install.in => debian/clang-format-3.8.install debian/clang-format-X.Y.lintian-overrides.in => debian/clang-format-3.8.lintian-overrides debian/clang-format-X.Y.manpages.in => debian/clang-format-3.8.manpages debian/clang-tidy-X.Y.install.in => debian/clang-tidy-3.8.install debian/clang-tidy-X.Y.links.in => debian/clang-tidy-3.8.links debian/clang-tidy-X.Y.lintian-overrides.in => debian/clang-tidy-3.8.lintian-overrides debian/clang-tidy-X.Y.manpages.in => debian/clang-tidy-3.8.manpages debian/libclang-X.Y-dev.install.in => debian/libclang-3.8-dev.install debian/libclang-X.Y-dev.links.in => debian/libclang-3.8-dev.links debian/libclang-common-X.Y-dev.install.in => debian/libclang-common-3.8-dev.install debian/libclang-common-X.Y-dev.links.in => debian/libclang-common-3.8-dev.links debian/libclang1-X.Y.install.in => debian/libclang1-3.8.install debian/libclang1-X.Y.links.in => debian/libclang1-3.8.links debian/libclang1-X.Y.lintian-overrides.in => debian/libclang1-3.8.lintian-overrides debian/libclang1-X.Y.symbols.in => debian/libclang1-3.8.symbols debian/liblldb-X.Y-dev.install.in => debian/liblldb-3.8-dev.install debian/liblldb-X.Y-dev.links.in => debian/liblldb-3.8-dev.links debian/liblldb-X.Y.install.in => debian/liblldb-3.8.install debian/liblldb-X.Y.links.in => debian/liblldb-3.8.links debian/liblldb-X.Y.lintian-overrides.in => debian/liblldb-3.8.lintian-overrides debian/libllvm-X.Y-ocaml-dev.META.in => debian/libllvm-3.8-ocaml-dev.META debian/libllvm-X.Y-ocaml-dev.dirs.in => debian/libllvm-3.8-ocaml-dev.dirs debian/libllvm-X.Y-ocaml-dev.install.in => debian/libllvm-3.8-ocaml-dev.install debian/libllvm-X.Y-ocaml-dev.lintian-overrides.in => debian/libllvm-3.8-ocaml-dev.lintian-overrides debian/libllvmX.Y.install.in => debian/libllvm3.8.install debian/libllvmX.Y.links.in => debian/libllvm3.8.links debian/libllvmX.Y.lintian-overrides.in => debian/libllvm3.8.lintian-overrides debian/lldb-X.Y.install.in => debian/lldb-3.8.install debian/lldb-X.Y.lintian-overrides.in => debian/lldb-3.8.lintian-overrides debian/lldb-X.Y.manpages.in => debian/lldb-3.8.manpages debian/lldb-X.Y.postinst.in => debian/lldb-3.8.postinst debian/llvm-X.Y-dev.dirs.in => debian/llvm-3.8-dev.dirs debian/llvm-X.Y-dev.install.in => debian/llvm-3.8-dev.install debian/llvm-X.Y-dev.links.in => debian/llvm-3.8-dev.links debian/llvm-X.Y-doc.dirs.in => debian/llvm-3.8-doc.dirs debian/llvm-X.Y-doc.install.in => debian/llvm-3.8-doc.install debian/llvm-X.Y-examples.dirs.in => debian/llvm-3.8-examples.dirs debian/llvm-X.Y-examples.examples.in => debian/llvm-3.8-examples.examples debian/llvm-X.Y-examples.links.in => debian/llvm-3.8-examples.links debian/llvm-X.Y-runtime.binfmt.in => debian/llvm-3.8-runtime.binfmt debian/llvm-X.Y-runtime.install.in => debian/llvm-3.8-runtime.install debian/llvm-X.Y-runtime.lintian-overrides.in => debian/llvm-3.8-runtime.lintian-overrides debian/llvm-X.Y-runtime.manpages.in => debian/llvm-3.8-runtime.manpages debian/llvm-X.Y-runtime.postinst.in => debian/llvm-3.8-runtime.postinst debian/llvm-X.Y-runtime.prerm.in => debian/llvm-3.8-runtime.prerm debian/llvm-X.Y-tools.dirs.in => debian/llvm-3.8-tools.dirs debian/llvm-X.Y-tools.install.in => debian/llvm-3.8-tools.install debian/llvm-X.Y.dirs.in => debian/llvm-3.8.dirs debian/llvm-X.Y.install.in => debian/llvm-3.8.install debian/llvm-X.Y.lintian-overrides.in => debian/llvm-3.8.lintian-overrides debian/llvm-X.Y.manpages.in => debian/llvm-3.8.manpages debian/pollycc.in => debian/pollycc debian/python-clang-X.Y.install.in => debian/python-clang-3.8.install debian/python-lldb-X.Y.install.in => debian/python-lldb-3.8.install debian/python-lldb-X.Y.links.in => debian/python-lldb-3.8.links echo "Using gcc: " Using gcc: gcc-8 -v Using built-in specs. COLLECT_GCC=gcc-8 COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/8/lto-wrapper Target: arm-linux-gnueabi Configured with: ../src/configure -v --with-pkgversion='Debian 8.2.0-8' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=arm-linux-gnueabi- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv5te --with-float=soft --disable-werror --enable-checking=release --build=arm-linux-gnueabi --host=arm-linux-gnueabi --target=arm-linux-gnueabi Thread model: posix gcc version 8.2.0 (Debian 8.2.0-8) mkdir -p build-llvm mkdir -p clang/include/clang/Debian sed -e "s|@DEB_PATCHSETVERSION@|27|" \ debian/debian_path.h > clang/include/clang/Debian/debian_path.h cd tools/ && \ if test -h clang; then \ rm clang; \ fi; \ ln -s ../clang .; \ readlink clang ../clang if test "yes" = yes; then \ cd tools/ && \ if test -h polly; then \ rm polly; \ fi; \ ln -s ../polly .; \ fi if test "yes" = yes; then \ cd tools/ && \ if test -h lldb; then \ rm lldb; \ fi; \ ln -s ../lldb .; \ fi cd projects/ && \ if test -h compiler-rt; then \ rm compiler-rt; \ fi; \ ln -s ../compiler-rt .; \ readlink compiler-rt ../compiler-rt # Configure coverity (we need the compilers) (if test 0 -eq 1; then \ export PATH=$PATH:/opt/cov-analysis/bin/; \ cov-configure --compiler clang --comptype clang; \ cov-configure --compiler gcc-4.8 --comptype gcc; \ cov-configure --compiler g++-4.8 --comptype gcc; \ cov-configure --compiler gcc-4.9 --comptype gcc; \ cov-configure --compiler g++-4.9 --comptype gcc; \ cov-configure --compiler gcc-5 --comptype gcc; \ cov-configure --compiler g++-5 --comptype gcc; \ fi) # Due to bug upstream, no symlink here rm -fr tools/clang/tools/extra cp -R -H clang-tools-extra tools/clang/tools/extra # if cmake is installed in /tmp/cmake/ uses it # Used to build llvm on old ubuntu (precise) on the llvm.org/apt/ ci CMAKE_BIN=cmake; \ if test -f /tmp/cmake/bin/cmake; then \ CMAKE_BIN=/tmp/cmake/bin/cmake; \ fi; \ echo "Using cmake: $CMAKE_BIN"; \ if test no = yes; then \ cd build-llvm; \ \ ../configure --host=arm-linux-gnueabi --build=arm-linux-gnueabi --with-cxx-include-64bit-dir=64 \ --prefix=/usr/lib/llvm-3.8 \ --bindir=\${prefix}/bin/ \ --disable-assertions \ --enable-shared \ --enable-optimized \ --with-optimize-option=' -O2 -DNDEBUG -g -marm' \ --enable-pic \ --enable-libffi \ --libdir=\${prefix}/lib/arm-linux-gnueabi \ --with-binutils-include=/usr/include \ --with-cloog --with-isl \ --with-bug-report-url=http://bugs.debian.org/ \ --enable-shared \ --disable-bindings \ --with-clang-default-openmp-runtime=libomp \ \ CLANG_VENDOR=Debian || { cat config.log tools/polly/config.log; exit 1; }; \ else \ cd build-llvm && \ $CMAKE_BIN ../ \ -DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-3.8 \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_CXX_FLAGS="-std=c++0x -gsplit-dwarf -gsplit-dwarf" \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_VERSION_SUFFIX= \ -DLLVM_ENABLE_SPHINX=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_FFI=ON \ -DCOMPILER_RT_BUILD_BUILTINS=OFF -DLLVM_HOST_TRIPLE=arm-linux-gnueabi -DLLDB_DISABLE_LIBEDIT=ON \ -DLIBCLANG_LIBRARY_VERSION=1; \ fi Using cmake: cmake CMake Deprecation Warning at CMakeLists.txt:20 (cmake_policy): The OLD behavior for policy CMP0051 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc-8 -- Check for working C compiler: /usr/bin/gcc-8 -- Check for working C compiler: /usr/bin/gcc-8 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++-8 -- Check for working CXX compiler: /usr/bin/g++-8 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for dirent.h CMake Warning (dev) at /usr/share/cmake-3.12/Modules/CheckIncludeFile.cmake:70 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: m For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): cmake/config-ix.cmake:45 (check_include_file) CMakeLists.txt:407 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for dirent.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for execinfo.h -- Looking for execinfo.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for malloc/malloc.h -- Looking for malloc/malloc.h - not found -- Looking for ndir.h -- Looking for ndir.h - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/dir.h -- Looking for sys/dir.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/ndir.h -- Looking for sys/ndir.h - not found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for utime.h -- Looking for utime.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for zlib.h -- Looking for zlib.h - found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for FE_ALL_EXCEPT -- Looking for FE_ALL_EXCEPT - found -- Looking for FE_INEXACT -- Looking for FE_INEXACT - found -- Looking for mach/mach.h -- Looking for mach/mach.h - not found -- Looking for mach-o/dyld.h -- Looking for mach-o/dyld.h - not found -- Looking for histedit.h -- Looking for histedit.h - found -- Performing Test HAVE_CXXABI_H -- Performing Test HAVE_CXXABI_H - Success -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_getspecific in pthread -- Looking for pthread_getspecific in pthread - found -- Looking for pthread_rwlock_init in pthread -- Looking for pthread_rwlock_init in pthread - found -- Looking for pthread_mutex_lock in pthread -- Looking for pthread_mutex_lock in pthread - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for compress2 in z -- Looking for compress2 in z - found -- Looking for el_init in edit -- Looking for el_init in edit - found -- Looking for setupterm in tinfo -- Looking for setupterm in tinfo - found -- Looking for arc4random -- Looking for arc4random - not found -- Looking for backtrace -- Looking for backtrace - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for writev -- Looking for writev - found -- Looking for mallctl -- Looking for mallctl - not found -- Looking for mallinfo -- Looking for mallinfo - found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for mkdtemp -- Looking for mkdtemp - found -- Looking for mkstemp -- Looking for mkstemp - found -- Looking for mktemp -- Looking for mktemp - found -- Looking for closedir -- Looking for closedir - found -- Looking for opendir -- Looking for opendir - found -- Looking for readdir -- Looking for readdir - found -- Looking for getcwd -- Looking for getcwd - found -- Looking for gettimeofday -- Looking for gettimeofday - found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for pread -- Looking for pread - found -- Looking for realpath -- Looking for realpath - found -- Looking for sbrk -- Looking for sbrk - found -- Looking for srand48 -- Looking for srand48 - found -- Looking for lrand48 -- Looking for lrand48 - found -- Looking for drand48 -- Looking for drand48 - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtoq -- Looking for strtoq - found -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strerror_s -- Looking for strerror_s - not found -- Looking for setenv -- Looking for setenv - found -- Looking for dlerror -- Looking for dlerror - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test HAVE_INT64_T -- Performing Test HAVE_INT64_T - Success -- Performing Test HAVE_UINT64_T -- Performing Test HAVE_UINT64_T - Success -- Performing Test HAVE_U_INT64_T -- Performing Test HAVE_U_INT64_T - Success -- Looking for ffi_call -- Looking for ffi_call - found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG -- Performing Test SUPPORTS_NO_VARIADIC_MACROS_FLAG - Success -- Performing Test HAS_MAYBE_UNINITIALIZED -- Performing Test HAS_MAYBE_UNINITIALIZED - Success -- Target triple: armv8l-unknown-linux-gnueabi -- Native target architecture is ARM -- Threads enabled. -- Doxygen disabled. -- Sphinx enabled. -- Found Sphinx: /usr/bin/sphinx-build -- Go bindings disabled. -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) -- OCaml bindings disabled. -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test CXX_SUPPORTS_CXX11 -- Performing Test CXX_SUPPORTS_CXX11 - Success -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Found PythonInterp: /usr/bin/python2.7 (found version "2.7.15") -- Constructing LLVMBuild project information -- Targeting AArch64 -- Targeting AMDGPU -- Targeting ARM -- Targeting BPF -- Targeting CppBackend -- Targeting Hexagon -- Targeting Mips -- Targeting MSP430 -- Targeting NVPTX -- Targeting PowerPC -- Targeting Sparc -- Targeting SystemZ -- Targeting X86 -- Targeting XCore -- Looking for unwind.h -- Looking for unwind.h - found -- Performing Test COMPILER_RT_HAS_FPIC_FLAG -- Performing Test COMPILER_RT_HAS_FPIC_FLAG - Success -- Performing Test COMPILER_RT_HAS_FPIE_FLAG -- Performing Test COMPILER_RT_HAS_FPIE_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG -- Performing Test COMPILER_RT_HAS_FNO_BUILTIN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Success -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG - Failed -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG - Success -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Success -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG - Success -- Performing Test COMPILER_RT_HAS_STD_CXX11_FLAG -- Performing Test COMPILER_RT_HAS_STD_CXX11_FLAG - Success -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC - Success -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG - Success -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG - Failed -- Performing Test COMPILER_RT_HAS_STD_C99_FLAG -- Performing Test COMPILER_RT_HAS_STD_C99_FLAG - Failed -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG - Success -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test COMPILER_RT_HAS_GR_FLAG -- Performing Test COMPILER_RT_HAS_GR_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GS_FLAG -- Performing Test COMPILER_RT_HAS_GS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_MT_FLAG -- Performing Test COMPILER_RT_HAS_MT_FLAG - Failed -- Performing Test COMPILER_RT_HAS_Oy_FLAG -- Performing Test COMPILER_RT_HAS_Oy_FLAG - Failed -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG - Failed -- Performing Test COMPILER_RT_HAS_G_FLAG -- Performing Test COMPILER_RT_HAS_G_FLAG - Success -- Performing Test COMPILER_RT_HAS_Zi_FLAG -- Performing Test COMPILER_RT_HAS_Zi_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WALL_FLAG -- Performing Test COMPILER_RT_HAS_WALL_FLAG - Success -- Performing Test COMPILER_RT_HAS_WERROR_FLAG -- Performing Test COMPILER_RT_HAS_WERROR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG - Success -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WGNU_FLAG -- Performing Test COMPILER_RT_HAS_WGNU_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG - Success -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG - Success -- Performing Test COMPILER_RT_HAS_W3_FLAG -- Performing Test COMPILER_RT_HAS_W3_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WX_FLAG -- Performing Test COMPILER_RT_HAS_WX_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4146_FLAG -- Performing Test COMPILER_RT_HAS_WD4146_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4291_FLAG -- Performing Test COMPILER_RT_HAS_WD4291_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4391_FLAG -- Performing Test COMPILER_RT_HAS_WD4391_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4722_FLAG -- Performing Test COMPILER_RT_HAS_WD4722_FLAG - Failed -- Performing Test COMPILER_RT_HAS_WD4800_FLAG -- Performing Test COMPILER_RT_HAS_WD4800_FLAG - Failed -- Looking for __func__ -- Looking for __func__ - found -- Looking for fopen in c -- Looking for fopen in c - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found -- Looking for shm_open in rt -- Looking for shm_open in rt - found -- Looking for pow in m -- Looking for pow in m - found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for __cxa_throw in stdc++ -- Looking for __cxa_throw in stdc++ - found -- Compiler-RT supported architectures: arm -- Looking for rpc/xdr.h -- Looking for rpc/xdr.h - found -- Looking for tirpc/rpc/xdr.h -- Looking for tirpc/rpc/xdr.h - not found -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS -- Performing Test COMPILER_RT_TARGET_HAS_ATOMICS - Success -- ISL version: isl-0.15-142-gf101714 -- Performing Test HAS_ATTRIBUTE_WARN_UNUSED_RESULT -- Performing Test HAS_ATTRIBUTE_WARN_UNUSED_RESULT - Success -- Performing Test HAVE___ATTRIBUTE__ -- Performing Test HAVE___ATTRIBUTE__ - Success -- Performing Test HAVE_DECL_FFS -- Performing Test HAVE_DECL_FFS - Success -- Performing Test HAVE_DECL___BUILTIN_FFS -- Performing Test HAVE_DECL___BUILTIN_FFS - Success -- Performing Test HAVE_DECL__BITSCANFORWARD -- Performing Test HAVE_DECL__BITSCANFORWARD - Failed -- Performing Test HAVE_DECL_STRCASECMP -- Performing Test HAVE_DECL_STRCASECMP - Success -- Performing Test HAVE_DECL__STRICMP -- Performing Test HAVE_DECL__STRICMP - Failed -- Performing Test HAVE_DECL_STRNCASECMP -- Performing Test HAVE_DECL_STRNCASECMP - Success -- Performing Test HAVE_DECL__STRNICMP -- Performing Test HAVE_DECL__STRNICMP - Failed -- Performing Test HAVE_DECL_SNPRINTF -- Performing Test HAVE_DECL_SNPRINTF - Success -- Performing Test HAVE_DECL__SNPRINTF -- Performing Test HAVE_DECL__SNPRINTF - Failed -- Performing Test HAVE_UINT8T -- Performing Test HAVE_UINT8T - Failed -- Performing Test HAVE_SYS_INTTYPES_H -- Performing Test HAVE_SYS_INTTYPES_H - Failed -- Clang version: 3.8.1 -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG -- Performing Test CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG - Failed -- Found PythonLibs: /usr/lib/arm-linux-gnueabi/libpython2.7.so (found version "2.7.15+") -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_DECLARATIONS - Success -- Performing Test CXX_SUPPORTS_NO_UNKNOWN_PRAGMAS -- Performing Test CXX_SUPPORTS_NO_UNKNOWN_PRAGMAS - Success -- Performing Test CXX_SUPPORTS_NO_STRICT_ALIASING -- Performing Test CXX_SUPPORTS_NO_STRICT_ALIASING - Success -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_REGISTER -- Performing Test CXX_SUPPORTS_NO_DEPRECATED_REGISTER - Success -- Performing Test CXX_SUPPORTS_NO_VLA_EXTENSION -- Performing Test CXX_SUPPORTS_NO_VLA_EXTENSION - Success -- LLDB version: 3.8.1 -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) -- Performing Test HAVE_PROCESS_VM_READV -- Performing Test HAVE_PROCESS_VM_READV - Success -- Found Curses: /usr/lib/arm-linux-gnueabi/libcurses.so -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Found SWIG: /usr/bin/swig3.0 (found version "3.0.12") -- Performing Test CXX_SUPPORTS_NO_MACRO_REDEFINED -- Performing Test CXX_SUPPORTS_NO_MACRO_REDEFINED - Success -- Symbols (liblldb): only exporting liblldb.exports symbols -- Configuring done -- Generating done -- Build files have been written to: /<>/build-llvm make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' /usr/bin/make -j 8 -C build-llvm VERBOSE=1 CLANG_VENDOR=Debian CXXFLAGS="-std=c++0x -gsplit-dwarf -gsplit-dwarf" LDFLAGS="" REQUIRES_RTTI=1 DEBUGMAKE=1 make[2]: Entering directory '/<>/build-llvm' /usr/bin/cmake -H/<> -B/<>/build-llvm --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /<>/build-llvm/CMakeFiles /<>/build-llvm/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[3]: Entering directory '/<>/build-llvm' /usr/bin/make -f lib/Support/CMakeFiles/LLVMSupport.dir/build.make lib/Support/CMakeFiles/LLVMSupport.dir/depend /usr/bin/make -f lib/TableGen/CMakeFiles/LLVMTableGen.dir/build.make lib/TableGen/CMakeFiles/LLVMTableGen.dir/depend /usr/bin/make -f utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/build.make utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/depend /usr/bin/make -f lib/Transforms/Hello/CMakeFiles/LLVMHello_exports.dir/build.make lib/Transforms/Hello/CMakeFiles/LLVMHello_exports.dir/depend make[4]: Entering directory '/<>/build-llvm' /usr/bin/make -f lib/MC/CMakeFiles/LLVMMC.dir/build.make lib/MC/CMakeFiles/LLVMMC.dir/depend cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/Transforms/Hello /<>/build-llvm /<>/build-llvm/lib/Transforms/Hello /<>/build-llvm/lib/Transforms/Hello/CMakeFiles/LLVMHello_exports.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/TableGen /<>/build-llvm /<>/build-llvm/lib/TableGen /<>/build-llvm/lib/TableGen/CMakeFiles/LLVMTableGen.dir/DependInfo.cmake --color= /usr/bin/make -f lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/build.make lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/TableGen /<>/build-llvm /<>/build-llvm/utils/TableGen /<>/build-llvm/utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/MC/MCParser /<>/build-llvm /<>/build-llvm/lib/MC/MCParser /<>/build-llvm/lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/DependInfo.cmake --color= /usr/bin/make -f lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/build.make lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/depend /usr/bin/make -f lib/Option/CMakeFiles/LLVMOption.dir/build.make lib/Option/CMakeFiles/LLVMOption.dir/depend make[4]: Entering directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/Support /<>/build-llvm /<>/build-llvm/lib/Support /<>/build-llvm/lib/Support/CMakeFiles/LLVMSupport.dir/DependInfo.cmake --color= cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/MC /<>/build-llvm /<>/build-llvm/lib/MC /<>/build-llvm/lib/MC/CMakeFiles/LLVMMC.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/MC/MCDisassembler /<>/build-llvm /<>/build-llvm/lib/MC/MCDisassembler /<>/build-llvm/lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/Option /<>/build-llvm /<>/build-llvm/lib/Option /<>/build-llvm/lib/Option/CMakeFiles/LLVMOption.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/lib/Transforms/Hello/CMakeFiles/LLVMHello_exports.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/Transforms/Hello/CMakeFiles/LLVMHello_exports.dir/depend.internal". Dependee "/<>/build-llvm/lib/TableGen/CMakeFiles/LLVMTableGen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/TableGen/CMakeFiles/LLVMTableGen.dir/depend.internal". Dependee "/<>/build-llvm/lib/TableGen/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/TableGen/CMakeFiles/LLVMTableGen.dir/depend.internal". Dependee "/<>/build-llvm/lib/Transforms/Hello/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/Transforms/Hello/CMakeFiles/LLVMHello_exports.dir/depend.internal". Dependee "/<>/build-llvm/lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/depend.internal". Scanning dependencies of target LLVMHello_exports Dependee "/<>/build-llvm/lib/MC/MCParser/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/depend.internal". make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/Transforms/Hello/CMakeFiles/LLVMHello_exports.dir/build.make lib/Transforms/Hello/CMakeFiles/LLVMHello_exports.dir/build Dependee "/<>/build-llvm/lib/Support/CMakeFiles/LLVMSupport.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/Support/CMakeFiles/LLVMSupport.dir/depend.internal". Dependee "/<>/build-llvm/lib/Support/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/Support/CMakeFiles/LLVMSupport.dir/depend.internal". Dependee "/<>/build-llvm/lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/depend.internal". Dependee "/<>/build-llvm/lib/MC/MCDisassembler/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/depend.internal". make[4]: Entering directory '/<>/build-llvm' Dependee "/<>/build-llvm/lib/Option/CMakeFiles/LLVMOption.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/Option/CMakeFiles/LLVMOption.dir/depend.internal". Dependee "/<>/build-llvm/lib/Option/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/Option/CMakeFiles/LLVMOption.dir/depend.internal". Dependee "/<>/build-llvm/utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/depend.internal". Dependee "/<>/build-llvm/lib/MC/CMakeFiles/LLVMMC.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/MC/CMakeFiles/LLVMMC.dir/depend.internal". Dependee "/<>/build-llvm/utils/TableGen/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/depend.internal". Scanning dependencies of target LLVMOption make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/Option/CMakeFiles/LLVMOption.dir/build.make lib/Option/CMakeFiles/LLVMOption.dir/build [ 0%] Creating export file for LLVMHello make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm/lib/Transforms/Hello && echo "LLVM_3.8 {" > LLVMHello.exports cd /<>/build-llvm/lib/Transforms/Hello && grep -q [[:alnum:]] /<>/lib/Transforms/Hello/Hello.exports && echo " global:" >> LLVMHello.exports || : Scanning dependencies of target LLVMMCDisassembler Scanning dependencies of target LLVMTableGen Dependee "/<>/build-llvm/lib/MC/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/MC/CMakeFiles/LLVMMC.dir/depend.internal". cd /<>/build-llvm/lib/Transforms/Hello && sed -e "s/\$/;/" -e "s/^/ /" < /<>/lib/Transforms/Hello/Hello.exports >> LLVMHello.exports make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/build.make lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/build make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/TableGen/CMakeFiles/LLVMTableGen.dir/build.make lib/TableGen/CMakeFiles/LLVMTableGen.dir/build cd /<>/build-llvm/lib/Transforms/Hello && echo " local: *;" >> LLVMHello.exports cd /<>/build-llvm/lib/Transforms/Hello && echo "};" >> LLVMHello.exports make[4]: Leaving directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' [ 0%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/Arg.cpp.o cd /<>/build-llvm/lib/Option && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Option -I/<>/lib/Option -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMOption.dir/Arg.cpp.o -c /<>/lib/Option/Arg.cpp Scanning dependencies of target LLVMMCParser make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/build.make lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/build [ 0%] Built target LLVMHello_exports [ 0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o /usr/bin/make -f lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/build.make lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/depend [ 0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/Disassembler.cpp.o cd /<>/build-llvm/lib/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/TableGen -I/<>/lib/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMTableGen.dir/Error.cpp.o -c /<>/lib/TableGen/Error.cpp cd /<>/build-llvm/lib/MC/MCDisassembler && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCDisassembler -I/<>/lib/MC/MCDisassembler -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCDisassembler.dir/Disassembler.cpp.o -c /<>/lib/MC/MCDisassembler/Disassembler.cpp make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/DebugInfo/CodeView /<>/build-llvm /<>/build-llvm/lib/DebugInfo/CodeView /<>/build-llvm/lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' Dependee "/<>/build-llvm/lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/depend.internal". Dependee "/<>/build-llvm/lib/DebugInfo/CodeView/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/depend.internal". [ 0%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmLexer.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/AsmLexer.cpp.o -c /<>/lib/MC/MCParser/AsmLexer.cpp Scanning dependencies of target LLVMDebugInfoCodeView make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/build.make lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/build make[4]: Entering directory '/<>/build-llvm' [ 0%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/FieldListRecordBuilder.cpp.o cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/CodeView -I/<>/lib/DebugInfo/CodeView -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoCodeView.dir/FieldListRecordBuilder.cpp.o -c /<>/lib/DebugInfo/CodeView/FieldListRecordBuilder.cpp Scanning dependencies of target obj.llvm-tblgen make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/build.make utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/build make[4]: Entering directory '/<>/build-llvm' Scanning dependencies of target LLVMSupport make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/Support/CMakeFiles/LLVMSupport.dir/build.make lib/Support/CMakeFiles/LLVMSupport.dir/build Scanning dependencies of target LLVMMC make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/MC/CMakeFiles/LLVMMC.dir/build.make lib/MC/CMakeFiles/LLVMMC.dir/build make[4]: Entering directory '/<>/build-llvm' [ 0%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o -c /<>/utils/TableGen/AsmMatcherEmitter.cpp [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/APFloat.cpp.o -c /<>/lib/Support/APFloat.cpp make[4]: Entering directory '/<>/build-llvm' [ 0%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o -c /<>/lib/MC/ConstantPools.cpp [ 0%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/Line.cpp.o cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/CodeView -I/<>/lib/DebugInfo/CodeView -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoCodeView.dir/Line.cpp.o -c /<>/lib/DebugInfo/CodeView/Line.cpp [ 0%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/ListRecordBuilder.cpp.o cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/CodeView -I/<>/lib/DebugInfo/CodeView -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoCodeView.dir/ListRecordBuilder.cpp.o -c /<>/lib/DebugInfo/CodeView/ListRecordBuilder.cpp /<>/lib/Support/APFloat.cpp: In member function 'llvm::APFloat::opStatus llvm::APFloat::divideSpecials(const llvm::APFloat&)': /<>/lib/Support/APFloat.cpp:1572:20: warning: this statement may fall through [-Wimplicit-fallthrough=] copySignificand(rhs); ~~~~~~~~~~~~~~~^~~~~ /<>/lib/Support/APFloat.cpp:1573:3: note: here case PackCategoriesIntoKey(fcNaN, fcZero): ^~~~ /<>/lib/Support/APFloat.cpp:1577:10: warning: this statement may fall through [-Wimplicit-fallthrough=] sign = false; ~~~~~^~~~~~~ /<>/lib/Support/APFloat.cpp:1578:3: note: here case PackCategoriesIntoKey(fcInfinity, fcZero): ^~~~ [ 0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o cd /<>/build-llvm/lib/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/TableGen -I/<>/lib/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMTableGen.dir/Main.cpp.o -c /<>/lib/TableGen/Main.cpp [ 0%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/ArgList.cpp.o cd /<>/build-llvm/lib/Option && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Option -I/<>/lib/Option -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMOption.dir/ArgList.cpp.o -c /<>/lib/Option/ArgList.cpp [ 0%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/MemoryTypeTableBuilder.cpp.o cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/CodeView -I/<>/lib/DebugInfo/CodeView -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoCodeView.dir/MemoryTypeTableBuilder.cpp.o -c /<>/lib/DebugInfo/CodeView/MemoryTypeTableBuilder.cpp In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/lib/MC/MCDisassembler/Disassembler.h:21, from /<>/lib/MC/MCDisassembler/Disassembler.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/SmallString.h:17, from /<>/lib/MC/MCDisassembler/Disassembler.h:21, from /<>/lib/MC/MCDisassembler/Disassembler.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/MapVector.h:20, from /<>/lib/MC/ConstantPools.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/MapVector.h:20, from /<>/lib/MC/ConstantPools.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/MapVector.h:20, from /<>/lib/MC/ConstantPools.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/MapVector.h:20, from /<>/lib/MC/ConstantPools.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 0%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o -c /<>/lib/MC/MCParser/AsmParser.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/AsmMatcherEmitter.cpp:99: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/AsmMatcherEmitter.cpp:99: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/lib/TableGen/TGParser.h:18, from /<>/lib/TableGen/Main.cpp:19: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/lib/TableGen/TGLexer.h:17, from /<>/lib/TableGen/TGParser.h:17, from /<>/lib/TableGen/Main.cpp:19: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCRelocationInfo.cpp.o cd /<>/build-llvm/lib/MC/MCDisassembler && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCDisassembler -I/<>/lib/MC/MCDisassembler -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCDisassembler.dir/MCRelocationInfo.cpp.o -c /<>/lib/MC/MCDisassembler/MCRelocationInfo.cpp [ 0%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/ELFObjectWriter.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/ELFObjectWriter.cpp.o -c /<>/lib/MC/ELFObjectWriter.cpp [ 0%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/Option.cpp.o cd /<>/build-llvm/lib/Option && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Option -I/<>/lib/Option -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMOption.dir/Option.cpp.o -c /<>/lib/Option/Option.cpp [ 0%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/MethodListRecordBuilder.cpp.o cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/CodeView -I/<>/lib/DebugInfo/CodeView -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoCodeView.dir/MethodListRecordBuilder.cpp.o -c /<>/lib/DebugInfo/CodeView/MethodListRecordBuilder.cpp /<>/utils/TableGen/AsmMatcherEmitter.cpp:727:6: warning: 'void {anonymous}::MatchableInfo::dump() const' defined but not used [-Wunused-function] void MatchableInfo::dump() const { ^~~~~~~~~~~~~ [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/APInt.cpp.o -c /<>/lib/Support/APInt.cpp [ 0%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeRecordBuilder.cpp.o cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/CodeView -I/<>/lib/DebugInfo/CodeView -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoCodeView.dir/TypeRecordBuilder.cpp.o -c /<>/lib/DebugInfo/CodeView/TypeRecordBuilder.cpp [ 0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCExternalSymbolizer.cpp.o cd /<>/build-llvm/lib/MC/MCDisassembler && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCDisassembler -I/<>/lib/MC/MCDisassembler -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCDisassembler.dir/MCExternalSymbolizer.cpp.o -c /<>/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/lib/MC/MCParser/AsmParser.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/lib/MC/MCParser/AsmParser.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ [ 0%] Building CXX object lib/Option/CMakeFiles/LLVMOption.dir/OptTable.cpp.o cd /<>/build-llvm/lib/Option && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Option -I/<>/lib/Option -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMOption.dir/OptTable.cpp.o -c /<>/lib/Option/OptTable.cpp [ 0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Record.cpp.o cd /<>/build-llvm/lib/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/TableGen -I/<>/lib/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMTableGen.dir/Record.cpp.o -c /<>/lib/TableGen/Record.cpp In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/include/llvm/MC/MCELFObjectWriter.h:13, from /<>/lib/MC/ELFObjectWriter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/include/llvm/MC/MCELFObjectWriter.h:13, from /<>/lib/MC/ELFObjectWriter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/lib/MC/MCParser/AsmParser.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/lib/MC/MCParser/AsmParser.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 0%] Building CXX object lib/DebugInfo/CodeView/CMakeFiles/LLVMDebugInfoCodeView.dir/TypeTableBuilder.cpp.o cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/CodeView -I/<>/lib/DebugInfo/CodeView -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoCodeView.dir/TypeTableBuilder.cpp.o -c /<>/lib/DebugInfo/CodeView/TypeTableBuilder.cpp /<>/lib/MC/ELFObjectWriter.cpp:298:6: warning: 'static bool {anonymous}::ELFObjectWriter::isFixupKindPCRel(const llvm::MCAssembler&, unsigned int)' defined but not used [-Wunused-function] bool ELFObjectWriter::isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind) { ^~~~~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp:11: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from /<>/include/llvm/MC/MCSymbolizer.h:23, from /<>/include/llvm/MC/MCExternalSymbolizer.h:20, from /<>/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 0%] Linking CXX static library ../../libLLVMDebugInfoCodeView.a cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/cmake -P CMakeFiles/LLVMDebugInfoCodeView.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/DebugInfo/CodeView && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMDebugInfoCodeView.dir/link.txt --verbose=1 [ 0%] Building CXX object lib/MC/MCDisassembler/CMakeFiles/LLVMMCDisassembler.dir/MCDisassembler.cpp.o cd /<>/build-llvm/lib/MC/MCDisassembler && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCDisassembler -I/<>/lib/MC/MCDisassembler -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCDisassembler.dir/MCDisassembler.cpp.o -c /<>/lib/MC/MCDisassembler/MCDisassembler.cpp /usr/bin/ar qc ../../libLLVMDebugInfoCodeView.a CMakeFiles/LLVMDebugInfoCodeView.dir/FieldListRecordBuilder.cpp.o CMakeFiles/LLVMDebugInfoCodeView.dir/Line.cpp.o CMakeFiles/LLVMDebugInfoCodeView.dir/ListRecordBuilder.cpp.o CMakeFiles/LLVMDebugInfoCodeView.dir/MemoryTypeTableBuilder.cpp.o CMakeFiles/LLVMDebugInfoCodeView.dir/MethodListRecordBuilder.cpp.o CMakeFiles/LLVMDebugInfoCodeView.dir/TypeRecordBuilder.cpp.o CMakeFiles/LLVMDebugInfoCodeView.dir/TypeTableBuilder.cpp.o /usr/bin/ranlib ../../libLLVMDebugInfoCodeView.a make[4]: Leaving directory '/<>/build-llvm' [ 0%] Built target LLVMDebugInfoCodeView [ 0%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/COFFAsmParser.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/COFFAsmParser.cpp.o -c /<>/lib/MC/MCParser/COFFAsmParser.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/Record.h:18, from /<>/lib/TableGen/Record.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/Record.h:18, from /<>/lib/TableGen/Record.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 0%] Linking CXX static library ../libLLVMOption.a cd /<>/build-llvm/lib/Option && /usr/bin/cmake -P CMakeFiles/LLVMOption.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/Option && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMOption.dir/link.txt --verbose=1 In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/MC/MCELFObjectWriter.h:16, from /<>/lib/MC/ELFObjectWriter.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::ELFRelocationEntry&}; _Tp = llvm::ELFRelocationEntry; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/bin/ar qc ../libLLVMOption.a CMakeFiles/LLVMOption.dir/Arg.cpp.o CMakeFiles/LLVMOption.dir/ArgList.cpp.o CMakeFiles/LLVMOption.dir/Option.cpp.o CMakeFiles/LLVMOption.dir/OptTable.cpp.o /usr/bin/ranlib ../libLLVMOption.a make[4]: Leaving directory '/<>/build-llvm' [ 0%] Built target LLVMOption /usr/bin/make -f lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/build.make lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/DebugInfo/DWARF /<>/build-llvm /<>/build-llvm/lib/DebugInfo/DWARF /<>/build-llvm/lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/depend.internal". Dependee "/<>/build-llvm/lib/DebugInfo/DWARF/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/depend.internal". Scanning dependencies of target LLVMDebugInfoDWARF make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/build.make lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/build make[4]: Entering directory '/<>/build-llvm' In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/MC/MCELFObjectWriter.h:16, from /<>/lib/MC/ELFObjectWriter.cpp:14: /usr/include/c++/8/bits/stl_vector.h: In member function 'virtual void {anonymous}::ELFObjectWriter::recordRelocation(llvm::MCAssembler&, const llvm::MCAsmLayout&, const llvm::MCFragment*, const llvm::MCFixup&, llvm::MCValue, bool&, uint64_t&)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 0%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFAbbreviationDeclaration.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFAbbreviationDeclaration.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp [ 0%] Linking CXX static library ../../libLLVMMCDisassembler.a cd /<>/build-llvm/lib/MC/MCDisassembler && /usr/bin/cmake -P CMakeFiles/LLVMMCDisassembler.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/MC/MCDisassembler && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMMCDisassembler.dir/link.txt --verbose=1 /usr/bin/ar qc ../../libLLVMMCDisassembler.a CMakeFiles/LLVMMCDisassembler.dir/Disassembler.cpp.o CMakeFiles/LLVMMCDisassembler.dir/MCRelocationInfo.cpp.o CMakeFiles/LLVMMCDisassembler.dir/MCExternalSymbolizer.cpp.o CMakeFiles/LLVMMCDisassembler.dir/MCDisassembler.cpp.o /usr/bin/ranlib ../../libLLVMMCDisassembler.a make[4]: Leaving directory '/<>/build-llvm' [ 0%] Built target LLVMMCDisassembler [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APSInt.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/APSInt.cpp.o -c /<>/lib/Support/APSInt.cpp [ 0%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFAcceleratorTable.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFAcceleratorTable.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParser.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:14, from /<>/lib/MC/MCParser/COFFAsmParser.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:13, from /<>/lib/MC/MCParser/COFFAsmParser.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParser.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:14, from /<>/lib/MC/MCParser/COFFAsmParser.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:13, from /<>/lib/MC/MCParser/COFFAsmParser.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /usr/bin/make -f lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/build.make lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/DebugInfo/PDB /<>/build-llvm /<>/build-llvm/lib/DebugInfo/PDB /<>/build-llvm/lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/depend.internal". Dependee "/<>/build-llvm/lib/DebugInfo/PDB/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/depend.internal". Scanning dependencies of target LLVMDebugInfoPDB make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/build.make lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/build make[4]: Entering directory '/<>/build-llvm' [ 0%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/IPDBSourceFile.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/IPDBSourceFile.cpp.o -c /<>/lib/DebugInfo/PDB/IPDBSourceFile.cpp [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o -c /<>/lib/Support/ARMBuildAttrs.cpp In file included from /<>/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:13, from /<>/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp:43:63: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h:13, from /<>/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o -c /<>/lib/Support/ARMWinEH.cpp [ 0%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDB.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDB.cpp.o -c /<>/lib/DebugInfo/PDB/PDB.cpp [ 0%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFCompileUnit.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFCompileUnit.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp [ 0%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBContext.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBContext.cpp.o -c /<>/lib/DebugInfo/PDB/PDBContext.cpp [ 0%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmBackend.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCAsmBackend.cpp.o -c /<>/lib/MC/MCAsmBackend.cpp [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Allocator.cpp.o -c /<>/lib/Support/Allocator.cpp /usr/bin/make -f lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/build.make lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/DebugInfo/Symbolize /<>/build-llvm /<>/build-llvm/lib/DebugInfo/Symbolize /<>/build-llvm/lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/depend.internal". Dependee "/<>/build-llvm/lib/DebugInfo/Symbolize/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/depend.internal". Scanning dependencies of target LLVMSymbolize make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/build.make lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/build make[4]: Entering directory '/<>/build-llvm' [ 0%] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/DIPrinter.cpp.o cd /<>/build-llvm/lib/DebugInfo/Symbolize && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/Symbolize -I/<>/lib/DebugInfo/Symbolize -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSymbolize.dir/DIPrinter.cpp.o -c /<>/lib/DebugInfo/Symbolize/DIPrinter.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/TableGen/Record.h:18, from /<>/lib/TableGen/Record.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o -c /<>/lib/Support/BlockFrequency.cpp [ 0%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfo.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCAsmInfo.cpp.o -c /<>/lib/MC/MCAsmInfo.cpp [ 0%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFContext.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFContext.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFContext.cpp [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o -c /<>/lib/Support/BranchProbability.cpp [ 0%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBExtras.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBExtras.cpp.o -c /<>/lib/DebugInfo/PDB/PDBExtras.cpp /usr/include/c++/8/bits/vector.tcc: In member function 'std::vector llvm::Record::getValueAsListOfInts(llvm::StringRef) const': /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ [ 0%] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/SymbolizableObjectFile.cpp.o cd /<>/build-llvm/lib/DebugInfo/Symbolize && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/Symbolize -I/<>/lib/DebugInfo/Symbolize -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSymbolize.dir/SymbolizableObjectFile.cpp.o -c /<>/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAsmInfo.h:20, from /<>/lib/MC/MCAsmInfo.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAsmInfo.h:20, from /<>/lib/MC/MCAsmInfo.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ [ 0%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o -c /<>/lib/Support/circular_raw_ostream.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAsmInfo.h:20, from /<>/lib/MC/MCAsmInfo.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAsmInfo.h:20, from /<>/lib/MC/MCAsmInfo.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/DarwinAsmParser.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/DarwinAsmParser.cpp.o -c /<>/lib/MC/MCParser/DarwinAsmParser.cpp [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/COM.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/COM.cpp.o -c /<>/lib/Support/COM.cpp [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o -c /<>/lib/Support/CommandLine.cpp [ 1%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoCOFF.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCAsmInfoCOFF.cpp.o -c /<>/lib/MC/MCAsmInfoCOFF.cpp In file included from /<>/include/llvm/ADT/MapVector.h:20, from /<>/include/llvm/DebugInfo/DWARF/DWARFContext.h:13, from /<>/lib/DebugInfo/DWARF/DWARFContext.cpp:10: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap >; DerivedT = llvm::DenseMap >; KeyT = long long unsigned int; ValueT = std::pair; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = long long unsigned int; ValueT = std::pair; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = long long unsigned int; ValueT = std::pair; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /<>/include/llvm/DebugInfo/DWARF/DWARFSection.h:18:8: required from 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = std::pair; _Args = {const std::pair&}]' /usr/include/c++/8/bits/stl_uninitialized.h:83:18: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const std::pair*; _ForwardIterator = std::pair*; bool _TrivialValueTypes = false]' /usr/include/c++/8/bits/stl_uninitialized.h:134:15: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/8/bits/stl_uninitialized.h:311:2: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = std::pair*; _ForwardIterator = std::pair*; _Allocator = std::allocator >]' /usr/include/c++/8/bits/vector.tcc:447:6: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::pair}; _Tp = std::pair; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::pair*]' /usr/include/c++/8/bits/vector.tcc:109:4: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair}; _Tp = std::pair; _Alloc = std::allocator >]' /usr/include/c++/8/bits/stl_vector.h:1091:9: required from 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = std::pair]' /<>/include/llvm/ADT/MapVector.h:80:7: required from 'ValueT& llvm::MapVector::operator[](const KeyT&) [with KeyT = llvm::object::SectionRef; ValueT = llvm::DWARFSection; MapType = std::map; VectorType = std::vector, std::allocator > >]' /<>/lib/DebugInfo/DWARF/DWARFContext.cpp:676:28: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair >' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBInterfaceAnchors.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBInterfaceAnchors.cpp.o -c /<>/lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp /<>/lib/MC/MCParser/DarwinAsmParser.cpp: In member function 'bool {anonymous}::DarwinAsmParser::parseVersionMin(llvm::StringRef, llvm::SMLoc)': /<>/lib/MC/MCParser/DarwinAsmParser.cpp:932:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (Update > 255 || Update < 0) ^~ /<>/lib/MC/MCParser/DarwinAsmParser.cpp:934:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' Lex(); ^~~ [ 1%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o -c /<>/utils/TableGen/AsmWriterEmitter.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParser.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:14, from /<>/lib/MC/MCParser/DarwinAsmParser.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:13, from /<>/lib/MC/MCParser/DarwinAsmParser.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParser.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:14, from /<>/lib/MC/MCParser/DarwinAsmParser.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:13, from /<>/lib/MC/MCParser/DarwinAsmParser.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoDarwin.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCAsmInfoDarwin.cpp.o -c /<>/lib/MC/MCAsmInfoDarwin.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/lib/Support/CommandLine.cpp:19: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/lib/Support/CommandLine.cpp:907:60: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/lib/Support/CommandLine.cpp:19: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/lib/Support/CommandLine.cpp:19: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/lib/Support/CommandLine.cpp:1469:73: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/lib/Support/CommandLine.cpp:19: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbol.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbol.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbol.cpp [ 1%] Building CXX object lib/DebugInfo/Symbolize/CMakeFiles/LLVMSymbolize.dir/Symbolize.cpp.o cd /<>/build-llvm/lib/DebugInfo/Symbolize && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/Symbolize -I/<>/lib/DebugInfo/Symbolize -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSymbolize.dir/Symbolize.cpp.o -c /<>/lib/DebugInfo/Symbolize/Symbolize.cpp [ 1%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o cd /<>/build-llvm/lib/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/TableGen -I/<>/lib/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o -c /<>/lib/TableGen/SetTheory.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAsmInfo.h:20, from /<>/include/llvm/MC/MCAsmInfoDarwin.h:18, from /<>/lib/MC/MCAsmInfoDarwin.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAsmInfo.h:20, from /<>/include/llvm/MC/MCAsmInfoDarwin.h:18, from /<>/lib/MC/MCAsmInfoDarwin.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmInfoELF.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCAsmInfoELF.cpp.o -c /<>/lib/MC/MCAsmInfoELF.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/AsmWriterEmitter.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/utils/TableGen/AsmWriterInst.h:20, from /<>/utils/TableGen/AsmWriterEmitter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolAnnotation.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolAnnotation.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp [ 1%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/ELFAsmParser.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/ELFAsmParser.cpp.o -c /<>/lib/MC/MCParser/ELFAsmParser.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/SetTheory.h:50, from /<>/lib/TableGen/SetTheory.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/SetTheory.h:50, from /<>/lib/TableGen/SetTheory.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAsmInfo.h:20, from /<>/include/llvm/MC/MCAsmInfoELF.h:13, from /<>/lib/MC/MCAsmInfoELF.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAsmInfo.h:20, from /<>/include/llvm/MC/MCAsmInfoELF.h:13, from /<>/lib/MC/MCAsmInfoELF.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolBlock.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolBlock.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolBlock.cpp [ 1%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAsmStreamer.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCAsmStreamer.cpp.o -c /<>/lib/MC/MCAsmStreamer.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParser.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:14, from /<>/lib/MC/MCParser/ELFAsmParser.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:13, from /<>/lib/MC/MCParser/ELFAsmParser.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParser.h:13, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:14, from /<>/lib/MC/MCParser/ELFAsmParser.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/MC/MCParser/MCAsmParserExtension.h:13, from /<>/lib/MC/MCParser/ELFAsmParser.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompiland.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompiland.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp [ 1%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugAbbrev.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugAbbrev.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCAsmStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCAsmStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompilandDetails.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompilandDetails.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp In file included from /usr/include/c++/8/vector:69, from /<>/utils/TableGen/AsmWriterInst.h:21, from /<>/utils/TableGen/AsmWriterEmitter.cpp:15: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {long long unsigned int}; _Tp = long long unsigned int; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ [ 1%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/StringMatcher.cpp.o cd /<>/build-llvm/lib/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/TableGen -I/<>/lib/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMTableGen.dir/StringMatcher.cpp.o -c /<>/lib/TableGen/StringMatcher.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCAsmStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCAsmStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Compression.cpp.o -c /<>/lib/Support/Compression.cpp [ 1%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmLexer.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/MCAsmLexer.cpp.o -c /<>/lib/MC/MCParser/MCAsmLexer.cpp [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompilandEnv.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompilandEnv.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp [ 1%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o cd /<>/build-llvm/lib/Support && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -o CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o -c /<>/lib/Support/ConvertUTF.c /<>/lib/Support/ConvertUTF.c: In function 'ConvertUTF16toUTF8': /<>/lib/Support/ConvertUTF.c:277:72: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:278:13: note: here case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:278:72: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:279:13: note: here case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:279:72: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:280:13: note: here case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); ^~~~ /<>/lib/Support/ConvertUTF.c: In function 'ConvertUTF32toUTF8': /<>/lib/Support/ConvertUTF.c:330:72: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:331:13: note: here case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:331:72: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:332:13: note: here case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:332:72: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:333:13: note: here case 1: *--target = (UTF8) (ch | firstByteMark[bytesToWrite]); ^~~~ /<>/lib/Support/ConvertUTF.c: In function 'isLegalUTF8': /<>/lib/Support/ConvertUTF.c:361:42: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/lib/Support/ConvertUTF.c:362:5: note: here case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; ^~~~ /<>/lib/Support/ConvertUTF.c:362:42: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/lib/Support/ConvertUTF.c:363:5: note: here case 2: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return false; ^~~~ /<>/lib/Support/ConvertUTF.c:365:9: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (*source) { ^~~~~~ /<>/lib/Support/ConvertUTF.c:374:5: note: here case 1: if (*source >= 0x80 && *source < 0xC2) return false; ^~~~ /<>/lib/Support/ConvertUTF.c: In function 'ConvertUTF8toUTF16': /<>/lib/Support/ConvertUTF.c:536:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */ ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:537:13: note: here case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */ ^~~~ /<>/lib/Support/ConvertUTF.c:537:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */ ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:538:13: note: here case 3: ch += *source++; ch <<= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:538:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: ch += *source++; ch <<= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:539:13: note: here case 2: ch += *source++; ch <<= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:539:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: ch += *source++; ch <<= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:540:13: note: here case 1: ch += *source++; ch <<= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:540:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 1: ch += *source++; ch <<= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:541:13: note: here case 0: ch += *source++; ^~~~ /<>/lib/Support/ConvertUTF.c: In function 'ConvertUTF8toUTF32Impl': /<>/lib/Support/ConvertUTF.c:640:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 5: ch += *source++; ch <<= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:641:13: note: here case 4: ch += *source++; ch <<= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:641:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: ch += *source++; ch <<= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:642:13: note: here case 3: ch += *source++; ch <<= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:642:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: ch += *source++; ch <<= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:643:13: note: here case 2: ch += *source++; ch <<= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:643:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: ch += *source++; ch <<= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:644:13: note: here case 1: ch += *source++; ch <<= 6; ^~~~ /<>/lib/Support/ConvertUTF.c:644:41: warning: this statement may fall through [-Wimplicit-fallthrough=] case 1: ch += *source++; ch <<= 6; ~~~^~~~~ /<>/lib/Support/ConvertUTF.c:645:13: note: here case 0: ch += *source++; ^~~~ [ 1%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugArangeSet.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugArangeSet.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o -c /<>/lib/Support/ConvertUTFWrapper.cpp /usr/include/c++/8/bits/vector.tcc: In member function 'void {anonymous}::AsmWriterEmitter::EmitPrintInstruction(llvm::raw_ostream&)': /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ [ 1%] Linking CXX static library ../../libLLVMSymbolize.a cd /<>/build-llvm/lib/DebugInfo/Symbolize && /usr/bin/cmake -P CMakeFiles/LLVMSymbolize.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/DebugInfo/Symbolize && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMSymbolize.dir/link.txt --verbose=1 /usr/bin/ar qc ../../libLLVMSymbolize.a CMakeFiles/LLVMSymbolize.dir/DIPrinter.cpp.o CMakeFiles/LLVMSymbolize.dir/SymbolizableObjectFile.cpp.o CMakeFiles/LLVMSymbolize.dir/Symbolize.cpp.o /usr/bin/ranlib ../../libLLVMSymbolize.a make[4]: Leaving directory '/<>/build-llvm' [ 1%] Built target LLVMSymbolize /usr/bin/make -f lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/build.make lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/LineEditor /<>/build-llvm /<>/build-llvm/lib/LineEditor /<>/build-llvm/lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/DependInfo.cmake --color= [ 1%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmParser.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/MCAsmParser.cpp.o -c /<>/lib/MC/MCParser/MCAsmParser.cpp Dependee "/<>/build-llvm/lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/depend.internal". Dependee "/<>/build-llvm/lib/LineEditor/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/depend.internal". Scanning dependencies of target LLVMLineEditor make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/build.make lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/build make[4]: Entering directory '/<>/build-llvm' [ 1%] Building CXX object lib/LineEditor/CMakeFiles/LLVMLineEditor.dir/LineEditor.cpp.o cd /<>/build-llvm/lib/LineEditor && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/LineEditor -I/<>/lib/LineEditor -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMLineEditor.dir/LineEditor.cpp.o -c /<>/lib/LineEditor/LineEditor.cpp [ 1%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TableGenBackend.cpp.o cd /<>/build-llvm/lib/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/TableGen -I/<>/lib/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMTableGen.dir/TableGenBackend.cpp.o -c /<>/lib/TableGen/TableGenBackend.cpp [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCustom.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCustom.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolCustom.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h:15, from /<>/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp:10: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::DWARFDebugArangeSet::Descriptor&}; _Tp = llvm::DWARFDebugArangeSet::Descriptor; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h:15, from /<>/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp:10: /usr/include/c++/8/bits/stl_vector.h: In member function 'bool llvm::DWARFDebugArangeSet::extract(llvm::DataExtractor, uint32_t*)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 1%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugAranges.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugAranges.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o -c /<>/lib/Support/CrashRecoveryContext.cpp [ 1%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o cd /<>/build-llvm/lib/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/TableGen -I/<>/lib/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o -c /<>/lib/TableGen/TGLexer.cpp [ 1%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCAsmParserExtension.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/MCAsmParserExtension.cpp.o -c /<>/lib/MC/MCParser/MCAsmParserExtension.cpp [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolData.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolData.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolData.cpp [ 1%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCAssembler.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCAssembler.cpp.o -c /<>/lib/MC/MCAssembler.cpp [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o -c /<>/lib/Support/DataExtractor.cpp [ 1%] Linking CXX static library ../libLLVMLineEditor.a cd /<>/build-llvm/lib/LineEditor && /usr/bin/cmake -P CMakeFiles/LLVMLineEditor.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/LineEditor && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMLineEditor.dir/link.txt --verbose=1 /usr/bin/ar qc ../libLLVMLineEditor.a CMakeFiles/LLVMLineEditor.dir/LineEditor.cpp.o /usr/bin/ranlib ../libLLVMLineEditor.a make[4]: Leaving directory '/<>/build-llvm' [ 1%] Built target LLVMLineEditor [ 1%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o -c /<>/utils/TableGen/AsmWriterInst.cpp [ 1%] Building CXX object lib/MC/MCParser/CMakeFiles/LLVMMCParser.dir/MCTargetAsmParser.cpp.o cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC/MCParser -I/<>/lib/MC/MCParser -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMCParser.dir/MCTargetAsmParser.cpp.o -c /<>/lib/MC/MCParser/MCTargetAsmParser.cpp [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolExe.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolExe.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolExe.cpp [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataStream.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/DataStream.cpp.o -c /<>/lib/Support/DataStream.cpp [ 1%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGParser.cpp.o cd /<>/build-llvm/lib/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/TableGen -I/<>/lib/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMTableGen.dir/TGParser.cpp.o -c /<>/lib/TableGen/TGParser.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCParser/MCTargetAsmParser.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCParser/MCTargetAsmParser.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFunc.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFunc.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolFunc.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp:10: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {long long unsigned int&, unsigned int&, bool}; _Tp = llvm::DWARFDebugAranges::RangeEndpoint; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {long long unsigned int&, unsigned int&, bool}; _Tp = llvm::DWARFDebugAranges::RangeEndpoint; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {long long unsigned int&, const long long unsigned int&, const unsigned int&}; _Tp = llvm::DWARFDebugAranges::Range; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/include/llvm/MC/MCAssembler.h:18, from /<>/lib/MC/MCAssembler.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iterator:64, from /<>/include/llvm/ADT/SmallPtrSet.h:24, from /<>/include/llvm/MC/MCAssembler.h:13, from /<>/lib/MC/MCAssembler.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp:10: /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1821:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __unguarded_linear_insert(_RandomAccessIterator __last, ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __insertion_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from /usr/include/c++/8/bits/stl_algo.h:61, from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp:10: /usr/include/c++/8/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = llvm::DWARFDebugAranges::RangeEndpoint; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, ^~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp:10: /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __introsort_loop(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1954:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__cut, __last, __depth_limit, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 1%] Linking CXX static library ../../libLLVMMCParser.a cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/cmake -P CMakeFiles/LLVMMCParser.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/MC/MCParser && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMMCParser.dir/link.txt --verbose=1 /usr/bin/ar qc ../../libLLVMMCParser.a CMakeFiles/LLVMMCParser.dir/AsmLexer.cpp.o CMakeFiles/LLVMMCParser.dir/AsmParser.cpp.o CMakeFiles/LLVMMCParser.dir/COFFAsmParser.cpp.o CMakeFiles/LLVMMCParser.dir/DarwinAsmParser.cpp.o CMakeFiles/LLVMMCParser.dir/ELFAsmParser.cpp.o CMakeFiles/LLVMMCParser.dir/MCAsmLexer.cpp.o CMakeFiles/LLVMMCParser.dir/MCAsmParser.cpp.o CMakeFiles/LLVMMCParser.dir/MCAsmParserExtension.cpp.o CMakeFiles/LLVMMCParser.dir/MCTargetAsmParser.cpp.o /usr/bin/ranlib ../../libLLVMMCParser.a make[4]: Leaving directory '/<>/build-llvm' [ 1%] Built target LLVMMCParser /usr/include/c++/8/bits/stl_algo.h: In member function 'void llvm::DWARFDebugAranges::construct()': /usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__first, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ std::__lg(__last - __first) * 2, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __first + int(_S_threshold), __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp:10: /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ [ 1%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o -c /<>/utils/TableGen/Attributes.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/AsmWriterInst.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/utils/TableGen/AsmWriterInst.h:20, from /<>/utils/TableGen/AsmWriterInst.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Debug.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Debug.cpp.o -c /<>/lib/Support/Debug.cpp [ 1%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugFrame.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugFrame.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp /usr/bin/make -f utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/build.make utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/PerfectShuffle /<>/build-llvm /<>/build-llvm/utils/PerfectShuffle /<>/build-llvm/utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/DependInfo.cmake --color= In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/lib/TableGen/TGParser.h:18, from /<>/lib/TableGen/TGParser.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/lib/TableGen/TGLexer.h:17, from /<>/lib/TableGen/TGParser.h:17, from /<>/lib/TableGen/TGParser.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ Dependee "/<>/build-llvm/utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/depend.internal". Dependee "/<>/build-llvm/utils/PerfectShuffle/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/depend.internal". Scanning dependencies of target llvm-PerfectShuffle make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/build.make utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/build make[4]: Entering directory '/<>/build-llvm' [ 1%] Building CXX object utils/PerfectShuffle/CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o cd /<>/build-llvm/utils/PerfectShuffle && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/PerfectShuffle -I/<>/utils/PerfectShuffle -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o -c /<>/utils/PerfectShuffle/PerfectShuffle.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/SourceMgr.h:19, from /<>/utils/TableGen/Attributes.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/SourceMgr.h:19, from /<>/utils/TableGen/Attributes.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 1%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFuncDebugEnd.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFuncDebugEnd.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp [ 2%] Linking CXX executable ../../bin/llvm-PerfectShuffle cd /<>/build-llvm/utils/PerfectShuffle && /usr/bin/cmake -E cmake_link_script CMakeFiles/llvm-PerfectShuffle.dir/link.txt --verbose=1 /usr/bin/g++-8 -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections CMakeFiles/llvm-PerfectShuffle.dir/PerfectShuffle.cpp.o -o ../../bin/llvm-PerfectShuffle -Wl,-rpath,"\$ORIGIN/../lib" [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o -c /<>/lib/Support/DeltaAlgorithm.cpp [ 2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCCodeEmitter.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCCodeEmitter.cpp.o -c /<>/lib/MC/MCCodeEmitter.cpp make[4]: Leaving directory '/<>/build-llvm' [ 2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o -c /<>/utils/TableGen/CallingConvEmitter.cpp [ 2%] Built target llvm-PerfectShuffle /usr/bin/make -f utils/count/CMakeFiles/count.dir/build.make utils/count/CMakeFiles/count.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/count /<>/build-llvm /<>/build-llvm/utils/count /<>/build-llvm/utils/count/CMakeFiles/count.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/utils/count/CMakeFiles/count.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/count/CMakeFiles/count.dir/depend.internal". Dependee "/<>/build-llvm/utils/count/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/count/CMakeFiles/count.dir/depend.internal". Scanning dependencies of target count make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/count/CMakeFiles/count.dir/build.make utils/count/CMakeFiles/count.dir/build make[4]: Entering directory '/<>/build-llvm' [ 2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCCodeGenInfo.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCCodeGenInfo.cpp.o -c /<>/lib/MC/MCCodeGenInfo.cpp [ 2%] Building C object utils/count/CMakeFiles/count.dir/count.c.o cd /<>/build-llvm/utils/count && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/count -I/<>/utils/count -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -o CMakeFiles/count.dir/count.c.o -c /<>/utils/count/count.c [ 2%] Linking C executable ../../bin/count cd /<>/build-llvm/utils/count && /usr/bin/cmake -E cmake_link_script CMakeFiles/count.dir/link.txt --verbose=1 [ 2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o -c /<>/utils/TableGen/CodeEmitterGen.cpp /usr/bin/gcc-8 -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-allow-shlib-undefined -rdynamic -Wl,-O3 -Wl,--gc-sections CMakeFiles/count.dir/count.c.o -o ../../bin/count -Wl,-rpath,"\$ORIGIN/../lib" make[4]: Leaving directory '/<>/build-llvm' [ 2%] Built target count /usr/bin/make -f utils/unittest/CMakeFiles/gtest.dir/build.make utils/unittest/CMakeFiles/gtest.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/unittest /<>/build-llvm /<>/build-llvm/utils/unittest /<>/build-llvm/utils/unittest/CMakeFiles/gtest.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/utils/unittest/CMakeFiles/gtest.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/unittest/CMakeFiles/gtest.dir/depend.internal". Dependee "/<>/build-llvm/utils/unittest/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/unittest/CMakeFiles/gtest.dir/depend.internal". Scanning dependencies of target gtest make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/unittest/CMakeFiles/gtest.dir/build.make utils/unittest/CMakeFiles/gtest.dir/build make[4]: Entering directory '/<>/build-llvm' [ 2%] Building CXX object utils/unittest/CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o cd /<>/build-llvm/utils/unittest && /usr/bin/g++-8 -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/unittest -I/<>/utils/unittest -I/<>/build-llvm/include -I/<>/include -I/<>/utils/unittest/googletest/include -I/<>/utils/unittest/googletest -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wno-variadic-macros -fno-exceptions -o CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o -c /<>/utils/unittest/googletest/src/gtest-all.cc [ 2%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCContext.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCContext.cpp.o -c /<>/lib/MC/MCContext.cpp In file included from /<>/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:40, from /<>/utils/unittest/googletest/include/gtest/gtest.h:57, from /<>/utils/unittest/googletest/src/gtest-all.cc:39: /<>/utils/unittest/googletest/include/gtest/internal/gtest-port.h:769:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/include/gtest/internal/gtest-port.h:771:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ [ 2%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFuncDebugStart.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFuncDebugStart.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp In file included from /<>/utils/unittest/googletest/include/gtest/gtest.h:57, from /<>/utils/unittest/googletest/src/gtest-all.cc:39: /<>/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:257:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:264:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/include/gtest/gtest.h:60, from /<>/utils/unittest/googletest/src/gtest-all.cc:39: /<>/utils/unittest/googletest/include/gtest/gtest-message.h:174:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/include/gtest/gtest-message.h:180:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:47, from /<>/utils/unittest/googletest/include/gtest/gtest-param-test.h:192, from /<>/utils/unittest/googletest/include/gtest/gtest.h:61, from /<>/utils/unittest/googletest/src/gtest-all.cc:39: /<>/utils/unittest/googletest/include/gtest/gtest-printers.h:469:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/include/gtest/gtest-printers.h:476:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/src/gtest-all.cc:39: /<>/utils/unittest/googletest/include/gtest/gtest.h:1539:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/src/gtest-all.cc:42: /<>/utils/unittest/googletest/src/gtest.cc:903:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING || GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/src/gtest.cc:903:30: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING || GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/src/gtest.cc:930:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/src/gtest.cc:939:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/src/gtest.cc:1316:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/src/gtest-all.cc:46: /<>/utils/unittest/googletest/src/gtest-printers.cc:342:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/src/gtest-printers.cc:348:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:16, from /<>/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:10: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const long long unsigned int&}; _Tp = long long unsigned int; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:16, from /<>/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:10: /usr/include/c++/8/bits/stl_vector.h: In member function 'virtual void llvm::FrameEntry::parseInstructions(llvm::DataExtractor, uint32_t*, uint32_t)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 2%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugInfoEntry.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugInfoEntry.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o -c /<>/lib/Support/DAGDeltaAlgorithm.cpp [ 2%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolLabel.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolLabel.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolLabel.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CallingConvEmitter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CallingConvEmitter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeEmitterGen.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeEmitterGen.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCContext.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCContext.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCContext.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCContext.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 2%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolPublicSymbol.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolPublicSymbol.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp [ 2%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolThunk.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolThunk.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolThunk.cpp [ 2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o -c /<>/utils/TableGen/CodeGenDAGPatterns.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h:16, from /<>/include/llvm/DebugInfo/DWARF/DWARFUnit.h:14, from /<>/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp:11: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_range_insert(std::vector<_Tp, _Alloc>::iterator, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Tp = std::pair; _Alloc = std::allocator >]': /usr/include/c++/8/bits/vector.tcc:672:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc:672:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h:16, from /<>/include/llvm/DebugInfo/DWARF/DWARFUnit.h:14, from /<>/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp:11: /usr/include/c++/8/bits/stl_vector.h: In member function 'void llvm::DWARFDebugInfoEntryMinimal::collectChildrenAddressRanges(const llvm::DWARFUnit*, llvm::DWARFAddressRangesVector&) const': /usr/include/c++/8/bits/stl_vector.h:1549:4: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 _M_range_insert(__pos, __first, __last, ^~~~~~~~~~~~~~~ [ 2%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Dwarf.cpp.o In file included from /<>/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:40, from /<>/utils/unittest/googletest/include/gtest/gtest.h:57, from /<>/utils/unittest/googletest/src/gtest-all.cc:39: In function 'const char* testing::internal::posix::StrNCpy(char*, const char*, size_t)', inlined from 'char* testing::internal::CloneString(const char*, size_t)' at /<>/utils/unittest/googletest/src/gtest.cc:840:19, inlined from 'static const char* testing::internal::String::CloneCString(const char*)' at /<>/utils/unittest/googletest/src/gtest.cc:851:39: /<>/utils/unittest/googletest/include/gtest/internal/gtest-port.h:1620:17: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] return strncpy(dest, src, n); ~~~~~~~^~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/src/gtest-all.cc:42: /<>/utils/unittest/googletest/src/gtest.cc: In static member function 'static const char* testing::internal::String::CloneCString(const char*)': /<>/utils/unittest/googletest/src/gtest.cc:851:39: note: length computed here NULL : CloneString(c_str, strlen(c_str)); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Dwarf.cpp.o -c /<>/lib/Support/Dwarf.cpp [ 2%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugLine.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugLine.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp [ 2%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeArray.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeArray.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp [ 2%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o -c /<>/utils/TableGen/CodeGenInstruction.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenDAGPatterns.h:19, from /<>/utils/TableGen/CodeGenDAGPatterns.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/CodeGen/MachineValueType.h:18, from /<>/utils/TableGen/CodeGenIntrinsics.h:17, from /<>/utils/TableGen/CodeGenDAGPatterns.h:18, from /<>/utils/TableGen/CodeGenDAGPatterns.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 2%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBaseClass.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBaseClass.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp [ 2%] Linking CXX static library ../libLLVMTableGen.a cd /<>/build-llvm/lib/TableGen && /usr/bin/cmake -P CMakeFiles/LLVMTableGen.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/TableGen && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMTableGen.dir/link.txt --verbose=1 /usr/bin/ar qc ../libLLVMTableGen.a CMakeFiles/LLVMTableGen.dir/Error.cpp.o CMakeFiles/LLVMTableGen.dir/Main.cpp.o CMakeFiles/LLVMTableGen.dir/Record.cpp.o CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o CMakeFiles/LLVMTableGen.dir/StringMatcher.cpp.o CMakeFiles/LLVMTableGen.dir/TableGenBackend.cpp.o CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o CMakeFiles/LLVMTableGen.dir/TGParser.cpp.o /usr/bin/ranlib ../libLLVMTableGen.a make[4]: Leaving directory '/<>/build-llvm' [ 2%] Built target LLVMTableGen /usr/bin/make -f utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/build.make utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/unittest/UnitTestMain /<>/build-llvm /<>/build-llvm/utils/unittest/UnitTestMain /<>/build-llvm/utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/depend.internal". Dependee "/<>/build-llvm/utils/unittest/UnitTestMain/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/depend.internal". Scanning dependencies of target gtest_main make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/build.make utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/build make[4]: Entering directory '/<>/build-llvm' [ 2%] Building CXX object utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/TestMain.cpp.o cd /<>/build-llvm/utils/unittest/UnitTestMain && /usr/bin/g++-8 -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/unittest/UnitTestMain -I/<>/utils/unittest/UnitTestMain -I/<>/build-llvm/include -I/<>/include -I/<>/utils/unittest/googletest/include -I/<>/utils/unittest/googletest -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wno-variadic-macros -fno-exceptions -o CMakeFiles/gtest_main.dir/TestMain.cpp.o -c /<>/utils/unittest/UnitTestMain/TestMain.cpp In file included from /<>/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:40, from /<>/utils/unittest/googletest/include/gtest/gtest.h:57, from /<>/utils/unittest/UnitTestMain/TestMain.cpp:12: /<>/utils/unittest/googletest/include/gtest/internal/gtest-port.h:769:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/include/gtest/internal/gtest-port.h:771:7: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #elif GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/include/gtest/gtest.h:57, from /<>/utils/unittest/UnitTestMain/TestMain.cpp:12: /<>/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:257:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/include/gtest/internal/gtest-internal.h:264:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/include/gtest/gtest.h:60, from /<>/utils/unittest/UnitTestMain/TestMain.cpp:12: /<>/utils/unittest/googletest/include/gtest/gtest-message.h:174:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/include/gtest/gtest-message.h:180:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h:47, from /<>/utils/unittest/googletest/include/gtest/gtest-param-test.h:192, from /<>/utils/unittest/googletest/include/gtest/gtest.h:61, from /<>/utils/unittest/UnitTestMain/TestMain.cpp:12: /<>/utils/unittest/googletest/include/gtest/gtest-printers.h:469:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_GLOBAL_WSTRING ^~~~~~~~~~~~~~~~~~~~~~~~ /<>/utils/unittest/googletest/include/gtest/gtest-printers.h:476:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/utils/unittest/UnitTestMain/TestMain.cpp:12: /<>/utils/unittest/googletest/include/gtest/gtest.h:1539:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if GTEST_HAS_STD_WSTRING ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::DWARFDebugLine::Row&}; _Tp = llvm::DWARFDebugLine::Row; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::DWARFDebugLine::Sequence&}; _Tp = llvm::DWARFDebugLine::Sequence; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/stl_vector.h: In member function 'void llvm::DWARFDebugLine::ParsingState::appendRowToMatrix(uint32_t)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 2%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBuiltin.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBuiltin.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::DWARFDebugLine::FileNameEntry&}; _Tp = llvm::DWARFDebugLine::FileNameEntry; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenInstruction.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenInstruction.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o -c /<>/lib/Support/ErrorHandling.cpp In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/stl_vector.h: In member function 'bool llvm::DWARFDebugLine::Prologue::parse(llvm::DataExtractor, uint32_t*)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:61, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/stl_algobase.h: In function '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator >; _Tp = llvm::DWARFDebugLine::Sequence; _Compare = __gnu_cxx::__ops::_Iter_comp_val]': /usr/include/c++/8/bits/stl_algobase.h:946:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __lower_bound(_ForwardIterator __first, _ForwardIterator __last, ^~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algobase.h:946:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/stl_algo.h: In member function 'uint32_t llvm::DWARFDebugLine::LineTable::lookupAddress(uint64_t) const': /usr/include/c++/8/bits/stl_algo.h:2033:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 return std::__lower_bound(__first, __last, __val, ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ __gnu_cxx::__ops::__iter_comp_val(__comp)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In member function 'bool llvm::DWARFDebugLine::LineTable::lookupAddressRange(uint64_t, uint64_t, std::vector&) const': /usr/include/c++/8/bits/stl_algo.h:2033:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 return std::__lower_bound(__first, __last, __val, ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ __gnu_cxx::__ops::__iter_comp_val(__comp)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_comp_iter]': /usr/include/c++/8/bits/stl_algo.h:1821:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __unguarded_linear_insert(_RandomAccessIterator __last, ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __insertion_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from /usr/include/c++/8/bits/stl_algo.h:61, from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = llvm::DWARFDebugLine::Sequence; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': /usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, ^~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': /usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __heap_select(_RandomAccessIterator __first, ^~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter]': /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __introsort_loop(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1954:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__cut, __last, __depth_limit, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1933:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__heap_select(__first, __middle, __last, __comp); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/stl_vector.h: In member function 'bool llvm::DWARFDebugLine::LineTable::parse(llvm::DataExtractor, const RelocAddrMap*, uint32_t*)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/DebugInfo/DIContext.h:18, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h:13, from /<>/lib/DebugInfo/DWARF/DWARFDebugLine.cpp:10: /usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__first, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ std::__lg(__last - __first) * 2, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __first + int(_S_threshold), __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ [ 3%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCDwarf.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCDwarf.cpp.o -c /<>/lib/MC/MCDwarf.cpp [ 3%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugLoc.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugLoc.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp [ 3%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeCustom.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeCustom.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o -c /<>/lib/Support/FileUtilities.cpp [ 3%] Linking CXX static library ../../../lib/libgtest_main.a cd /<>/build-llvm/utils/unittest/UnitTestMain && /usr/bin/cmake -P CMakeFiles/gtest_main.dir/cmake_clean_target.cmake cd /<>/build-llvm/utils/unittest/UnitTestMain && /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest_main.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../lib/libgtest_main.a CMakeFiles/gtest_main.dir/TestMain.cpp.o /usr/bin/ranlib ../../../lib/libgtest_main.a make[4]: Leaving directory '/<>/build-llvm' [ 3%] Built target gtest_main /usr/bin/make -f projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/build.make projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/profile /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/profile /<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/depend.internal". Scanning dependencies of target clang_rt.profile-arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/build.make projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/GCDAProfiling.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/GCDAProfiling.c.o -c /<>/projects/compiler-rt/lib/profile/GCDAProfiling.c In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenInstruction.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::CodeGenInstAlias::ResultOperand&}; _Tp = llvm::CodeGenInstAlias::ResultOperand; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfiling.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfiling.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfiling.c [ 3%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeDimension.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeDimension.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingValue.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingValue.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingValue.c In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/lib/MC/MCDwarf.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/lib/MC/MCDwarf.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, llvm::Record*&}; _Tp = llvm::CodeGenInstAlias::ResultOperand; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingBuffer.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingBuffer.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingBuffer.c [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingFile.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingFile.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingFile.c In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/lib/MC/MCDwarf.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCDwarf.h:18, from /<>/lib/MC/MCDwarf.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 3%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugMacro.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugMacro.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingWriter.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingWriter.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingWriter.c [ 3%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o -c /<>/lib/Support/FileOutputBuffer.cpp [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformDarwin.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformDarwin.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformLinux.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformLinux.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingPlatformLinux.c [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformOther.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformOther.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingPlatformOther.c [ 3%] Building CXX object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingRuntime.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingRuntime.cc.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingRuntime.cc [ 3%] Building C object projects/compiler-rt/lib/profile/CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingUtil.c.o cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/profile -I/<>/projects/compiler-rt/lib/profile -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -Wall -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -Wno-pedantic -DCOMPILER_RT_HAS_ATOMICS=1 -o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingUtil.c.o -c /<>/projects/compiler-rt/lib/profile/InstrProfilingUtil.c [ 3%] Linking CXX static library ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.profile-arm.a cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/cmake -P CMakeFiles/clang_rt.profile-arm.dir/cmake_clean_target.cmake cd /<>/build-llvm/projects/compiler-rt/lib/profile && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang_rt.profile-arm.dir/link.txt --verbose=1 [ 3%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeEnum.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeEnum.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp /usr/bin/ar qc ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.profile-arm.a CMakeFiles/clang_rt.profile-arm.dir/GCDAProfiling.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfiling.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingValue.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingBuffer.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingFile.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingWriter.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformDarwin.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformLinux.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingPlatformOther.c.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingRuntime.cc.o CMakeFiles/clang_rt.profile-arm.dir/InstrProfilingUtil.c.o /usr/bin/ranlib ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.profile-arm.a make[4]: Leaving directory '/<>/build-llvm' [ 3%] Built target clang_rt.profile-arm /usr/bin/make -f projects/compiler-rt/include/CMakeFiles/compiler-rt-headers.dir/build.make projects/compiler-rt/include/CMakeFiles/compiler-rt-headers.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/include /<>/build-llvm /<>/build-llvm/projects/compiler-rt/include /<>/build-llvm/projects/compiler-rt/include/CMakeFiles/compiler-rt-headers.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/include/CMakeFiles/compiler-rt-headers.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/include/CMakeFiles/compiler-rt-headers.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/include/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/include/CMakeFiles/compiler-rt-headers.dir/depend.internal". Scanning dependencies of target compiler-rt-headers make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/include/CMakeFiles/compiler-rt-headers.dir/build.make projects/compiler-rt/include/CMakeFiles/compiler-rt-headers.dir/build make[4]: Entering directory '/<>/build-llvm' [ 3%] Copying compiler-rt's sanitizer/allocator_interface.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/allocator_interface.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/allocator_interface.h [ 3%] Copying compiler-rt's sanitizer/asan_interface.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/asan_interface.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/asan_interface.h [ 3%] Copying compiler-rt's sanitizer/common_interface_defs.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/common_interface_defs.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/common_interface_defs.h [ 4%] Copying compiler-rt's sanitizer/coverage_interface.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/coverage_interface.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/coverage_interface.h [ 4%] Copying compiler-rt's sanitizer/dfsan_interface.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/dfsan_interface.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/dfsan_interface.h [ 4%] Copying compiler-rt's sanitizer/linux_syscall_hooks.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/linux_syscall_hooks.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/linux_syscall_hooks.h [ 4%] Copying compiler-rt's sanitizer/lsan_interface.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/lsan_interface.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/lsan_interface.h [ 4%] Copying compiler-rt's sanitizer/msan_interface.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/msan_interface.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/msan_interface.h [ 4%] Copying compiler-rt's sanitizer/tsan_interface_atomic.h... cd /<>/build-llvm/projects/compiler-rt/include && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/include/sanitizer/tsan_interface_atomic.h /<>/build-llvm/./lib/clang/3.8.1/include/sanitizer/tsan_interface_atomic.h [ 4%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugRangeList.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugRangeList.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp make[4]: Leaving directory '/<>/build-llvm' [ 4%] Built target compiler-rt-headers /usr/bin/make -f projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/build.make projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/lsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/lsan /<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/depend.internal". Scanning dependencies of target lsan make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/build.make projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/build make[4]: Entering directory '/<>/build-llvm' make[4]: Nothing to be done for 'projects/compiler-rt/lib/lsan/CMakeFiles/lsan.dir/build'. make[4]: Leaving directory '/<>/build-llvm' In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenInstruction.cpp:14: /usr/include/c++/8/bits/stl_vector.h: In constructor 'llvm::CodeGenInstAlias::CodeGenInstAlias(llvm::Record*, unsigned int, llvm::CodeGenTarget&)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenInstruction.cpp:14: /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenInstruction.cpp:14: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 4%] Built target lsan /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/ubsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/ubsan /<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/depend.internal". Scanning dependencies of target RTUbsan_cxx.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 4%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_handlers_cxx.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -o CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_handlers_cxx.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_handlers_cxx.cc [ 4%] Linking CXX static library ../../lib/libgtest.a cd /<>/build-llvm/utils/unittest && /usr/bin/cmake -P CMakeFiles/gtest.dir/cmake_clean_target.cmake cd /<>/build-llvm/utils/unittest && /usr/bin/cmake -E cmake_link_script CMakeFiles/gtest.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libgtest.a CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o /usr/bin/ranlib ../../lib/libgtest.a make[4]: Leaving directory '/<>/build-llvm' [ 4%] Built target gtest /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/ubsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/ubsan /<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/depend.internal". Scanning dependencies of target RTUbsan_standalone.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 4%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_standalone.arm.dir/ubsan_init_standalone.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTUbsan_standalone.arm.dir/ubsan_init_standalone.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_init_standalone.cc make[4]: Leaving directory '/<>/build-llvm' [ 4%] Built target RTUbsan_standalone.arm /usr/bin/make -f projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/build.make projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/sanitizer_common /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/depend.internal". Scanning dependencies of target RTSanitizerCommon.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/build.make projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 4%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_allocator.cc.o [ 4%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_allocator.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -o CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_type_hash.cc [ 4%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_itanium.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -o CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_itanium.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc [ 4%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o -c /<>/lib/Support/FoldingSet.cpp [ 4%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_win.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -o CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_win.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_type_hash_win.cc make[4]: Leaving directory '/<>/build-llvm' [ 4%] Built target RTUbsan_cxx.arm /usr/bin/make -f projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/build.make projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/sanitizer_common /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/depend.internal". Scanning dependencies of target RTSanitizerCommonLibc.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/build.make projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 4%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_common_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_common_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_common_libcdep.cc [ 4%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFriend.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFriend.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp [ 4%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep.cc [ 5%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o -c /<>/utils/TableGen/CodeGenMapTable.cpp [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_common.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_common.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h:14, from /<>/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp:10: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::DWARFDebugRangeList::RangeListEntry&}; _Tp = llvm::DWARFDebugRangeList::RangeListEntry; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h:14, from /<>/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp:10: /usr/include/c++/8/bits/stl_vector.h: In member function 'bool llvm::DWARFDebugRangeList::extract(llvm::DataExtractor, uint32_t*)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h:14, from /<>/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp:10: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::pair}; _Tp = std::pair; _Alloc = std::allocator >]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc: In member function 'llvm::DWARFAddressRangesVector llvm::DWARFDebugRangeList::getAbsoluteRanges(uint64_t) const': /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ [ 5%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFFormValue.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFFormValue.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFFormValue.cpp In file included from /<>/include/llvm/ADT/FoldingSet.h:19, from /<>/lib/Support/FoldingSet.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:55:67: required from 'void* llvm::AllocatorBase::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:77:12: required from 'T* llvm::AllocatorBase::Allocate(size_t) [with T = unsigned int; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/lib/Support/FoldingSet.cpp:177:59: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/FoldingSet.h:19, from /<>/lib/Support/FoldingSet.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector1.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector1.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector1.cc [ 5%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionArg.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionArg.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp [ 5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o -c /<>/lib/Support/FormattedStream.cpp [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_mapping_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_mapping_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_mapping_libcdep.cc [ 5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCELFObjectTargetWriter.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCELFObjectTargetWriter.cpp.o -c /<>/lib/MC/MCELFObjectTargetWriter.cpp [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_linux_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_linux_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_posix_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_posix_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenMapTable.cpp:79: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenMapTable.cpp:79: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/lib/Support/FormattedStream.cpp: In function 'void UpdatePosition(std::pair&, const char*, size_t)': /<>/lib/Support/FormattedStream.cpp:34:12: warning: this statement may fall through [-Wimplicit-fallthrough=] Line += 1; ~~~~~^~~~ /<>/lib/Support/FormattedStream.cpp:35:5: note: here case '\r': ^~~~ [ 5%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionSig.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionSig.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector2.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector2.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector2.cc [ 5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o -c /<>/lib/Support/GraphWriter.cpp [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flags.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flags.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_flags.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stacktrace_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stacktrace_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stoptheworld_linux_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stoptheworld_linux_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flag_parser.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flag_parser.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_flag_parser.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_posix_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_posix_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libc.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libc.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_libc.cc [ 5%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCELFStreamer.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCELFStreamer.cpp.o -c /<>/lib/MC/MCELFStreamer.cpp /<>/lib/Support/GraphWriter.cpp: In function 'std::__cxx11::string llvm::DOT::EscapeString(const string&)': /<>/lib/Support/GraphWriter.cpp:39:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (i+1 != Str.length()) ^~ /<>/lib/Support/GraphWriter.cpp:46:5: note: here case '{': case '}': ^~~~ [ 5%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFTypeUnit.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFTypeUnit.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_unwind_linux_libcdep.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_unwind_linux_libcdep.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libignore.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libignore.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_libignore.cc make[4]: Leaving directory '/<>/build-llvm' [ 5%] Built target RTSanitizerCommonLibc.arm /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/ubsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/ubsan /<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/depend.internal". Scanning dependencies of target RTUbsan.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 5%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_diag.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTUbsan.arm.dir/ubsan_diag.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_diag.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc: In function 'void* __sanitizer::internal_start_thread(void (*)(void*), void*)': /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:1156:58: warning: cast between incompatible function types from 'void (*)(void*)' to 'void* (*)(void*)' [-Wcast-function-type] real_pthread_create(&th, nullptr, (void*(*)(void *arg))func, arg); ^~~~ [ 5%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeManaged.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeManaged.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp [ 5%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_init.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTUbsan.arm.dir/ubsan_init.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_init.cc [ 5%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_flags.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTUbsan.arm.dir/ubsan_flags.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_flags.cc [ 5%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_handlers.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTUbsan.arm.dir/ubsan_handlers.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_handlers.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_mac.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_mac.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc [ 5%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Hashing.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Hashing.cpp.o -c /<>/lib/Support/Hashing.cpp [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_persistent_allocator.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_persistent_allocator.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_persistent_allocator.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_linux.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_linux.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_posix.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_posix.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc In file included from /<>/include/llvm/MC/MCObjectStreamer.h:13, from /<>/include/llvm/MC/MCELFStreamer.h:15, from /<>/lib/MC/MCELFStreamer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iterator:64, from /<>/include/llvm/ADT/SmallPtrSet.h:24, from /<>/include/llvm/MC/MCELFStreamer.h:13, from /<>/lib/MC/MCELFStreamer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/MC/MCObjectStreamer.h:13, from /<>/include/llvm/MC/MCELFStreamer.h:15, from /<>/lib/MC/MCELFStreamer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iterator:64, from /<>/include/llvm/ADT/SmallPtrSet.h:24, from /<>/include/llvm/MC/MCELFStreamer.h:13, from /<>/lib/MC/MCELFStreamer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 5%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_posix.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_posix.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix.cc [ 5%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypePointer.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypePointer.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp [ 7%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFUnitIndex.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFUnitIndex.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp [ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o -c /<>/lib/Support/IntEqClasses.cpp [ 7%] Building CXX object projects/compiler-rt/lib/ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_value.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/ubsan -I/<>/projects/compiler-rt/lib/ubsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/ubsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTUbsan.arm.dir/ubsan_value.cc.o -c /<>/projects/compiler-rt/lib/ubsan/ubsan_value.cc [ 7%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_printf.cc.o make[4]: Leaving directory '/<>/build-llvm' cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_printf.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_printf.cc [ 7%] Built target RTUbsan.arm /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/depend.internal". Scanning dependencies of target RTAsan_cxx.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 7%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_cxx.arm.dir/asan_new_delete.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan_cxx.arm.dir/asan_new_delete.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_new_delete.cc [ 7%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_common.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_common.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cc [ 7%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_freebsd.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_freebsd.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_freebsd.cc make[4]: Leaving directory '/<>/build-llvm' [ 7%] Built target RTAsan_cxx.arm /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/DependInfo.cmake --color= [ 7%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_linux.cc.o Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/depend.internal". cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_linux.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_linux.cc Scanning dependencies of target RTAsan.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 7%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_allocator.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_allocator.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_allocator.cc [ 7%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_mac.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_mac.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_mac.cc [ 7%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o -c /<>/lib/Support/IntervalMap.cpp [ 7%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stackdepot.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stackdepot.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cc [ 7%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeTypedef.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeTypedef.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp [ 7%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenRegisters.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CodeGenRegisters.cpp.o -c /<>/utils/TableGen/CodeGenRegisters.cpp [ 7%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCExpr.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCExpr.cpp.o -c /<>/lib/MC/MCExpr.cpp [ 7%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFUnit.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFUnit.cpp.o -c /<>/lib/DebugInfo/DWARF/DWARFUnit.cpp [ 7%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cc [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace_printer.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace_printer.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_printer.cc [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_suppressions.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_suppressions.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_suppressions.cc [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o -c /<>/lib/Support/IntrusiveRefCntPtr.cpp [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/JamCRC.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/JamCRC.cpp.o -c /<>/lib/Support/JamCRC.cpp [ 8%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeUDT.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeUDT.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.cc [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_libbacktrace.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_libbacktrace.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.cc In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCExpr.h:13, from /<>/lib/MC/MCExpr.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCExpr.h:13, from /<>/lib/MC/MCExpr.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_mac.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_mac.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_mac.cc [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_win.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_win.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_win.cc [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_tls_get_addr.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_tls_get_addr.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cc [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LEB128.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/LEB128.cpp.o -c /<>/lib/Support/LEB128.cpp [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_thread_registry.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_thread_registry.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_thread_registry.cc [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o -c /<>/lib/Support/LineIterator.cpp [ 8%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeVTable.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeVTable.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_win.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_win.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_win.cc make[4]: Leaving directory '/<>/build-llvm' [ 8%] Built target RTSanitizerCommon.arm In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/CodeGenRegisters.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/CodeGenRegisters.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Locale.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Locale.cpp.o -c /<>/lib/Support/Locale.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/CodeGenRegisters.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/utils/TableGen/CodeGenRegisters.cpp:448:56: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/CodeGenRegisters.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /usr/bin/make -f projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/build.make projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/depend In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/CodeGenRegisters.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/utils/TableGen/CodeGenRegisters.cpp:1958:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/CodeGenRegisters.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/interception /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/interception /<>/build-llvm/projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/interception/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/depend.internal". Scanning dependencies of target RTInterception.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/build.make projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 8%] Building CXX object projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/interception_linux.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/interception && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/interception -I/<>/projects/compiler-rt/lib/interception -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/interception/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTInterception.arm.dir/interception_linux.cc.o -c /<>/projects/compiler-rt/lib/interception/interception_linux.cc /usr/bin/make -f projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/build.make projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/lsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/lsan /<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/DependInfo.cmake --color= [ 8%] Building CXX object projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/interception_mac.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/interception && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/interception -I/<>/projects/compiler-rt/lib/interception -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/interception/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTInterception.arm.dir/interception_mac.cc.o -c /<>/projects/compiler-rt/lib/interception/interception_mac.cc Dependee "/<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/depend.internal". Scanning dependencies of target RTLSanCommon.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/build.make projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 8%] Building CXX object projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/interception_win.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/interception && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/interception -I/<>/projects/compiler-rt/lib/interception -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/interception/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTInterception.arm.dir/interception_win.cc.o -c /<>/projects/compiler-rt/lib/interception/interception_win.cc [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o -c /<>/lib/Support/LockFileManager.cpp [ 8%] Building CXX object projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/lsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/lsan -I/<>/projects/compiler-rt/lib/lsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/lsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTLSanCommon.arm.dir/lsan_common.cc.o -c /<>/projects/compiler-rt/lib/lsan/lsan_common.cc [ 8%] Building CXX object projects/compiler-rt/lib/interception/CMakeFiles/RTInterception.arm.dir/interception_type_test.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/interception && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/interception -I/<>/projects/compiler-rt/lib/interception -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/interception/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTInterception.arm.dir/interception_type_test.cc.o -c /<>/projects/compiler-rt/lib/interception/interception_type_test.cc make[4]: Leaving directory '/<>/build-llvm' [ 8%] Building CXX object projects/compiler-rt/lib/lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common_linux.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/lsan && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/lsan -I/<>/projects/compiler-rt/lib/lsan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/lsan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTLSanCommon.arm.dir/lsan_common_linux.cc.o -c /<>/projects/compiler-rt/lib/lsan/lsan_common_linux.cc [ 8%] Built target RTInterception.arm /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/depend.internal". Scanning dependencies of target RTAsan_preinit.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/build make[4]: Entering directory '/<>/build-llvm' make[4]: Leaving directory '/<>/build-llvm' [ 8%] Built target RTLSanCommon.arm [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_preinit.arm.dir/asan_preinit.cc.o /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/depend cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan_preinit.arm.dir/asan_preinit.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_preinit.cc make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/depend.internal". make[4]: Leaving directory '/<>/build-llvm' [ 8%] Built target RTAsan_preinit.arm /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/asan_blacklist.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/asan_blacklist.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/asan_blacklist.dir/DependInfo.cmake --color= Scanning dependencies of target RTAsan_dynamic.arm Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/asan_blacklist.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/asan_blacklist.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/asan_blacklist.dir/depend.internal". Scanning dependencies of target asan_blacklist make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/build make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/asan_blacklist.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/asan_blacklist.dir/build make[4]: Entering directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_allocator.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_allocator.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_allocator.cc [ 8%] Copying asan_blacklist.txt... cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/cmake -E copy_if_different /<>/projects/compiler-rt/lib/asan/asan_blacklist.txt /<>/build-llvm/./lib/clang/3.8.1/asan_blacklist.txt make[4]: Leaving directory '/<>/build-llvm' [ 8%] Built target asan_blacklist /usr/bin/make -f projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/build.make projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/sanitizer_common /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/DependInfo.cmake --color= [ 8%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeVTableShape.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeVTableShape.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp Dependee "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/depend.internal". Scanning dependencies of target RTSanitizerCommonNoLibc.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/build.make projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 8%] Building CXX object projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/sanitizer_common_nolibc.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/sanitizer_common && /usr/bin/g++-8 -DHAVE_RPC_XDR_H=1 -DHAVE_TIRPC_RPC_XDR_H=0 -DSANITIZER_NEEDS_SEGV=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/sanitizer_common -I/<>/projects/compiler-rt/lib/sanitizer_common -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -o CMakeFiles/RTSanitizerCommonNoLibc.arm.dir/sanitizer_common_nolibc.cc.o -c /<>/projects/compiler-rt/lib/sanitizer_common/sanitizer_common_nolibc.cc [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_activation.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_activation.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_activation.cc make[4]: Leaving directory '/<>/build-llvm' [ 8%] Built target RTSanitizerCommonNoLibc.arm [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_debugging.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_debugging.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_debugging.cc [ 8%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCFragment.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCFragment.cpp.o -c /<>/lib/MC/MCFragment.cpp [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_fake_stack.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_fake_stack.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_fake_stack.cc [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o -c /<>/lib/Support/ManagedStatic.cpp [ 8%] Building CXX object lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/SyntaxHighlighting.cpp.o cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/DWARF -I/<>/lib/DebugInfo/DWARF -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoDWARF.dir/SyntaxHighlighting.cpp.o -c /<>/lib/DebugInfo/DWARF/SyntaxHighlighting.cpp [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o -c /<>/lib/Support/MathExtras.cpp [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o -c /<>/lib/Support/MemoryBuffer.cpp [ 8%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolUnknown.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolUnknown.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryObject.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/MemoryObject.cpp.o -c /<>/lib/Support/MemoryObject.cpp [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_flags.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_flags.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_flags.cc [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_globals.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_globals.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_globals.cc [ 8%] Linking CXX static library ../../libLLVMDebugInfoDWARF.a cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/cmake -P CMakeFiles/LLVMDebugInfoDWARF.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/DebugInfo/DWARF && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMDebugInfoDWARF.dir/link.txt --verbose=1 /usr/bin/ar qc ../../libLLVMDebugInfoDWARF.a CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFAbbreviationDeclaration.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFAcceleratorTable.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFCompileUnit.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFContext.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugAbbrev.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugArangeSet.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugAranges.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugFrame.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugInfoEntry.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugLine.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugLoc.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugMacro.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFDebugRangeList.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFFormValue.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFTypeUnit.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFUnitIndex.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFUnit.cpp.o CMakeFiles/LLVMDebugInfoDWARF.dir/SyntaxHighlighting.cpp.o /usr/bin/ranlib ../../libLLVMDebugInfoDWARF.a make[4]: Leaving directory '/<>/build-llvm' [ 8%] Built target LLVMDebugInfoDWARF /usr/bin/make -f tools/polly/lib/External/CMakeFiles/PollyISL.dir/build.make tools/polly/lib/External/CMakeFiles/PollyISL.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/polly/lib/External /<>/build-llvm /<>/build-llvm/tools/polly/lib/External /<>/build-llvm/tools/polly/lib/External/CMakeFiles/PollyISL.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/polly/lib/External/CMakeFiles/PollyISL.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/polly/lib/External/CMakeFiles/PollyISL.dir/depend.internal". Dependee "/<>/build-llvm/tools/polly/lib/External/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/polly/lib/External/CMakeFiles/PollyISL.dir/depend.internal". [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_interceptors.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_interceptors.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_interceptors.cc In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/MC/MCFragment.h:13, from /<>/lib/MC/MCFragment.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/MC/MCFragment.h:13, from /<>/lib/MC/MCFragment.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ Scanning dependencies of target PollyISL make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/polly/lib/External/CMakeFiles/PollyISL.dir/build.make tools/polly/lib/External/CMakeFiles/PollyISL.dir/build make[4]: Entering directory '/<>/build-llvm' In file included from /<>/projects/compiler-rt/lib/asan/asan_interceptors.cc:198: /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SANITIZER_INTERCEPT_PTRACE ^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] [ 8%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/basis_reduction_tab.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/basis_reduction_tab.c.o -c /<>/tools/polly/lib/External/isl/basis_reduction_tab.c /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:4456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SANITIZER_INTERCEPT_AEABI_MEM ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 8%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolUsingNamespace.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolUsingNamespace.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_linux.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_linux.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_linux.cc [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_mac.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_mac.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_mac.cc [ 8%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_malloc_linux.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_malloc_linux.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_malloc_linux.cc [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MD5.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/MD5.cpp.o -c /<>/lib/Support/MD5.cpp [ 8%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_aff.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_aff.c.o -c /<>/tools/polly/lib/External/isl/isl_aff.c [ 8%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Options.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Options.cpp.o -c /<>/lib/Support/Options.cpp [ 8%] Building CXX object lib/DebugInfo/PDB/CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymDumper.cpp.o cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/DebugInfo/PDB -I/<>/lib/DebugInfo/PDB -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymDumper.cpp.o -c /<>/lib/DebugInfo/PDB/PDBSymDumper.cpp [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInst.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCInst.cpp.o -c /<>/lib/MC/MCInst.cpp [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_activation.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_activation.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_activation.cc [ 9%] Linking CXX static library ../../libLLVMDebugInfoPDB.a cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/cmake -P CMakeFiles/LLVMDebugInfoPDB.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/DebugInfo/PDB && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMDebugInfoPDB.dir/link.txt --verbose=1 [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_malloc_mac.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_malloc_mac.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_malloc_mac.cc /usr/bin/ar qc ../../libLLVMDebugInfoPDB.a CMakeFiles/LLVMDebugInfoPDB.dir/IPDBSourceFile.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDB.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBContext.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBExtras.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBInterfaceAnchors.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbol.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolAnnotation.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolBlock.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompiland.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompilandDetails.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCompilandEnv.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolCustom.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolData.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolExe.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFunc.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFuncDebugEnd.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolFuncDebugStart.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolLabel.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolPublicSymbol.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolThunk.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeArray.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBaseClass.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeBuiltin.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeCustom.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeDimension.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeEnum.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFriend.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionArg.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeFunctionSig.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeManaged.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypePointer.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeTypedef.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeUDT.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeVTable.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolTypeVTableShape.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolUnknown.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymbolUsingNamespace.cpp.o CMakeFiles/LLVMDebugInfoPDB.dir/PDBSymDumper.cpp.o /usr/bin/ranlib ../../libLLVMDebugInfoPDB.a make[4]: Leaving directory '/<>/build-llvm' [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_malloc_win.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_malloc_win.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_malloc_win.cc [ 9%] Built target LLVMDebugInfoPDB /usr/bin/make -f tools/lto/CMakeFiles/LTO_exports.dir/build.make tools/lto/CMakeFiles/LTO_exports.dir/depend [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_poisoning.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_poisoning.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_poisoning.cc make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/lto /<>/build-llvm /<>/build-llvm/tools/lto /<>/build-llvm/tools/lto/CMakeFiles/LTO_exports.dir/DependInfo.cmake --color= [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_debugging.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_debugging.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_debugging.cc Dependee "/<>/build-llvm/tools/lto/CMakeFiles/LTO_exports.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/lto/CMakeFiles/LTO_exports.dir/depend.internal". Dependee "/<>/build-llvm/tools/lto/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/lto/CMakeFiles/LTO_exports.dir/depend.internal". Scanning dependencies of target LTO_exports make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/lto/CMakeFiles/LTO_exports.dir/build.make tools/lto/CMakeFiles/LTO_exports.dir/build make[4]: Entering directory '/<>/build-llvm' [ 9%] Creating export file for LTO [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o -c /<>/lib/Support/PluginLoader.cpp cd /<>/build-llvm/tools/lto && echo "LLVM_3.8 {" > LTO.exports cd /<>/build-llvm/tools/lto && grep -q [[:alnum:]] /<>/tools/lto/lto.exports && echo " global:" >> LTO.exports || : cd /<>/build-llvm/tools/lto && sed -e "s/\$/;/" -e "s/^/ /" < /<>/tools/lto/lto.exports >> LTO.exports cd /<>/build-llvm/tools/lto && echo " local: *;" >> LTO.exports cd /<>/build-llvm/tools/lto && echo "};" >> LTO.exports make[4]: Leaving directory '/<>/build-llvm' [ 9%] Built target LTO_exports [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstPrinter.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCInstPrinter.cpp.o -c /<>/lib/MC/MCInstPrinter.cpp [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_fake_stack.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_fake_stack.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_fake_stack.cc /usr/bin/make -f tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/build.make tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/utils/TableGen /<>/build-llvm /<>/build-llvm/tools/clang/utils/TableGen /<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/depend.internal". Scanning dependencies of target obj.clang-tblgen make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/build.make tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/build make[4]: Entering directory '/<>/build-llvm' [ 9%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangASTNodesEmitter.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/ClangASTNodesEmitter.cpp.o -c /<>/tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_posix.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_posix.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_posix.cc [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_flags.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_flags.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_flags.cc [ 9%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangAttrEmitter.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/ClangAttrEmitter.cpp.o -c /<>/tools/clang/utils/TableGen/ClangAttrEmitter.cpp [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o -c /<>/lib/Support/PrettyStackTrace.cpp [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_globals.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_globals.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_globals.cc In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/Record.h:18, from /<>/tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/Record.h:18, from /<>/tools/clang/utils/TableGen/ClangASTNodesEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstrAnalysis.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCInstrAnalysis.cpp.o -c /<>/lib/MC/MCInstrAnalysis.cpp [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RandomNumberGenerator.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/RandomNumberGenerator.cpp.o -c /<>/lib/Support/RandomNumberGenerator.cpp [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_interceptors.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_interceptors.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_interceptors.cc In file included from /<>/projects/compiler-rt/lib/asan/asan_interceptors.cc:198: /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SANITIZER_INTERCEPT_PTRACE ^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:2456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] /<>/projects/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:4456:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if SANITIZER_INTERCEPT_AEABI_MEM ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstrDesc.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCInstrDesc.cpp.o -c /<>/lib/MC/MCInstrDesc.cpp In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/tools/clang/utils/TableGen/ClangAttrEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/SmallString.h:17, from /<>/tools/clang/utils/TableGen/ClangAttrEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_linux.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_linux.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_linux.cc [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Regex.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Regex.cpp.o -c /<>/lib/Support/Regex.cpp [ 9%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o -c /<>/tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCLabel.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCLabel.cpp.o -c /<>/lib/MC/MCLabel.cpp [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o -c /<>/lib/Support/ScaledNumber.cpp [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCLinkerOptimizationHint.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCLinkerOptimizationHint.cpp.o -c /<>/lib/MC/MCLinkerOptimizationHint.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/Record.h:18, from /<>/tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/Record.h:18, from /<>/tools/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_report.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_report.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_report.cc [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o -c /<>/lib/Support/SmallPtrSet.cpp [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCMachOStreamer.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCMachOStreamer.cpp.o -c /<>/lib/MC/MCMachOStreamer.cpp [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o -c /<>/lib/Support/SmallVector.cpp [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_rtl.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_rtl.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_rtl.cc [ 9%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenSchedule.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CodeGenSchedule.cpp.o -c /<>/utils/TableGen/CodeGenSchedule.cpp [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o -c /<>/lib/Support/SourceMgr.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCMachOStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCMachOStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCMachOStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCMachOStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 9%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_stack.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_stack.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_stack.cc [ 9%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o -c /<>/utils/TableGen/CodeGenTarget.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/SourceMgr.h:19, from /<>/lib/Support/SourceMgr.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/lib/Support/SourceMgr.cpp:187:71: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/SourceMgr.h:19, from /<>/lib/Support/SourceMgr.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/utils/TableGen/CodeGenSchedule.h:18, from /<>/utils/TableGen/CodeGenSchedule.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/utils/TableGen/CodeGenSchedule.h:18, from /<>/utils/TableGen/CodeGenSchedule.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCMachObjectTargetWriter.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCMachObjectTargetWriter.cpp.o -c /<>/lib/MC/MCMachObjectTargetWriter.cpp [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SpecialCaseList.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/SpecialCaseList.cpp.o -c /<>/lib/Support/SpecialCaseList.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenTarget.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenTarget.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCNullStreamer.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCNullStreamer.cpp.o -c /<>/lib/MC/MCNullStreamer.cpp [ 9%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_affine_hull.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_affine_hull.c.o -c /<>/tools/polly/lib/External/isl/isl_affine_hull.c [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Statistic.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Statistic.cpp.o -c /<>/lib/Support/Statistic.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCNullStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCNullStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCNullStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCNullStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 9%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_arg.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_arg.c.o -c /<>/tools/polly/lib/External/isl/isl_arg.c [ 9%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o -c /<>/tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp [ 9%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectFileInfo.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCObjectFileInfo.cpp.o -c /<>/lib/MC/MCObjectFileInfo.cpp [ 9%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_build.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_ast_build.c.o -c /<>/tools/polly/lib/External/isl/isl_ast_build.c [ 9%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StreamingMemoryObject.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/StreamingMemoryObject.cpp.o -c /<>/lib/Support/StreamingMemoryObject.cpp In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/SmallString.h:17, from /<>/tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/include/llvm/MC/MCObjectFileInfo.h:17, from /<>/lib/MC/MCObjectFileInfo.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/include/llvm/MC/MCObjectFileInfo.h:17, from /<>/lib/MC/MCObjectFileInfo.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_build_expr.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_ast_build_expr.c.o -c /<>/tools/polly/lib/External/isl/isl_ast_build_expr.c /<>/lib/MC/MCObjectFileInfo.cpp: In member function 'void llvm::MCObjectFileInfo::initELFMCObjectFileInfo(llvm::Triple)': /<>/lib/MC/MCObjectFileInfo.cpp:305:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Ctx->getAsmInfo()->getExceptionHandlingType() == ExceptionHandling::ARM) ^~ /<>/lib/MC/MCObjectFileInfo.cpp:308:3: note: here case Triple::ppc: ^~~~ [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o -c /<>/lib/Support/StringExtras.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_ast.c.o -c /<>/tools/polly/lib/External/isl/isl_ast.c [ 10%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o -c /<>/tools/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectStreamer.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCObjectStreamer.cpp.o -c /<>/lib/MC/MCObjectStreamer.cpp [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringMap.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/StringMap.cpp.o -c /<>/lib/Support/StringMap.cpp [ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/DAGISelEmitter.cpp.o -c /<>/utils/TableGen/DAGISelEmitter.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/TableGen/Record.h:18, from /<>/tools/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/utils/TableGen/TableGenBackends.h:19, from /<>/tools/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_codegen.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_ast_codegen.c.o -c /<>/tools/polly/lib/External/isl/isl_ast_codegen.c [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringPool.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/StringPool.cpp.o -c /<>/lib/Support/StringPool.cpp [ 10%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o -c /<>/tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp [ 10%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/ClangSACheckersEmitter.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/ClangSACheckersEmitter.cpp.o -c /<>/tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp In file included from /<>/include/llvm/MC/MCObjectStreamer.h:13, from /<>/lib/MC/MCObjectStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/MC/MCObjectStreamer.h:13, from /<>/lib/MC/MCObjectStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/MC/MCObjectStreamer.h:13, from /<>/lib/MC/MCObjectStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/MC/MCObjectStreamer.h:13, from /<>/lib/MC/MCObjectStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringSaver.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/StringSaver.cpp.o -c /<>/lib/Support/StringSaver.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenDAGPatterns.h:19, from /<>/utils/TableGen/DAGISelEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/CodeGen/MachineValueType.h:18, from /<>/utils/TableGen/CodeGenIntrinsics.h:17, from /<>/utils/TableGen/CodeGenDAGPatterns.h:18, from /<>/utils/TableGen/DAGISelEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenDAGPatterns.h:19, from /<>/utils/TableGen/DAGISelEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:509:62: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/CodeGen/MachineValueType.h:18, from /<>/utils/TableGen/CodeGenIntrinsics.h:17, from /<>/utils/TableGen/CodeGenDAGPatterns.h:18, from /<>/utils/TableGen/DAGISelEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenDAGPatterns.h:19, from /<>/utils/TableGen/DAGISelEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:563:58: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/CodeGen/MachineValueType.h:18, from /<>/utils/TableGen/CodeGenIntrinsics.h:17, from /<>/utils/TableGen/CodeGenDAGPatterns.h:18, from /<>/utils/TableGen/DAGISelEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_ast_graft.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_ast_graft.c.o -c /<>/tools/polly/lib/External/isl/isl_ast_graft.c In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/Support/StringSaver.h:14, from /<>/lib/Support/StringSaver.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:55:67: required from 'void* llvm::AllocatorBase::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:77:12: required from 'T* llvm::AllocatorBase::Allocate(size_t) [with T = char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/lib/Support/StringSaver.cpp:15:46: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/Support/StringSaver.h:13, from /<>/lib/Support/StringSaver.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/StringRef.cpp.o -c /<>/lib/Support/StringRef.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/ADT/DenseSet.h:17, from /<>/tools/clang/utils/TableGen/ClangSACheckersEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCObjectWriter.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCObjectWriter.cpp.o -c /<>/lib/MC/MCObjectWriter.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_band.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_band.c.o -c /<>/tools/polly/lib/External/isl/isl_band.c [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_bernstein.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_bernstein.c.o -c /<>/tools/polly/lib/External/isl/isl_bernstein.c [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o -c /<>/lib/Support/SystemUtils.cpp [ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o -c /<>/utils/TableGen/DAGISelMatcherEmitter.cpp [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCRegisterInfo.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCRegisterInfo.cpp.o -c /<>/lib/MC/MCRegisterInfo.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_blk.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_blk.c.o -c /<>/tools/polly/lib/External/isl/isl_blk.c [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_bound.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_bound.c.o -c /<>/tools/polly/lib/External/isl/isl_bound.c [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetParser.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/TargetParser.cpp.o -c /<>/lib/Support/TargetParser.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_coalesce.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_coalesce.c.o -c /<>/tools/polly/lib/External/isl/isl_coalesce.c [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSchedule.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSchedule.cpp.o -c /<>/lib/MC/MCSchedule.cpp [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSection.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSection.cpp.o -c /<>/lib/MC/MCSection.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_stats.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_stats.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_stats.cc In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:509:62: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:563:58: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_suppressions.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_suppressions.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_suppressions.cc [ 10%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_thread.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_thread.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_thread.cc [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_constraint.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_constraint.c.o -c /<>/tools/polly/lib/External/isl/isl_constraint.c In file included from /<>/include/llvm/MC/MCSection.h:17, from /<>/lib/MC/MCSection.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/MC/MCSection.h:17, from /<>/lib/MC/MCSection.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/MC/MCSection.h:17, from /<>/lib/MC/MCSection.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallVector.h:490:7: required from 'llvm::SmallVectorImpl::iterator llvm::SmallVectorImpl::insert(llvm::SmallVectorImpl::iterator, T&&) [with T = std::pair; llvm::SmallVectorImpl::iterator = std::pair*]' /<>/lib/MC/MCSection.cpp:80:67: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/MC/MCSection.h:17, from /<>/lib/MC/MCSection.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o -c /<>/lib/Support/ThreadPool.cpp [ 10%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan.arm.dir/asan_win.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTAsan.arm.dir/asan_win.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_win.cc [ 10%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/NeonEmitter.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/NeonEmitter.cpp.o -c /<>/tools/clang/utils/TableGen/NeonEmitter.cpp [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionCOFF.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSectionCOFF.cpp.o -c /<>/lib/MC/MCSectionCOFF.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_convex_hull.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_convex_hull.c.o -c /<>/tools/polly/lib/External/isl/isl_convex_hull.c [ 10%] Building CXX object tools/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/TableGen.cpp.o cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/utils/TableGen -I/<>/tools/clang/utils/TableGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.clang-tblgen.dir/TableGen.cpp.o -c /<>/tools/clang/utils/TableGen/TableGen.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/utils/TableGen/NeonEmitter.cpp:27: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/utils/TableGen/NeonEmitter.cpp:27: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/MC/MCSection.h:17, from /<>/include/llvm/MC/MCSectionCOFF.h:18, from /<>/lib/MC/MCSectionCOFF.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/MC/MCSectionCOFF.h:17, from /<>/lib/MC/MCSectionCOFF.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/tools/clang/utils/TableGen/TableGen.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/utils/TableGen/TableGenBackends.h:19, from /<>/tools/clang/utils/TableGen/TableGen.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Timer.cpp.o -c /<>/lib/Support/Timer.cpp [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionELF.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSectionELF.cpp.o -c /<>/lib/MC/MCSectionELF.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/tools/clang/utils/TableGen/TableGen.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair >]': /<>/include/llvm/Support/CommandLine.h:515:12: required from 'llvm::cl::ValuesClass::ValuesClass(const char*, DataType, const char*, va_list) [with DataType = int; va_list = __va_list]' /<>/include/llvm/Support/CommandLine.h:538:25: required from 'llvm::cl::ValuesClass llvm::cl::values(const char*, DataType, const char*, ...) [with DataType = int]' /<>/tools/clang/utils/TableGen/TableGen.cpp:137:21: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/utils/TableGen/TableGenBackends.h:19, from /<>/tools/clang/utils/TableGen/TableGen.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/tools/clang/utils/TableGen/TableGen.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair >; T2 = std::pair >; T = std::pair >; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair >*; It2 = std::pair >*; T = std::pair >]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair >]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair >; unsigned int N = 4]' /<>/include/llvm/Support/CommandLine.h:504:33: required from 'llvm::cl::ValuesClass llvm::cl::values(const char*, DataType, const char*, ...) [with DataType = int]' /<>/tools/clang/utils/TableGen/TableGen.cpp:137:21: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/utils/TableGen/TableGenBackends.h:19, from /<>/tools/clang/utils/TableGen/TableGen.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair >' declared here struct pair ^~~~ /usr/bin/make -f tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/build.make tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/libclang /<>/build-llvm /<>/build-llvm/tools/clang/tools/libclang /<>/build-llvm/tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/libclang/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/depend.internal". Scanning dependencies of target libclang_exports make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/build.make tools/clang/tools/libclang/CMakeFiles/libclang_exports.dir/build make[4]: Entering directory '/<>/build-llvm' [ 10%] Creating export file for libclang cd /<>/build-llvm/tools/clang/tools/libclang && echo "LLVM_3.8 {" > libclang.exports cd /<>/build-llvm/tools/clang/tools/libclang && grep -q [[:alnum:]] /<>/tools/clang/tools/libclang/libclang.exports && echo " global:" >> libclang.exports || : cd /<>/build-llvm/tools/clang/tools/libclang && sed -e "s/\$/;/" -e "s/^/ /" < /<>/tools/clang/tools/libclang/libclang.exports >> libclang.exports cd /<>/build-llvm/tools/clang/tools/libclang && echo " local: *;" >> libclang.exports cd /<>/build-llvm/tools/clang/tools/libclang && echo "};" >> libclang.exports make[4]: Leaving directory '/<>/build-llvm' [ 10%] Built target libclang_exports /usr/bin/make -f tools/clang/tools/scan-build/CMakeFiles/scan-build.dir/build.make tools/clang/tools/scan-build/CMakeFiles/scan-build.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/scan-build /<>/build-llvm /<>/build-llvm/tools/clang/tools/scan-build /<>/build-llvm/tools/clang/tools/scan-build/CMakeFiles/scan-build.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/scan-build/CMakeFiles/scan-build.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/scan-build/CMakeFiles/scan-build.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/scan-build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/scan-build/CMakeFiles/scan-build.dir/depend.internal". Scanning dependencies of target scan-build make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/scan-build/CMakeFiles/scan-build.dir/build.make tools/clang/tools/scan-build/CMakeFiles/scan-build.dir/build make[4]: Entering directory '/<>/build-llvm' [ 10%] Generating ../../../../bin/scan-build cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E make_directory /<>/build-llvm/bin cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-build/bin/scan-build /<>/build-llvm/bin/ [ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherGen.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherGen.cpp.o -c /<>/utils/TableGen/DAGISelMatcherGen.cpp [ 10%] Generating ../../../../libexec/ccc-analyzer cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E make_directory /<>/build-llvm/libexec cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-build/libexec/ccc-analyzer /<>/build-llvm/libexec/ [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_ctx.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_ctx.c.o -c /<>/tools/polly/lib/External/isl/isl_ctx.c [ 10%] Generating ../../../../libexec/c++-analyzer cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E make_directory /<>/build-llvm/libexec cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-build/libexec/c++-analyzer /<>/build-llvm/libexec/ [ 10%] Generating ../../../../share/man/man1/scan-build.1 cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E make_directory /<>/build-llvm/share/man/man1 cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-build/man/scan-build.1 /<>/build-llvm/share/man/man1/ [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_deprecated.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_deprecated.c.o -c /<>/tools/polly/lib/External/isl/isl_deprecated.c [ 10%] Generating ../../../../share/scan-build/scanview.css cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E make_directory /<>/build-llvm/share/scan-build [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_dim_map.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_dim_map.c.o -c /<>/tools/polly/lib/External/isl/isl_dim_map.c cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-build/share/scan-build/scanview.css /<>/build-llvm/share/scan-build/ [ 10%] Generating ../../../../share/scan-build/sorttable.js cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E make_directory /<>/build-llvm/share/scan-build cd /<>/build-llvm/tools/clang/tools/scan-build && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-build/share/scan-build/sorttable.js /<>/build-llvm/share/scan-build/ make[4]: Leaving directory '/<>/build-llvm' In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/MC/MCSectionELF.h:17, from /<>/lib/MC/MCSectionELF.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/MC/MCSectionELF.h:17, from /<>/lib/MC/MCSectionELF.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Built target scan-build [ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o -c /<>/utils/TableGen/DAGISelMatcherOpt.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_equalities.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_equalities.c.o -c /<>/tools/polly/lib/External/isl/isl_equalities.c [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSectionMachO.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSectionMachO.cpp.o -c /<>/lib/MC/MCSectionMachO.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_factorization.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_factorization.c.o -c /<>/tools/polly/lib/External/isl/isl_factorization.c [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o -c /<>/lib/Support/ToolOutputFile.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/utils/TableGen/DAGISelMatcherGen.cpp:260:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/utils/TableGen/DAGISelMatcherGen.cpp:280:69: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_farkas.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_farkas.c.o -c /<>/tools/polly/lib/External/isl/isl_farkas.c In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:509:62: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:563:58: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherGen.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/MC/MCSection.h:17, from /<>/include/llvm/MC/MCSectionMachO.h:18, from /<>/lib/MC/MCSectionMachO.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/MC/MCSectionMachO.h:17, from /<>/lib/MC/MCSectionMachO.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_ffs.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_ffs.c.o -c /<>/tools/polly/lib/External/isl/isl_ffs.c [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_flow.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_flow.c.o -c /<>/tools/polly/lib/External/isl/isl_flow.c In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/utils/TableGen/DAGISelMatcherOpt.cpp:459:72: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/utils/TableGen/DAGISelMatcherOpt.cpp:494:63: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:509:62: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:563:58: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcherOpt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Triple.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Triple.cpp.o -c /<>/lib/Support/Triple.cpp [ 10%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCStreamer.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCStreamer.cpp.o -c /<>/lib/MC/MCStreamer.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_fold.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_fold.c.o -c /<>/tools/polly/lib/External/isl/isl_fold.c /usr/bin/make -f tools/clang/tools/scan-view/CMakeFiles/scan-view.dir/build.make tools/clang/tools/scan-view/CMakeFiles/scan-view.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/scan-view /<>/build-llvm /<>/build-llvm/tools/clang/tools/scan-view /<>/build-llvm/tools/clang/tools/scan-view/CMakeFiles/scan-view.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/scan-view/CMakeFiles/scan-view.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/scan-view/CMakeFiles/scan-view.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/scan-view/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/scan-view/CMakeFiles/scan-view.dir/depend.internal". Scanning dependencies of target scan-view make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/scan-view/CMakeFiles/scan-view.dir/build.make tools/clang/tools/scan-view/CMakeFiles/scan-view.dir/build make[4]: Entering directory '/<>/build-llvm' [ 10%] Generating ../../../../bin/scan-view cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E make_directory /<>/build-llvm/bin cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-view/bin/scan-view /<>/build-llvm/bin/ [ 10%] Generating ../../../../share/scan-view/ScanView.py cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E make_directory /<>/build-llvm/share/scan-view cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-view/share/ScanView.py /<>/build-llvm/share/scan-view/ [ 10%] Generating ../../../../share/scan-view/Reporter.py cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E make_directory /<>/build-llvm/share/scan-view cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-view/share/Reporter.py /<>/build-llvm/share/scan-view/ [ 10%] Generating ../../../../share/scan-view/startfile.py cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E make_directory /<>/build-llvm/share/scan-view cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-view/share/startfile.py /<>/build-llvm/share/scan-view/ [ 10%] Generating ../../../../share/scan-view/FileRadar.scpt cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E make_directory /<>/build-llvm/share/scan-view cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-view/share/FileRadar.scpt /<>/build-llvm/share/scan-view/ [ 10%] Generating ../../../../share/scan-view/GetRadarVersion.scpt cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E make_directory /<>/build-llvm/share/scan-view cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-view/share/GetRadarVersion.scpt /<>/build-llvm/share/scan-view/ [ 10%] Generating ../../../../share/scan-view/bugcatcher.ico cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E make_directory /<>/build-llvm/share/scan-view cd /<>/build-llvm/tools/clang/tools/scan-view && /usr/bin/cmake -E copy /<>/tools/clang/tools/scan-view/share/bugcatcher.ico /<>/build-llvm/share/scan-view/ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ make[4]: Leaving directory '/<>/build-llvm' [ 10%] Built target scan-view /usr/bin/make -f tools/lldb/scripts/CMakeFiles/swig_wrapper.dir/build.make tools/lldb/scripts/CMakeFiles/swig_wrapper.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/lldb/scripts /<>/build-llvm /<>/build-llvm/tools/lldb/scripts /<>/build-llvm/tools/lldb/scripts/CMakeFiles/swig_wrapper.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/lldb/scripts/CMakeFiles/swig_wrapper.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/lldb/scripts/CMakeFiles/swig_wrapper.dir/depend.internal". Dependee "/<>/build-llvm/tools/lldb/scripts/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/lldb/scripts/CMakeFiles/swig_wrapper.dir/depend.internal". Scanning dependencies of target swig_wrapper make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/lldb/scripts/CMakeFiles/swig_wrapper.dir/build.make tools/lldb/scripts/CMakeFiles/swig_wrapper.dir/build make[4]: Entering directory '/<>/build-llvm' In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCStreamer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCStreamer.h:17, from /<>/lib/MC/MCStreamer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 10%] Python script building LLDB Python wrapper cd /<>/build-llvm/tools/lldb/scripts && /usr/bin/python2.7 /<>/tools/lldb/scripts/prepare_bindings.py --srcRoot=/<>/tools/lldb --targetDir=/<>/build-llvm/tools/lldb/scripts --cfgBldDir=/<>/build-llvm/tools/lldb/scripts --prefix=/<>/build-llvm --swigExecutable=/usr/bin/swig3.0 [ 10%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcher.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcher.cpp.o -c /<>/utils/TableGen/DAGISelMatcher.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_hash.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_hash.c.o -c /<>/tools/polly/lib/External/isl/isl_hash.c [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_id.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_id.c.o -c /<>/tools/polly/lib/External/isl/isl_id.c [ 10%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Twine.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Twine.cpp.o -c /<>/lib/Support/Twine.cpp [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_id_to_ast_expr.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_id_to_ast_expr.c.o -c /<>/tools/polly/lib/External/isl/isl_id_to_ast_expr.c [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_id_to_pw_aff.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_id_to_pw_aff.c.o -c /<>/tools/polly/lib/External/isl/isl_id_to_pw_aff.c [ 10%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_ilp.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_ilp.c.o -c /<>/tools/polly/lib/External/isl/isl_ilp.c [ 11%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Unicode.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Unicode.cpp.o -c /<>/lib/Support/Unicode.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcher.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcher.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcher.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:509:62: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcher.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcher.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:430:5: required from 'void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:882:5: required from 'llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const std::pair*; T = std::pair; unsigned int N = 8]' /<>/utils/TableGen/DAGISelMatcher.h:563:58: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/DAGISelMatcher.h:13, from /<>/utils/TableGen/DAGISelMatcher.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 11%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_imath.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_imath.c.o -c /<>/tools/polly/lib/External/isl/isl_imath.c [ 11%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_input.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_input.c.o -c /<>/tools/polly/lib/External/isl/isl_input.c [ 11%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSubtargetInfo.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSubtargetInfo.cpp.o -c /<>/lib/MC/MCSubtargetInfo.cpp [ 11%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o -c /<>/lib/Support/YAMLParser.cpp make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target obj.clang-tblgen [ 11%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o -c /<>/utils/TableGen/DFAPacketizerEmitter.cpp [ 11%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbol.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSymbol.cpp.o -c /<>/lib/MC/MCSymbol.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/Support/YAMLParser.h:42, from /<>/lib/Support/YAMLParser.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/YAMLParser.h:149:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/Support/YAMLParser.h:41, from /<>/lib/Support/YAMLParser.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/lib/Support/YAMLParser.cpp: In member function 'void llvm::yaml::MappingNode::increment()': /<>/lib/Support/YAMLParser.cpp:2146:15: warning: this statement may fall through [-Wimplicit-fallthrough=] setError("Unexpected token. Expected Key or Block End", T); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/Support/YAMLParser.cpp:2147:5: note: here case Token::TK_Error: ^~~~ /<>/lib/Support/YAMLParser.cpp:2158:14: warning: this statement may fall through [-Wimplicit-fallthrough=] getNext(); ~~~~~~~^~ /<>/lib/Support/YAMLParser.cpp:2159:5: note: here case Token::TK_Error: ^~~~ /<>/lib/Support/YAMLParser.cpp: In member function 'void llvm::yaml::SequenceNode::increment()': /<>/lib/Support/YAMLParser.cpp:2199:15: warning: this statement may fall through [-Wimplicit-fallthrough=] setError( "Unexpected token. Expected Block Entry or Block End." ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ , T); ~~~~ /<>/lib/Support/YAMLParser.cpp:2201:5: note: here case Token::TK_Error: ^~~~ /<>/lib/Support/YAMLParser.cpp:2228:14: warning: this statement may fall through [-Wimplicit-fallthrough=] getNext(); ~~~~~~~^~ /<>/lib/Support/YAMLParser.cpp:2229:5: note: here case Token::TK_Error: ^~~~ [ 11%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_int_sioimath.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_int_sioimath.c.o -c /<>/tools/polly/lib/External/isl/isl_int_sioimath.c /usr/bin/make -f tools/lldb/source/API/CMakeFiles/liblldb_exports.dir/build.make tools/lldb/source/API/CMakeFiles/liblldb_exports.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/lldb/source/API /<>/build-llvm /<>/build-llvm/tools/lldb/source/API /<>/build-llvm/tools/lldb/source/API/CMakeFiles/liblldb_exports.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/lldb/source/API/CMakeFiles/liblldb_exports.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/lldb/source/API/CMakeFiles/liblldb_exports.dir/depend.internal". Dependee "/<>/build-llvm/tools/lldb/source/API/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/lldb/source/API/CMakeFiles/liblldb_exports.dir/depend.internal". Scanning dependencies of target liblldb_exports make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/lldb/source/API/CMakeFiles/liblldb_exports.dir/build.make tools/lldb/source/API/CMakeFiles/liblldb_exports.dir/build make[4]: Entering directory '/<>/build-llvm' [ 11%] Creating export file for liblldb cd /<>/build-llvm/tools/lldb/source/API && echo "LLVM_3.8 {" > liblldb.exports cd /<>/build-llvm/tools/lldb/source/API && grep -q [[:alnum:]] /<>/tools/lldb/source/API/liblldb.exports && echo " global:" >> liblldb.exports || : cd /<>/build-llvm/tools/lldb/source/API && sed -e "s/\$/;/" -e "s/^/ /" < /<>/tools/lldb/source/API/liblldb.exports >> liblldb.exports cd /<>/build-llvm/tools/lldb/source/API && echo " local: *;" >> liblldb.exports cd /<>/build-llvm/tools/lldb/source/API && echo "};" >> liblldb.exports make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target liblldb_exports /usr/bin/make -f tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/build.make tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/lldb/scripts/Python/modules/readline /<>/build-llvm /<>/build-llvm/tools/lldb/scripts/Python/modules/readline /<>/build-llvm/tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/depend.internal". Dependee "/<>/build-llvm/tools/lldb/scripts/Python/modules/readline/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/depend.internal". Scanning dependencies of target readline make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/build.make tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/build make[4]: Entering directory '/<>/build-llvm' [ 11%] Building CXX object tools/lldb/scripts/Python/modules/readline/CMakeFiles/readline.dir/readline.cpp.o cd /<>/build-llvm/tools/lldb/scripts/Python/modules/readline && /usr/bin/g++-8 -DHAVE_PROCESS_VM_READV -DHAVE_ROUND -DLLDB_DISABLE_LIBEDIT -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dreadline_EXPORTS -I/<>/build-llvm/tools/lldb/scripts/Python/modules/readline -I/<>/tools/lldb/scripts/Python/modules/readline -I/<>/tools/lldb/include -I/<>/build-llvm/tools/lldb/include -I/<>/build-llvm/include -I/<>/include -I/usr/include/python2.7 -I/<>/tools/clang/include -I/<>/build-llvm/tools/lldb/../clang/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -fno-exceptions -fno-rtti -Wno-macro-redefined -O2 -g -DNDEBUG -fPIC -o CMakeFiles/readline.dir/readline.cpp.o -c /<>/tools/lldb/scripts/Python/modules/readline/readline.cpp [ 11%] Linking CXX shared library ../../../../../../lib/readline.so cd /<>/build-llvm/tools/lldb/scripts/Python/modules/readline && /usr/bin/cmake -E cmake_link_script CMakeFiles/readline.dir/link.txt --verbose=1 /usr/bin/g++-8 -fPIC -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -fno-exceptions -fno-rtti -Wno-macro-redefined -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-z,defs -shared -Wl,-soname,readline.so -o ../../../../../../lib/readline.so CMakeFiles/readline.dir/readline.cpp.o -Wl,-rpath,"\$ORIGIN/../lib" -lpython2.7 make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target readline /usr/bin/make -f tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/build.make tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/bugpoint-passes /<>/build-llvm /<>/build-llvm/tools/bugpoint-passes /<>/build-llvm/tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/depend.internal". Dependee "/<>/build-llvm/tools/bugpoint-passes/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/depend.internal". Scanning dependencies of target BugpointPasses_exports make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/build.make tools/bugpoint-passes/CMakeFiles/BugpointPasses_exports.dir/build make[4]: Entering directory '/<>/build-llvm' In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/DFAPacketizerEmitter.cpp:20: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/DFAPacketizerEmitter.cpp:20: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 11%] Creating export file for BugpointPasses cd /<>/build-llvm/tools/bugpoint-passes && echo "LLVM_3.8 {" > BugpointPasses.exports cd /<>/build-llvm/tools/bugpoint-passes && grep -q [[:alnum:]] /<>/tools/bugpoint-passes/bugpoint.exports && echo " global:" >> BugpointPasses.exports || : cd /<>/build-llvm/tools/bugpoint-passes && sed -e "s/\$/;/" -e "s/^/ /" < /<>/tools/bugpoint-passes/bugpoint.exports >> BugpointPasses.exports cd /<>/build-llvm/tools/bugpoint-passes && echo " local: *;" >> BugpointPasses.exports cd /<>/build-llvm/tools/bugpoint-passes && echo "};" >> BugpointPasses.exports make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target BugpointPasses_exports [ 11%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DisassemblerEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/DisassemblerEmitter.cpp.o -c /<>/utils/TableGen/DisassemblerEmitter.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/PointerUnion.h:18, from /<>/include/llvm/MC/MCSymbol.h:18, from /<>/lib/MC/MCSymbol.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/PointerUnion.h:18, from /<>/include/llvm/MC/MCSymbol.h:18, from /<>/lib/MC/MCSymbol.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 11%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_local_space.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_local_space.c.o -c /<>/tools/polly/lib/External/isl/isl_local_space.c [ 11%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbolELF.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSymbolELF.cpp.o -c /<>/lib/MC/MCSymbolELF.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/DisassemblerEmitter.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/DisassemblerEmitter.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 11%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_lp.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_lp.c.o -c /<>/tools/polly/lib/External/isl/isl_lp.c make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target swig_wrapper [ 11%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/FastISelEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/FastISelEmitter.cpp.o -c /<>/utils/TableGen/FastISelEmitter.cpp [ 11%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCSymbolizer.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCSymbolizer.cpp.o -c /<>/lib/MC/MCSymbolizer.cpp [ 11%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_map.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_map.c.o -c /<>/tools/polly/lib/External/isl/isl_map.c [ 11%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCTargetOptions.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCTargetOptions.cpp.o -c /<>/lib/MC/MCTargetOptions.cpp /usr/bin/make -f projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/build.make projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/profile /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/profile /<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/depend.internal". Scanning dependencies of target profile make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/build.make projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/build make[4]: Entering directory '/<>/build-llvm' make[4]: Nothing to be done for 'projects/compiler-rt/lib/profile/CMakeFiles/profile.dir/build'. make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target profile /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/ubsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/ubsan /<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/depend.internal". Scanning dependencies of target clang_rt.ubsan_standalone_cxx-arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 11%] Linking CXX static library ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone_cxx-arm.a cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/cmake -P CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/cmake_clean_target.cmake cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang_rt.ubsan_standalone_cxx-arm.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone_cxx-arm.a CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_handlers_cxx.cc.o CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash.cc.o CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_itanium.cc.o CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_win.cc.o /usr/bin/ranlib ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone_cxx-arm.a make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target clang_rt.ubsan_standalone_cxx-arm [ 11%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o -c /<>/lib/Support/YAMLTraits.cpp [ 11%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/FixedLenDecoderEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/FixedLenDecoderEmitter.cpp.o -c /<>/utils/TableGen/FixedLenDecoderEmitter.cpp [ 11%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCValue.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCValue.cpp.o -c /<>/lib/MC/MCValue.cpp /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/ubsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/ubsan /<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm.dir/depend.internal". Scanning dependencies of target clang_rt.ubsan_standalone-arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 11%] Linking CXX static library ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone-arm.a cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/cmake -P CMakeFiles/clang_rt.ubsan_standalone-arm.dir/cmake_clean_target.cmake cd /<>/build-llvm/projects/compiler-rt/lib/ubsan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang_rt.ubsan_standalone-arm.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone-arm.a ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_allocator.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_common.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector1.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector2.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flags.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flag_parser.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libc.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libignore.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_persistent_allocator.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_posix.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_posix.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_printf.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_common.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_freebsd.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stackdepot.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace_printer.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_suppressions.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_libbacktrace.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_win.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_tls_get_addr.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_thread_registry.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_win.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_common_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_mapping_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_linux_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_posix_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stacktrace_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stoptheworld_linux_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_posix_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_unwind_linux_libcdep.cc.o CMakeFiles/RTUbsan.arm.dir/ubsan_diag.cc.o CMakeFiles/RTUbsan.arm.dir/ubsan_init.cc.o CMakeFiles/RTUbsan.arm.dir/ubsan_flags.cc.o CMakeFiles/RTUbsan.arm.dir/ubsan_handlers.cc.o CMakeFiles/RTUbsan.arm.dir/ubsan_value.cc.o CMakeFiles/RTUbsan_standalone.arm.dir/ubsan_init_standalone.cc.o /usr/bin/ranlib ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone-arm.a make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target clang_rt.ubsan_standalone-arm /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm.dir/depend.internal". Scanning dependencies of target clang_rt.asan_cxx-arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 11%] Linking CXX static library ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan_cxx-arm.a cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/cmake -P CMakeFiles/clang_rt.asan_cxx-arm.dir/cmake_clean_target.cmake cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang_rt.asan_cxx-arm.dir/link.txt --verbose=1 In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenDAGPatterns.h:19, from /<>/utils/TableGen/FastISelEmitter.cpp:20: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/CodeGen/MachineValueType.h:18, from /<>/utils/TableGen/CodeGenIntrinsics.h:17, from /<>/utils/TableGen/CodeGenDAGPatterns.h:18, from /<>/utils/TableGen/FastISelEmitter.cpp:20: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /usr/bin/ar qc ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan_cxx-arm.a CMakeFiles/RTAsan_cxx.arm.dir/asan_new_delete.cc.o ../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_handlers_cxx.cc.o ../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash.cc.o ../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_itanium.cc.o ../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_win.cc.o /usr/bin/ranlib ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan_cxx-arm.a make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target clang_rt.asan_cxx-arm /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-preinit-arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-preinit-arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-preinit-arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-preinit-arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-preinit-arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-preinit-arm.dir/depend.internal". Scanning dependencies of target clang_rt.asan-preinit-arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-preinit-arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-preinit-arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 11%] Linking CXX static library ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan-preinit-arm.a cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/cmake -P CMakeFiles/clang_rt.asan-preinit-arm.dir/cmake_clean_target.cmake cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang_rt.asan-preinit-arm.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan-preinit-arm.a CMakeFiles/RTAsan_preinit.arm.dir/asan_preinit.cc.o /usr/bin/ranlib ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan-preinit-arm.a make[4]: Leaving directory '/<>/build-llvm' [ 11%] Built target clang_rt.asan-preinit-arm [ 13%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_mac.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_mac.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_mac.cc /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm-symbols.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm-symbols.dir/depend In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/Support/YAMLTraits.h:13, from /<>/lib/Support/YAMLTraits.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/YAMLParser.h:149:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/Support/YAMLTraits.h:13, from /<>/lib/Support/YAMLTraits.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm-symbols.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm-symbols.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm-symbols.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm-symbols.dir/depend.internal". Scanning dependencies of target clang_rt.asan_cxx-arm-symbols make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm-symbols.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan_cxx-arm-symbols.dir/build make[4]: Entering directory '/<>/build-llvm' [ 13%] Generating exported symbols for clang_rt.asan_cxx-arm cd /<>/projects/compiler-rt/lib/asan && /usr/bin/python2.7 /<>/projects/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.asan_cxx-arm.a > /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.asan_cxx-arm.a.syms cd /<>/projects/compiler-rt/lib/asan && /usr/bin/cmake -E touch /<>/build-llvm/projects/compiler-rt/lib/asan/clang_rt.asan_cxx-arm.syms-stamp make[4]: Leaving directory '/<>/build-llvm' [ 13%] Built target clang_rt.asan_cxx-arm-symbols /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm-symbols.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm-symbols.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/ubsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/ubsan /<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm-symbols.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm-symbols.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm-symbols.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm-symbols.dir/depend.internal". Scanning dependencies of target clang_rt.ubsan_standalone_cxx-arm-symbols make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm-symbols.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone_cxx-arm-symbols.dir/build make[4]: Entering directory '/<>/build-llvm' [ 13%] Generating exported symbols for clang_rt.ubsan_standalone_cxx-arm cd /<>/projects/compiler-rt/lib/ubsan && /usr/bin/python2.7 /<>/projects/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py --extra ubsan.syms.extra /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone_cxx-arm.a > /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone_cxx-arm.a.syms cd /<>/projects/compiler-rt/lib/ubsan && /usr/bin/cmake -E touch /<>/build-llvm/projects/compiler-rt/lib/ubsan/clang_rt.ubsan_standalone_cxx-arm.syms-stamp make[4]: Leaving directory '/<>/build-llvm' [ 13%] Built target clang_rt.ubsan_standalone_cxx-arm-symbols /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm-symbols.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm-symbols.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/ubsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/ubsan /<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm-symbols.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm-symbols.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm-symbols.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm-symbols.dir/depend.internal". Scanning dependencies of target clang_rt.ubsan_standalone-arm-symbols make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm-symbols.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/clang_rt.ubsan_standalone-arm-symbols.dir/build make[4]: Entering directory '/<>/build-llvm' [ 13%] Generating exported symbols for clang_rt.ubsan_standalone-arm cd /<>/projects/compiler-rt/lib/ubsan && /usr/bin/python2.7 /<>/projects/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py --extra ubsan.syms.extra /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone-arm.a > /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.ubsan_standalone-arm.a.syms [ 13%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWin64EH.cpp.o cd /<>/projects/compiler-rt/lib/ubsan && /usr/bin/cmake -E touch /<>/build-llvm/projects/compiler-rt/lib/ubsan/clang_rt.ubsan_standalone-arm.syms-stamp cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCWin64EH.cpp.o -c /<>/lib/MC/MCWin64EH.cpp make[4]: Leaving directory '/<>/build-llvm' [ 13%] Built target clang_rt.ubsan_standalone-arm-symbols /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/ubsan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/ubsan /<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/depend.internal". Scanning dependencies of target ubsan make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/build.make projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/build make[4]: Entering directory '/<>/build-llvm' make[4]: Nothing to be done for 'projects/compiler-rt/lib/ubsan/CMakeFiles/ubsan.dir/build'. make[4]: Leaving directory '/<>/build-llvm' [ 13%] Built target ubsan [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/InstrInfoEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/InstrInfoEmitter.cpp.o -c /<>/utils/TableGen/InstrInfoEmitter.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/FixedLenDecoderEmitter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/FixedLenDecoderEmitter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/Support/Endian.h:18, from /<>/include/llvm/Support/Win64EH.h:20, from /<>/include/llvm/MC/MCWin64EH.h:19, from /<>/lib/MC/MCWin64EH.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/vector:60, from /<>/include/llvm/MC/MCWinEH.h:13, from /<>/include/llvm/MC/MCWin64EH.h:18, from /<>/lib/MC/MCWin64EH.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/Support/Endian.h:18, from /<>/include/llvm/Support/Win64EH.h:20, from /<>/include/llvm/MC/MCWin64EH.h:19, from /<>/lib/MC/MCWin64EH.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/vector:60, from /<>/include/llvm/MC/MCWinEH.h:13, from /<>/include/llvm/MC/MCWin64EH.h:18, from /<>/lib/MC/MCWin64EH.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/utils/TableGen/FixedLenDecoderEmitter.cpp:975:6: warning: 'void {anonymous}::FilterChooser::SingletonExists(unsigned int) const' defined but not used [-Wunused-function] void FilterChooser::SingletonExists(unsigned Opc) const { ^~~~~~~~~~~~~ [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o -c /<>/lib/Support/raw_os_ostream.cpp [ 13%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCWinEH.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MCWinEH.cpp.o -c /<>/lib/MC/MCWinEH.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/CodeGenDAGPatterns.h:19, from /<>/utils/TableGen/InstrInfoEmitter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/CodeGen/MachineValueType.h:18, from /<>/utils/TableGen/CodeGenIntrinsics.h:17, from /<>/utils/TableGen/CodeGenDAGPatterns.h:18, from /<>/utils/TableGen/InstrInfoEmitter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o -c /<>/lib/Support/raw_ostream.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/FixedLenDecoderEmitter.cpp:15: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const long long unsigned int&}; _Tp = long long unsigned int; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator > >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/FixedLenDecoderEmitter.cpp:15: /usr/include/c++/8/bits/stl_vector.h: In member function 'unsigned int {anonymous}::FilterChooser::getIslands(std::vector&, std::vector&, std::vector >&, const insn_t&) const': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCWinEH.cpp:11: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/lib/MC/MCWinEH.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ /<>/utils/TableGen/FixedLenDecoderEmitter.cpp:1057:1: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator > >'} changed in GCC 7.1 } ^ /<>/utils/TableGen/FixedLenDecoderEmitter.cpp:1057:1: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator > >'} changed in GCC 7.1 In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCContext.h:13, from /<>/lib/MC/MCWinEH.cpp:11: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/lib/MC/MCWinEH.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regcomp.c.o cd /<>/build-llvm/lib/Support && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -o CMakeFiles/LLVMSupport.dir/regcomp.c.o -c /<>/lib/Support/regcomp.c [ 13%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MachObjectWriter.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/MachObjectWriter.cpp.o -c /<>/lib/MC/MachObjectWriter.cpp [ 13%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.o cd /<>/build-llvm/lib/Support && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -o CMakeFiles/LLVMSupport.dir/regerror.c.o -c /<>/lib/Support/regerror.c [ 13%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regexec.c.o cd /<>/build-llvm/lib/Support && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -o CMakeFiles/LLVMSupport.dir/regexec.c.o -c /<>/lib/Support/regexec.c [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_map_list.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_map_list.c.o -c /<>/tools/polly/lib/External/isl/isl_map_list.c [ 13%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regfree.c.o cd /<>/build-llvm/lib/Support && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -o CMakeFiles/LLVMSupport.dir/regfree.c.o -c /<>/lib/Support/regfree.c [ 13%] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o cd /<>/build-llvm/lib/Support && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -o CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o -c /<>/lib/Support/regstrlcpy.c [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Atomic.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Atomic.cpp.o -c /<>/lib/Support/Atomic.cpp [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o -c /<>/lib/Support/DynamicLibrary.cpp [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_map_simplify.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_map_simplify.c.o -c /<>/tools/polly/lib/External/isl/isl_map_simplify.c [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/IntrinsicEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/IntrinsicEmitter.cpp.o -c /<>/utils/TableGen/IntrinsicEmitter.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCMachObjectWriter.h:13, from /<>/lib/MC/MachObjectWriter.cpp:10: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::MachObjectWriter::MachSymbolData&}; _Tp = llvm::MachObjectWriter::MachSymbolData; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCMachObjectWriter.h:13, from /<>/lib/MC/MachObjectWriter.cpp:10: /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1821:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __unguarded_linear_insert(_RandomAccessIterator __last, ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __insertion_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In file included from /usr/include/c++/8/bits/stl_algo.h:61, from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCMachObjectWriter.h:13, from /<>/lib/MC/MachObjectWriter.cpp:10: /usr/include/c++/8/bits/stl_heap.h: In function 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = llvm::MachObjectWriter::MachSymbolData; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_heap.h:214:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, ^~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCMachObjectWriter.h:13, from /<>/lib/MC/MachObjectWriter.cpp:10: /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __heap_select(_RandomAccessIterator __first, ^~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1668:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 __introsort_loop(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1940:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1954:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__cut, __last, __depth_limit, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1933:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__heap_select(__first, __middle, __last, __comp); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Errno.cpp.o In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCMachObjectWriter.h:13, from /<>/lib/MC/MachObjectWriter.cpp:10: /usr/include/c++/8/bits/stl_vector.h: In member function 'void llvm::MachObjectWriter::computeSymbolTable(llvm::MCAssembler&, std::vector&, std::vector&, std::vector&)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Errno.cpp.o -c /<>/lib/Support/Errno.cpp /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/MC/MCMachObjectWriter.h:13, from /<>/lib/MC/MachObjectWriter.cpp:10: /usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__first, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ std::__lg(__last - __first) * 2, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __first + int(_S_threshold), __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1968:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__introsort_loop(__first, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ std::__lg(__last - __first) * 2, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1885:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __first + int(_S_threshold), __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1890:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/OptParserEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/OptParserEmitter.cpp.o -c /<>/utils/TableGen/OptParserEmitter.cpp [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Host.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Host.cpp.o -c /<>/lib/Support/Host.cpp [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o -c /<>/utils/TableGen/PseudoLoweringEmitter.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/IntrinsicEmitter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/CodeGen/MachineValueType.h:18, from /<>/utils/TableGen/CodeGenIntrinsics.h:17, from /<>/utils/TableGen/IntrinsicEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/SourceMgr.h:19, from /<>/include/llvm/TableGen/Error.h:18, from /<>/utils/TableGen/OptParserEmitter.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/SourceMgr.h:19, from /<>/include/llvm/TableGen/Error.h:18, from /<>/utils/TableGen/OptParserEmitter.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/StringTableBuilder.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/StringTableBuilder.cpp.o -c /<>/lib/MC/StringTableBuilder.cpp [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Memory.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Memory.cpp.o -c /<>/lib/Support/Memory.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/PseudoLoweringEmitter.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/PseudoLoweringEmitter.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Mutex.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Mutex.cpp.o -c /<>/lib/Support/Mutex.cpp [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Path.cpp.o -c /<>/lib/Support/Path.cpp [ 13%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/SubtargetFeature.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/SubtargetFeature.cpp.o -c /<>/lib/MC/SubtargetFeature.cpp [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_map_subtract.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_map_subtract.c.o -c /<>/tools/polly/lib/External/isl/isl_map_subtract.c [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RegisterInfoEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/RegisterInfoEmitter.cpp.o -c /<>/utils/TableGen/RegisterInfoEmitter.cpp /<>/lib/Support/Path.cpp: In function 'llvm::sys::fs::file_magic llvm::sys::fs::identify_magic(llvm::StringRef)': /<>/lib/Support/Path.cpp:1073:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Magic[1] == 0x01) ^~ /<>/lib/Support/Path.cpp:1076:5: note: here case 0x90: // PA-RISC Windows ^~~~ [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_map_to_basic_set.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_map_to_basic_set.c.o -c /<>/tools/polly/lib/External/isl/isl_map_to_basic_set.c [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_mat.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_mat.c.o -c /<>/tools/polly/lib/External/isl/isl_mat.c [ 13%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o -c /<>/lib/MC/WinCOFFObjectWriter.cpp [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o -c /<>/utils/TableGen/SubtargetEmitter.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/RegisterInfoEmitter.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/RegisterInfoEmitter.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Process.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Process.cpp.o -c /<>/lib/Support/Process.cpp [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o -c /<>/utils/TableGen/TableGen.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/lib/MC/WinCOFFObjectWriter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/lib/MC/WinCOFFObjectWriter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/lib/MC/WinCOFFObjectWriter.cpp:225:8: warning: 'static size_t {anonymous}::COFFSection::size()' defined but not used [-Wunused-function] size_t COFFSection::size() { return COFF::SectionSize; } ^~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/utils/TableGen/TableGen.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/utils/TableGen/TableGen.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Program.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Program.cpp.o -c /<>/lib/Support/Program.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/utils/TableGen/TableGen.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair >]': /<>/include/llvm/Support/CommandLine.h:515:12: required from 'llvm::cl::ValuesClass::ValuesClass(const char*, DataType, const char*, va_list) [with DataType = int; va_list = __va_list]' /<>/include/llvm/Support/CommandLine.h:538:25: required from 'llvm::cl::ValuesClass llvm::cl::values(const char*, DataType, const char*, ...) [with DataType = int]' /<>/utils/TableGen/TableGen.cpp:92:33: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/utils/TableGen/TableGen.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/utils/TableGen/TableGen.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair >; T2 = std::pair >; T = std::pair >; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair >*; It2 = std::pair >*; T = std::pair >]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair >]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair >; unsigned int N = 4]' /<>/include/llvm/Support/CommandLine.h:504:33: required from 'llvm::cl::ValuesClass llvm::cl::values(const char*, DataType, const char*, ...) [with DataType = int]' /<>/utils/TableGen/TableGen.cpp:92:33: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/utils/TableGen/TableGen.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/SubtargetEmitter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/SubtargetEmitter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86DisassemblerTables.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/X86DisassemblerTables.cpp.o -c /<>/utils/TableGen/X86DisassemblerTables.cpp [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_morph.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_morph.c.o -c /<>/tools/polly/lib/External/isl/isl_morph.c [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_obj.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_obj.c.o -c /<>/tools/polly/lib/External/isl/isl_obj.c In file included from /<>/include/llvm/Support/raw_ostream.h:17, from /<>/utils/TableGen/X86DisassemblerTables.h:22, from /<>/utils/TableGen/X86DisassemblerTables.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/utils/TableGen/X86DisassemblerTables.cpp:643:59: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/utils/TableGen/X86DisassemblerShared.h:14, from /<>/utils/TableGen/X86DisassemblerTables.h:20, from /<>/utils/TableGen/X86DisassemblerTables.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_options.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_options.c.o -c /<>/tools/polly/lib/External/isl/isl_options.c In file included from /<>/include/llvm/Support/raw_ostream.h:17, from /<>/utils/TableGen/X86DisassemblerTables.h:22, from /<>/utils/TableGen/X86DisassemblerTables.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:778:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:897:36: required from 'llvm::SmallVector::SmallVector(const llvm::SmallVector&) [with T = std::pair; unsigned int N = 6]' /usr/include/c++/8/tuple:1668:70: required from 'std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) [with _Args1 = {const llvm::SmallVector, 6>&}; unsigned int ..._Indexes1 = {0}; _Args2 = {}; unsigned int ..._Indexes2 = {}; _T1 = const llvm::SmallVector, 6>; _T2 = unsigned int]' /usr/include/c++/8/tuple:1657:63: required from 'std::pair<_T1, _T2>::pair(std::piecewise_construct_t, std::tuple<_Args1 ...>, std::tuple<_Args2 ...>) [with _Args1 = {const llvm::SmallVector, 6>&}; _Args2 = {}; _T1 = const llvm::SmallVector, 6>; _T2 = unsigned int]' /usr/include/c++/8/ext/new_allocator.h:136:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::pair, 6>, unsigned int>; _Args = {const std::piecewise_construct_t&, std::tuple, 6>&>, std::tuple<>}; _Tp = std::_Rb_tree_node, 6>, unsigned int> >]' /usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair, 6>, unsigned int>; _Args = {const std::piecewise_construct_t&, std::tuple, 6>&>, std::tuple<>}; _Tp = std::_Rb_tree_node, 6>, unsigned int> >; std::allocator_traits >::allocator_type = std::allocator, 6>, unsigned int> > >]' /usr/include/c++/8/bits/stl_tree.h:637:32: required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, 6>&>, std::tuple<>}; _Key = llvm::SmallVector, 6>; _Val = std::pair, 6>, unsigned int>; _KeyOfValue = std::_Select1st, 6>, unsigned int> >; _Compare = std::less, 6> >; _Alloc = std::allocator, 6>, unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node, 6>, unsigned int> >*]' /usr/include/c++/8/bits/stl_tree.h:654:4: required from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, 6>&>, std::tuple<>}; _Key = llvm::SmallVector, 6>; _Val = std::pair, 6>, unsigned int>; _KeyOfValue = std::_Select1st, 6>, unsigned int> >; _Compare = std::less, 6> >; _Alloc = std::allocator, 6>, unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node, 6>, unsigned int> >*]' /usr/include/c++/8/bits/stl_tree.h:2414:13: required from 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, 6>&>, std::tuple<>}; _Key = llvm::SmallVector, 6>; _Val = std::pair, 6>, unsigned int>; _KeyOfValue = std::_Select1st, 6>, unsigned int> >; _Compare = std::less, 6> >; _Alloc = std::allocator, 6>, unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator = std::_Rb_tree_iterator, 6>, unsigned int> >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator = std::_Rb_tree_const_iterator, 6>, unsigned int> >]' /usr/include/c++/8/bits/stl_map.h:499:8: required from 'std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const key_type&) [with _Key = llvm::SmallVector, 6>; _Tp = unsigned int; _Compare = std::less, 6> >; _Alloc = std::allocator, 6>, unsigned int> >; std::map<_Key, _Tp, _Compare, _Alloc>::mapped_type = unsigned int; std::map<_Key, _Tp, _Compare, _Alloc>::key_type = llvm::SmallVector, 6>]' /<>/utils/TableGen/X86DisassemblerTables.cpp:645:42: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/utils/TableGen/X86DisassemblerShared.h:14, from /<>/utils/TableGen/X86DisassemblerTables.h:20, from /<>/utils/TableGen/X86DisassemblerTables.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_output.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_output.c.o -c /<>/tools/polly/lib/External/isl/isl_output.c [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o -c /<>/lib/Support/RWMutex.cpp [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SearchForAddressOfSpecialSymbol.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/SearchForAddressOfSpecialSymbol.cpp.o -c /<>/lib/Support/SearchForAddressOfSpecialSymbol.cpp [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Signals.cpp.o -c /<>/lib/Support/Signals.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/RegisterInfoEmitter.cpp:16: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {long long int}; _Tp = long long int; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/SubtargetEmitter.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = long long int; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:478:5: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const long long int&}; _Tp = long long int; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ [ 13%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFStreamer.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/WinCOFFStreamer.cpp.o -c /<>/lib/MC/WinCOFFStreamer.cpp In file included from /usr/include/c++/8/set:60, from /<>/include/llvm/ADT/SmallSet.h:20, from /<>/include/llvm/ADT/SetVector.h:24, from /<>/utils/TableGen/CodeGenRegisters.h:22, from /<>/utils/TableGen/RegisterInfoEmitter.cpp:16: /usr/include/c++/8/bits/stl_tree.h: In member function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = long long unsigned int; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenRegisters.h:18, from /<>/utils/TableGen/RegisterInfoEmitter.cpp:16: /usr/include/c++/8/bits/vector.tcc: In function 'void {anonymous}::RegisterInfoEmitter::EmitRegMappingTables(llvm::raw_ostream&, const std::deque&, bool)': /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/map:61, from /<>/include/llvm/TableGen/Record.h:26, from /<>/utils/TableGen/CodeGenRegisters.h:26, from /<>/utils/TableGen/RegisterInfoEmitter.cpp:16: /usr/include/c++/8/bits/stl_map.h:518:8: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_point.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_point.c.o -c /<>/tools/polly/lib/External/isl/isl_point.c [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86ModRMFilters.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/X86ModRMFilters.cpp.o -c /<>/utils/TableGen/X86ModRMFilters.cpp [ 13%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o -c /<>/utils/TableGen/X86RecognizableInstr.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCAsmBackend.h:13, from /<>/lib/MC/WinCOFFStreamer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCAsmBackend.h:13, from /<>/lib/MC/WinCOFFStreamer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCAsmBackend.h:13, from /<>/lib/MC/WinCOFFStreamer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/MC/MCContext.h:517:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/MC/MCAsmBackend.h:13, from /<>/lib/MC/WinCOFFStreamer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/SubtargetEmitter.cpp:14: /usr/include/c++/8/bits/stl_vector.h: In member function 'void {anonymous}::SubtargetEmitter::GenSchedClassTables(const llvm::CodeGenProcModel&, {anonymous}::SubtargetEmitter::SchedClassTables&)': /usr/include/c++/8/bits/stl_vector.h:847:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_fill_insert(end(), __new_size - size(), __x); ^~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o -c /<>/lib/Support/TargetRegistry.cpp [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_polynomial.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_polynomial.c.o -c /<>/tools/polly/lib/External/isl/isl_polynomial.c [ 13%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/YAML.cpp.o cd /<>/build-llvm/lib/MC && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/MC -I/<>/lib/MC -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMMC.dir/YAML.cpp.o -c /<>/lib/MC/YAML.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/X86RecognizableInstr.h:20, from /<>/utils/TableGen/X86RecognizableInstr.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/utils/TableGen/CodeGenInstruction.h:17, from /<>/utils/TableGen/CodeGenTarget.h:20, from /<>/utils/TableGen/X86RecognizableInstr.h:20, from /<>/utils/TableGen/X86RecognizableInstr.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o -c /<>/lib/Support/ThreadLocal.cpp [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Threading.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Threading.cpp.o -c /<>/lib/Support/Threading.cpp [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TimeValue.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/TimeValue.cpp.o -c /<>/lib/Support/TimeValue.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/Support/YAMLTraits.h:13, from /<>/include/llvm/MC/YAML.h:4, from /<>/lib/MC/YAML.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/YAMLParser.h:149:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/include/llvm/Support/YAMLTraits.h:13, from /<>/include/llvm/MC/YAML.h:4, from /<>/lib/MC/YAML.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 13%] Linking CXX static library ../libLLVMMC.a cd /<>/build-llvm/lib/MC && /usr/bin/cmake -P CMakeFiles/LLVMMC.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/MC && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMMC.dir/link.txt --verbose=1 [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o -c /<>/lib/Support/Valgrind.cpp /usr/bin/ar qc ../libLLVMMC.a CMakeFiles/LLVMMC.dir/ConstantPools.cpp.o CMakeFiles/LLVMMC.dir/ELFObjectWriter.cpp.o CMakeFiles/LLVMMC.dir/MCAsmBackend.cpp.o CMakeFiles/LLVMMC.dir/MCAsmInfo.cpp.o CMakeFiles/LLVMMC.dir/MCAsmInfoCOFF.cpp.o CMakeFiles/LLVMMC.dir/MCAsmInfoDarwin.cpp.o CMakeFiles/LLVMMC.dir/MCAsmInfoELF.cpp.o CMakeFiles/LLVMMC.dir/MCAsmStreamer.cpp.o CMakeFiles/LLVMMC.dir/MCAssembler.cpp.o CMakeFiles/LLVMMC.dir/MCCodeEmitter.cpp.o CMakeFiles/LLVMMC.dir/MCCodeGenInfo.cpp.o CMakeFiles/LLVMMC.dir/MCContext.cpp.o CMakeFiles/LLVMMC.dir/MCDwarf.cpp.o CMakeFiles/LLVMMC.dir/MCELFObjectTargetWriter.cpp.o CMakeFiles/LLVMMC.dir/MCELFStreamer.cpp.o CMakeFiles/LLVMMC.dir/MCExpr.cpp.o CMakeFiles/LLVMMC.dir/MCFragment.cpp.o CMakeFiles/LLVMMC.dir/MCInst.cpp.o CMakeFiles/LLVMMC.dir/MCInstPrinter.cpp.o CMakeFiles/LLVMMC.dir/MCInstrAnalysis.cpp.o CMakeFiles/LLVMMC.dir/MCInstrDesc.cpp.o CMakeFiles/LLVMMC.dir/MCLabel.cpp.o CMakeFiles/LLVMMC.dir/MCLinkerOptimizationHint.cpp.o CMakeFiles/LLVMMC.dir/MCMachOStreamer.cpp.o CMakeFiles/LLVMMC.dir/MCMachObjectTargetWriter.cpp.o CMakeFiles/LLVMMC.dir/MCNullStreamer.cpp.o CMakeFiles/LLVMMC.dir/MCObjectFileInfo.cpp.o CMakeFiles/LLVMMC.dir/MCObjectStreamer.cpp.o CMakeFiles/LLVMMC.dir/MCObjectWriter.cpp.o CMakeFiles/LLVMMC.dir/MCRegisterInfo.cpp.o CMakeFiles/LLVMMC.dir/MCSchedule.cpp.o CMakeFiles/LLVMMC.dir/MCSection.cpp.o CMakeFiles/LLVMMC.dir/MCSectionCOFF.cpp.o CMakeFiles/LLVMMC.dir/MCSectionELF.cpp.o CMakeFiles/LLVMMC.dir/MCSectionMachO.cpp.o CMakeFiles/LLVMMC.dir/MCStreamer.cpp.o CMakeFiles/LLVMMC.dir/MCSubtargetInfo.cpp.o CMakeFiles/LLVMMC.dir/MCSymbol.cpp.o CMakeFiles/LLVMMC.dir/MCSymbolELF.cpp.o CMakeFiles/LLVMMC.dir/MCSymbolizer.cpp.o CMakeFiles/LLVMMC.dir/MCTargetOptions.cpp.o CMakeFiles/LLVMMC.dir/MCValue.cpp.o CMakeFiles/LLVMMC.dir/MCWin64EH.cpp.o CMakeFiles/LLVMMC.dir/MCWinEH.cpp.o CMakeFiles/LLVMMC.dir/MachObjectWriter.cpp.o CMakeFiles/LLVMMC.dir/StringTableBuilder.cpp.o CMakeFiles/LLVMMC.dir/SubtargetFeature.cpp.o CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o CMakeFiles/LLVMMC.dir/WinCOFFStreamer.cpp.o CMakeFiles/LLVMMC.dir/YAML.cpp.o /usr/bin/ranlib ../libLLVMMC.a make[4]: Leaving directory '/<>/build-llvm' [ 13%] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o cd /<>/build-llvm/lib/Support && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/lib/Support -I/<>/lib/Support -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o -c /<>/lib/Support/Watchdog.cpp [ 13%] Built target LLVMMC [ 13%] Linking CXX static library ../libLLVMSupport.a cd /<>/build-llvm/lib/Support && /usr/bin/cmake -P CMakeFiles/LLVMSupport.dir/cmake_clean_target.cmake cd /<>/build-llvm/lib/Support && /usr/bin/cmake -E cmake_link_script CMakeFiles/LLVMSupport.dir/link.txt --verbose=1 [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_printer.c.o /usr/bin/ar qc ../libLLVMSupport.a CMakeFiles/LLVMSupport.dir/APFloat.cpp.o CMakeFiles/LLVMSupport.dir/APInt.cpp.o CMakeFiles/LLVMSupport.dir/APSInt.cpp.o CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o CMakeFiles/LLVMSupport.dir/Allocator.cpp.o CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o CMakeFiles/LLVMSupport.dir/COM.cpp.o CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o CMakeFiles/LLVMSupport.dir/Compression.cpp.o CMakeFiles/LLVMSupport.dir/ConvertUTF.c.o CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o CMakeFiles/LLVMSupport.dir/DataStream.cpp.o CMakeFiles/LLVMSupport.dir/Debug.cpp.o CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o CMakeFiles/LLVMSupport.dir/Dwarf.cpp.o CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o CMakeFiles/LLVMSupport.dir/Hashing.cpp.o CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o CMakeFiles/LLVMSupport.dir/IntrusiveRefCntPtr.cpp.o CMakeFiles/LLVMSupport.dir/JamCRC.cpp.o CMakeFiles/LLVMSupport.dir/LEB128.cpp.o CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o CMakeFiles/LLVMSupport.dir/Locale.cpp.o CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o CMakeFiles/LLVMSupport.dir/MemoryObject.cpp.o CMakeFiles/LLVMSupport.dir/MD5.cpp.o CMakeFiles/LLVMSupport.dir/Options.cpp.o CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o CMakeFiles/LLVMSupport.dir/RandomNumberGenerator.cpp.o CMakeFiles/LLVMSupport.dir/Regex.cpp.o CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o CMakeFiles/LLVMSupport.dir/SpecialCaseList.cpp.o CMakeFiles/LLVMSupport.dir/Statistic.cpp.o CMakeFiles/LLVMSupport.dir/StreamingMemoryObject.cpp.o CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o CMakeFiles/LLVMSupport.dir/StringMap.cpp.o CMakeFiles/LLVMSupport.dir/StringPool.cpp.o CMakeFiles/LLVMSupport.dir/StringSaver.cpp.o CMakeFiles/LLVMSupport.dir/StringRef.cpp.o CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o CMakeFiles/LLVMSupport.dir/TargetParser.cpp.o CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o CMakeFiles/LLVMSupport.dir/Timer.cpp.o CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o CMakeFiles/LLVMSupport.dir/Triple.cpp.o CMakeFiles/LLVMSupport.dir/Twine.cpp.o CMakeFiles/LLVMSupport.dir/Unicode.cpp.o CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o CMakeFiles/LLVMSupport.dir/regcomp.c.o CMakeFiles/LLVMSupport.dir/regerror.c.o CMakeFiles/LLVMSupport.dir/regexec.c.o CMakeFiles/LLVMSupport.dir/regfree.c.o CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o CMakeFiles/LLVMSupport.dir/Atomic.cpp.o CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o CMakeFiles/LLVMSupport.dir/Errno.cpp.o CMakeFiles/LLVMSupport.dir/Host.cpp.o CMakeFiles/LLVMSupport.dir/Memory.cpp.o CMakeFiles/LLVMSupport.dir/Mutex.cpp.o CMakeFiles/LLVMSupport.dir/Path.cpp.o CMakeFiles/LLVMSupport.dir/Process.cpp.o CMakeFiles/LLVMSupport.dir/Program.cpp.o CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o CMakeFiles/LLVMSupport.dir/SearchForAddressOfSpecialSymbol.cpp.o CMakeFiles/LLVMSupport.dir/Signals.cpp.o CMakeFiles/LLVMSupport.dir/TargetRegistry.cpp.o CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o CMakeFiles/LLVMSupport.dir/Threading.cpp.o CMakeFiles/LLVMSupport.dir/TimeValue.cpp.o CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_printer.c.o -c /<>/tools/polly/lib/External/isl/isl_printer.c /usr/bin/ranlib ../libLLVMSupport.a make[4]: Leaving directory '/<>/build-llvm' [ 13%] Built target LLVMSupport /usr/bin/make -f utils/FileCheck/CMakeFiles/FileCheck.dir/build.make utils/FileCheck/CMakeFiles/FileCheck.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/FileCheck /<>/build-llvm /<>/build-llvm/utils/FileCheck /<>/build-llvm/utils/FileCheck/CMakeFiles/FileCheck.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/utils/FileCheck/CMakeFiles/FileCheck.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/FileCheck/CMakeFiles/FileCheck.dir/depend.internal". Dependee "/<>/build-llvm/utils/FileCheck/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/FileCheck/CMakeFiles/FileCheck.dir/depend.internal". Scanning dependencies of target FileCheck make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/FileCheck/CMakeFiles/FileCheck.dir/build.make utils/FileCheck/CMakeFiles/FileCheck.dir/build make[4]: Entering directory '/<>/build-llvm' [ 13%] Building CXX object utils/FileCheck/CMakeFiles/FileCheck.dir/FileCheck.cpp.o cd /<>/build-llvm/utils/FileCheck && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/FileCheck -I/<>/utils/FileCheck -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/FileCheck.dir/FileCheck.cpp.o -c /<>/utils/FileCheck/FileCheck.cpp [ 13%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_linux.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_linux.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_malloc_linux.cc [ 13%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_range.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_range.c.o -c /<>/tools/polly/lib/External/isl/isl_range.c [ 14%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_reordering.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_reordering.c.o -c /<>/tools/polly/lib/External/isl/isl_reordering.c /usr/bin/make -f utils/not/CMakeFiles/not.dir/build.make utils/not/CMakeFiles/not.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/not /<>/build-llvm /<>/build-llvm/utils/not /<>/build-llvm/utils/not/CMakeFiles/not.dir/DependInfo.cmake --color= [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_mac.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_mac.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_malloc_mac.cc Dependee "/<>/build-llvm/utils/not/CMakeFiles/not.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/not/CMakeFiles/not.dir/depend.internal". Dependee "/<>/build-llvm/utils/not/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/not/CMakeFiles/not.dir/depend.internal". Scanning dependencies of target not make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/not/CMakeFiles/not.dir/build.make utils/not/CMakeFiles/not.dir/build make[4]: Entering directory '/<>/build-llvm' [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_win.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_win.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_malloc_win.cc [ 14%] Building CXX object utils/not/CMakeFiles/not.dir/not.cpp.o cd /<>/build-llvm/utils/not && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/not -I/<>/utils/not -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/not.dir/not.cpp.o -c /<>/utils/not/not.cpp [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_poisoning.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_poisoning.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_poisoning.cc [ 14%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_sample.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_sample.c.o -c /<>/tools/polly/lib/External/isl/isl_sample.c [ 14%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o cd /<>/build-llvm/utils/TableGen && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/TableGen -I/<>/utils/TableGen -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o -c /<>/utils/TableGen/CTagsEmitter.cpp [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_posix.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_posix.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_posix.cc [ 14%] Linking CXX executable ../../bin/not cd /<>/build-llvm/utils/not && /usr/bin/cmake -E cmake_link_script CMakeFiles/not.dir/link.txt --verbose=1 /usr/bin/g++-8 -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections CMakeFiles/not.dir/not.cpp.o -o ../../bin/not -Wl,-rpath,"\$ORIGIN/../lib" ../../lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lz -lm [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_report.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_report.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_report.cc make[4]: Leaving directory '/<>/build-llvm' [ 14%] Built target not [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_rtl.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_rtl.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_rtl.cc [ 14%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_scan.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_scan.c.o -c /<>/tools/polly/lib/External/isl/isl_scan.c In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/SourceMgr.h:19, from /<>/utils/TableGen/CTagsEmitter.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/TableGen/Record.h:1519:77: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/SourceMgr.h:19, from /<>/utils/TableGen/CTagsEmitter.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 14%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_schedule.c.o -c /<>/tools/polly/lib/External/isl/isl_schedule.c make[4]: Leaving directory '/<>/build-llvm' [ 14%] Built target RTAsan.arm /usr/bin/make -f utils/yaml-bench/CMakeFiles/yaml-bench.dir/build.make utils/yaml-bench/CMakeFiles/yaml-bench.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/yaml-bench /<>/build-llvm /<>/build-llvm/utils/yaml-bench /<>/build-llvm/utils/yaml-bench/CMakeFiles/yaml-bench.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/utils/yaml-bench/CMakeFiles/yaml-bench.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/yaml-bench/CMakeFiles/yaml-bench.dir/depend.internal". Dependee "/<>/build-llvm/utils/yaml-bench/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/yaml-bench/CMakeFiles/yaml-bench.dir/depend.internal". Scanning dependencies of target yaml-bench make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/yaml-bench/CMakeFiles/yaml-bench.dir/build.make utils/yaml-bench/CMakeFiles/yaml-bench.dir/build make[4]: Entering directory '/<>/build-llvm' [ 14%] Building CXX object utils/yaml-bench/CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o cd /<>/build-llvm/utils/yaml-bench && /usr/bin/g++-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/utils/yaml-bench -I/<>/utils/yaml-bench -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o -c /<>/utils/yaml-bench/YAMLBench.cpp /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm.dir/depend.internal". Scanning dependencies of target clang_rt.asan-arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm.dir/build make[4]: Entering directory '/<>/build-llvm' [ 14%] Linking CXX static library ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan-arm.a cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/cmake -P CMakeFiles/clang_rt.asan-arm.dir/cmake_clean_target.cmake cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang_rt.asan-arm.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan-arm.a CMakeFiles/RTAsan_preinit.arm.dir/asan_preinit.cc.o CMakeFiles/RTAsan.arm.dir/asan_allocator.cc.o CMakeFiles/RTAsan.arm.dir/asan_activation.cc.o CMakeFiles/RTAsan.arm.dir/asan_debugging.cc.o CMakeFiles/RTAsan.arm.dir/asan_fake_stack.cc.o CMakeFiles/RTAsan.arm.dir/asan_flags.cc.o CMakeFiles/RTAsan.arm.dir/asan_globals.cc.o CMakeFiles/RTAsan.arm.dir/asan_interceptors.cc.o CMakeFiles/RTAsan.arm.dir/asan_linux.cc.o CMakeFiles/RTAsan.arm.dir/asan_mac.cc.o CMakeFiles/RTAsan.arm.dir/asan_malloc_linux.cc.o CMakeFiles/RTAsan.arm.dir/asan_malloc_mac.cc.o CMakeFiles/RTAsan.arm.dir/asan_malloc_win.cc.o CMakeFiles/RTAsan.arm.dir/asan_poisoning.cc.o CMakeFiles/RTAsan.arm.dir/asan_posix.cc.o CMakeFiles/RTAsan.arm.dir/asan_report.cc.o CMakeFiles/RTAsan.arm.dir/asan_rtl.cc.o CMakeFiles/RTAsan.arm.dir/asan_stack.cc.o CMakeFiles/RTAsan.arm.dir/asan_stats.cc.o CMakeFiles/RTAsan.arm.dir/asan_suppressions.cc.o CMakeFiles/RTAsan.arm.dir/asan_thread.cc.o CMakeFiles/RTAsan.arm.dir/asan_win.cc.o ../interception/CMakeFiles/RTInterception.arm.dir/interception_linux.cc.o ../interception/CMakeFiles/RTInterception.arm.dir/interception_mac.cc.o ../interception/CMakeFiles/RTInterception.arm.dir/interception_win.cc.o ../interception/CMakeFiles/RTInterception.arm.dir/interception_type_test.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_allocator.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_common.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector1.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector2.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flags.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flag_parser.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libc.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libignore.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_persistent_allocator.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_posix.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_posix.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_printf.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_common.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_freebsd.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stackdepot.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace_printer.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_suppressions.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_libbacktrace.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_win.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_tls_get_addr.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_thread_registry.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_win.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_common_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_mapping_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_linux_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_posix_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stacktrace_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stoptheworld_linux_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_posix_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_unwind_linux_libcdep.cc.o ../lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common.cc.o ../lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common_linux.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_diag.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_init.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_flags.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_handlers.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_value.cc.o /usr/bin/ranlib ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan-arm.a make[4]: Leaving directory '/<>/build-llvm' [ 14%] Built target clang_rt.asan-arm /usr/bin/make -f projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-inline.dir/build.make projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-inline.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan/tests /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan/tests /<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-inline.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-inline.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-inline.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-inline.dir/depend.internal". Scanning dependencies of target RTAsanTest.arm-inline make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-inline.dir/build.make projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-inline.dir/build [ 14%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_band.c.o make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_schedule_band.c.o -c /<>/tools/polly/lib/External/isl/isl_schedule_band.c [ 14%] Linking CXX static library libRTAsanTest.arm-inline.a cd /<>/build-llvm/projects/compiler-rt/lib/asan/tests && /usr/bin/cmake -P CMakeFiles/RTAsanTest.arm-inline.dir/cmake_clean_target.cmake cd /<>/build-llvm/projects/compiler-rt/lib/asan/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/RTAsanTest.arm-inline.dir/link.txt --verbose=1 /usr/bin/ar qc libRTAsanTest.arm-inline.a ../CMakeFiles/RTAsan.arm.dir/asan_allocator.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_activation.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_debugging.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_fake_stack.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_flags.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_globals.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_interceptors.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_linux.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_mac.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_malloc_linux.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_malloc_mac.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_malloc_win.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_poisoning.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_posix.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_report.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_rtl.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_stack.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_stats.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_suppressions.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_thread.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_win.cc.o ../CMakeFiles/RTAsan_cxx.arm.dir/asan_new_delete.cc.o ../../interception/CMakeFiles/RTInterception.arm.dir/interception_linux.cc.o ../../interception/CMakeFiles/RTInterception.arm.dir/interception_mac.cc.o ../../interception/CMakeFiles/RTInterception.arm.dir/interception_win.cc.o ../../interception/CMakeFiles/RTInterception.arm.dir/interception_type_test.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_allocator.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_common.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector1.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector2.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flags.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flag_parser.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libc.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libignore.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_mac.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_persistent_allocator.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_linux.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_posix.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_posix.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_printf.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_common.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_freebsd.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_linux.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_mac.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stackdepot.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace_printer.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_suppressions.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_libbacktrace.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_mac.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_win.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_tls_get_addr.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_thread_registry.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_win.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_common_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_mapping_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_linux_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_posix_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stacktrace_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stoptheworld_linux_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_posix_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_unwind_linux_libcdep.cc.o ../../lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common.cc.o ../../lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common_linux.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_diag.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_init.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_flags.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_handlers.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_value.cc.o ../../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_handlers_cxx.cc.o ../../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash.cc.o ../../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_itanium.cc.o ../../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_win.cc.o /usr/bin/ranlib libRTAsanTest.arm-inline.a make[4]: Leaving directory '/<>/build-llvm' make[4]: Leaving directory '/<>/build-llvm' [ 14%] Built target RTAsanTest.arm-inline /usr/bin/make -f projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-with-calls.dir/build.make projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-with-calls.dir/depend [ 14%] Built target obj.llvm-tblgen /usr/bin/make -f tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/build.make tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan/tests /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan/tests /<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-with-calls.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/utils/TableGen /<>/build-llvm /<>/build-llvm/tools/clang/utils/TableGen /<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/depend.internal". Scanning dependencies of target clang-tblgen make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/build.make tools/clang/utils/TableGen/CMakeFiles/clang-tblgen.dir/build make[4]: Entering directory '/<>/build-llvm' Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-with-calls.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-with-calls.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-with-calls.dir/depend.internal". Scanning dependencies of target RTAsanTest.arm-with-calls make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-with-calls.dir/build.make projects/compiler-rt/lib/asan/tests/CMakeFiles/RTAsanTest.arm-with-calls.dir/build make[4]: Entering directory '/<>/build-llvm' [ 14%] Linking CXX executable ../../../../bin/clang-tblgen cd /<>/build-llvm/tools/clang/utils/TableGen && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang-tblgen.dir/link.txt --verbose=1 [ 14%] Linking CXX static library libRTAsanTest.arm-with-calls.a cd /<>/build-llvm/projects/compiler-rt/lib/asan/tests && /usr/bin/cmake -P CMakeFiles/RTAsanTest.arm-with-calls.dir/cmake_clean_target.cmake cd /<>/build-llvm/projects/compiler-rt/lib/asan/tests && /usr/bin/cmake -E cmake_link_script CMakeFiles/RTAsanTest.arm-with-calls.dir/link.txt --verbose=1 /usr/bin/ar qc libRTAsanTest.arm-with-calls.a ../CMakeFiles/RTAsan.arm.dir/asan_allocator.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_activation.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_debugging.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_fake_stack.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_flags.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_globals.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_interceptors.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_linux.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_mac.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_malloc_linux.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_malloc_mac.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_malloc_win.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_poisoning.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_posix.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_report.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_rtl.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_stack.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_stats.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_suppressions.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_thread.cc.o ../CMakeFiles/RTAsan.arm.dir/asan_win.cc.o ../CMakeFiles/RTAsan_cxx.arm.dir/asan_new_delete.cc.o ../../interception/CMakeFiles/RTInterception.arm.dir/interception_linux.cc.o ../../interception/CMakeFiles/RTInterception.arm.dir/interception_mac.cc.o ../../interception/CMakeFiles/RTInterception.arm.dir/interception_win.cc.o ../../interception/CMakeFiles/RTInterception.arm.dir/interception_type_test.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_allocator.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_common.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector1.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector2.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flags.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flag_parser.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libc.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libignore.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_mac.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_persistent_allocator.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_linux.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_posix.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_posix.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_printf.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_common.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_freebsd.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_linux.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_mac.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stackdepot.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace_printer.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_suppressions.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_libbacktrace.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_mac.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_win.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_tls_get_addr.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_thread_registry.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_win.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_common_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_mapping_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_linux_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_posix_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stacktrace_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stoptheworld_linux_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_posix_libcdep.cc.o ../../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_unwind_linux_libcdep.cc.o ../../lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common.cc.o ../../lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common_linux.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_diag.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_init.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_flags.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_handlers.cc.o ../../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_value.cc.o ../../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_handlers_cxx.cc.o ../../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash.cc.o ../../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_itanium.cc.o ../../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_win.cc.o /usr/bin/g++-8 -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections CMakeFiles/obj.clang-tblgen.dir/ClangASTNodesEmitter.cpp.o CMakeFiles/obj.clang-tblgen.dir/ClangAttrEmitter.cpp.o CMakeFiles/obj.clang-tblgen.dir/ClangCommentCommandInfoEmitter.cpp.o CMakeFiles/obj.clang-tblgen.dir/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp.o CMakeFiles/obj.clang-tblgen.dir/ClangCommentHTMLTagsEmitter.cpp.o CMakeFiles/obj.clang-tblgen.dir/ClangDiagnosticsEmitter.cpp.o CMakeFiles/obj.clang-tblgen.dir/ClangSACheckersEmitter.cpp.o CMakeFiles/obj.clang-tblgen.dir/NeonEmitter.cpp.o CMakeFiles/obj.clang-tblgen.dir/TableGen.cpp.o -o ../../../../bin/clang-tblgen -Wl,-rpath,"\$ORIGIN/../lib" ../../../../lib/libLLVMSupport.a ../../../../lib/libLLVMTableGen.a ../../../../lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lz -lm [ 14%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_node.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_schedule_node.c.o -c /<>/tools/polly/lib/External/isl/isl_schedule_node.c /usr/bin/ranlib libRTAsanTest.arm-with-calls.a make[4]: Leaving directory '/<>/build-llvm' [ 14%] Built target RTAsanTest.arm-with-calls [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_stack.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_stack.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_stack.cc /usr/bin/make -f utils/TableGen/CMakeFiles/llvm-tblgen.dir/build.make utils/TableGen/CMakeFiles/llvm-tblgen.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/utils/TableGen /<>/build-llvm /<>/build-llvm/utils/TableGen /<>/build-llvm/utils/TableGen/CMakeFiles/llvm-tblgen.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/utils/TableGen/CMakeFiles/llvm-tblgen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/utils/TableGen/CMakeFiles/llvm-tblgen.dir/depend.internal". Dependee "/<>/build-llvm/utils/TableGen/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/utils/TableGen/CMakeFiles/llvm-tblgen.dir/depend.internal". Scanning dependencies of target llvm-tblgen make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f utils/TableGen/CMakeFiles/llvm-tblgen.dir/build.make utils/TableGen/CMakeFiles/llvm-tblgen.dir/build make[4]: Entering directory '/<>/build-llvm' [ 14%] Linking CXX executable ../../bin/llvm-tblgen cd /<>/build-llvm/utils/TableGen && /usr/bin/cmake -E cmake_link_script CMakeFiles/llvm-tblgen.dir/link.txt --verbose=1 [ 14%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_read.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_schedule_read.c.o -c /<>/tools/polly/lib/External/isl/isl_schedule_read.c /usr/bin/ld: ../../../../lib/libLLVMSupport.a(PrettyStackTrace.cpp.o)(.debug_addr+0x204): R_ARM_ABS32 used with TLS symbol _ZL20PrettyStackTraceHead /usr/bin/g++-8 -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/AsmWriterEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/AsmWriterInst.cpp.o CMakeFiles/obj.llvm-tblgen.dir/Attributes.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CallingConvEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeEmitterGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeGenInstruction.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeGenMapTable.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeGenRegisters.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeGenSchedule.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CodeGenTarget.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DAGISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DAGISelMatcher.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/DisassemblerEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/FastISelEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/FixedLenDecoderEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/InstrInfoEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/IntrinsicEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/OptParserEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/RegisterInfoEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o CMakeFiles/obj.llvm-tblgen.dir/X86DisassemblerTables.cpp.o CMakeFiles/obj.llvm-tblgen.dir/X86ModRMFilters.cpp.o CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o -o ../../bin/llvm-tblgen -Wl,-rpath,"\$ORIGIN/../lib" ../../lib/libLLVMSupport.a ../../lib/libLLVMTableGen.a ../../lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lz -lm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/depend make[4]: Entering directory '/<>/build-llvm' [ 14%] Built target clang-tblgen /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm-symbols.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm-symbols.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm-symbols.dir/DependInfo.cmake --color= [ 14%] Generating version list for clang_rt.asan-dynamic-arm cd /<>/projects/compiler-rt/lib/asan && /usr/bin/python2.7 /<>/projects/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py --version-list --extra asan.syms.extra /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.asan-arm.a /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.asan_cxx-arm.a > /<>/build-llvm/projects/compiler-rt/lib/asan/clang_rt.asan-dynamic-arm.vers Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm-symbols.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm-symbols.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm-symbols.dir/depend.internal". Scanning dependencies of target clang_rt.asan-arm-symbols make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm-symbols.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-arm-symbols.dir/build make[4]: Entering directory '/<>/build-llvm' [ 14%] Generating exported symbols for clang_rt.asan-arm cd /<>/projects/compiler-rt/lib/asan && /usr/bin/python2.7 /<>/projects/compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py --extra asan.syms.extra /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.asan-arm.a > /<>/build-llvm/lib/clang/3.8.1/lib/linux/libclang_rt.asan-arm.a.syms cd /<>/projects/compiler-rt/lib/asan && /usr/bin/cmake -E touch /<>/build-llvm/projects/compiler-rt/lib/asan/clang_rt.asan-arm.syms-stamp make[4]: Leaving directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/DependInfo.cmake --color= [ 14%] Built target clang_rt.asan-arm-symbols /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/depend.internal". Scanning dependencies of target clang_rt.asan-dynamic-arm-version-list make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/build make[4]: Entering directory '/<>/build-llvm' make[4]: Nothing to be done for 'projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm-version-list.dir/build'. make[4]: Leaving directory '/<>/build-llvm' [ 14%] Built target clang_rt.asan-dynamic-arm-version-list /usr/bin/make -f tools/clang/lib/Headers/CMakeFiles/clang-headers.dir/build.make tools/clang/lib/Headers/CMakeFiles/clang-headers.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Headers /<>/build-llvm /<>/build-llvm/tools/clang/lib/Headers /<>/build-llvm/tools/clang/lib/Headers/CMakeFiles/clang-headers.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/depend.internal". Scanning dependencies of target RTAsan_dynamic_version_script_dummy.arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/build Dependee "/<>/build-llvm/tools/clang/lib/Headers/CMakeFiles/clang-headers.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Headers/CMakeFiles/clang-headers.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Headers/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Headers/CMakeFiles/clang-headers.dir/depend.internal". Scanning dependencies of target clang-headers make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Headers/CMakeFiles/clang-headers.dir/build.make tools/clang/lib/Headers/CMakeFiles/clang-headers.dir/build make[4]: Entering directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' [ 14%] Copying clang's adxintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/adxintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/adxintrin.h In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/utils/yaml-bench/YAMLBench.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/YAMLParser.h:149:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/SmallString.h:17, from /<>/utils/yaml-bench/YAMLBench.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/dummy.cc.o [ 14%] Copying clang's altivec.h... cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/dummy.cc.o -c /<>/build-llvm/projects/compiler-rt/lib/asan/dummy.cc cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/altivec.h /<>/build-llvm/./lib/clang/3.8.1/include/altivec.h make[4]: Leaving directory '/<>/build-llvm' [ 14%] Built target RTAsan_dynamic_version_script_dummy.arm /usr/bin/make -f tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHRead.dir/build.make tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHRead.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Serialization /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Serialization /<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHRead.dir/DependInfo.cmake --color= [ 14%] Copying clang's ammintrin.h... Dependee "/<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHRead.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHRead.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHRead.dir/depend.internal". Scanning dependencies of target ClangAttrPCHRead cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/ammintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/ammintrin.h make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHRead.dir/build.make tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHRead.dir/build make[4]: Entering directory '/<>/build-llvm' [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_stats.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_stats.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_stats.cc [ 14%] Building AttrPCHRead.inc... cd /<>/build-llvm/tools/clang/include/clang/Serialization && ../../../../../bin/clang-tblgen -gen-clang-attr-pch-read -I /<>/tools/clang/include/clang/Serialization/../../ -I /<>/tools/clang/include/clang/Serialization -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Serialization/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Serialization/AttrPCHRead.inc.tmp [ 14%] Copying clang's arm_acle.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/arm_acle.h /<>/build-llvm/./lib/clang/3.8.1/include/arm_acle.h [ 14%] Updating AttrPCHRead.inc... cd /<>/build-llvm/tools/clang/include/clang/Serialization && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Serialization/AttrPCHRead.inc.tmp /<>/build-llvm/tools/clang/include/clang/Serialization/AttrPCHRead.inc make[4]: Leaving directory '/<>/build-llvm' [ 14%] Copying clang's avx2intrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx2intrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx2intrin.h [ 14%] Built target ClangAttrPCHRead [ 14%] Copying clang's avx512bwintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx512bwintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx512bwintrin.h [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_suppressions.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_suppressions.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_suppressions.cc [ 14%] Copying clang's avx512cdintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx512cdintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx512cdintrin.h /usr/bin/ld: ../../lib/libLLVMSupport.a(PrettyStackTrace.cpp.o)(.debug_addr+0x204): R_ARM_ABS32 used with TLS symbol _ZL20PrettyStackTraceHead make[4]: Leaving directory '/<>/build-llvm' [ 14%] Copying clang's avx512erintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx512erintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx512erintrin.h [ 14%] Built target llvm-tblgen [ 14%] Copying clang's avx512fintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx512fintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx512fintrin.h [ 14%] Copying clang's avx512vlbwintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx512vlbwintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx512vlbwintrin.h [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_thread.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_thread.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_thread.cc [ 14%] Copying clang's avx512vlintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx512vlintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx512vlintrin.h /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLNamedCharacterReferences.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLNamedCharacterReferences.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLNamedCharacterReferences.dir/DependInfo.cmake --color= [ 14%] Copying clang's avx512dqintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx512dqintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx512dqintrin.h Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLNamedCharacterReferences.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLNamedCharacterReferences.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLNamedCharacterReferences.dir/depend.internal". Scanning dependencies of target ClangCommentHTMLNamedCharacterReferences make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLNamedCharacterReferences.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLNamedCharacterReferences.dir/build make[4]: Entering directory '/<>/build-llvm' [ 14%] Building CommentHTMLNamedCharacterReferences.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-comment-html-named-character-references -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td -o /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc.tmp [ 14%] Copying clang's avx512vldqintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avx512vldqintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avx512vldqintrin.h [ 14%] Updating CommentHTMLNamedCharacterReferences.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.inc [ 14%] Copying clang's pkuintrin.h... make[4]: Leaving directory '/<>/build-llvm' cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/pkuintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/pkuintrin.h [ 14%] Built target ClangCommentHTMLNamedCharacterReferences [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_win.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_win.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_win.cc [ 14%] Copying clang's avxintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/avxintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/avxintrin.h [ 14%] Building CXX object projects/compiler-rt/lib/asan/CMakeFiles/RTAsan_dynamic.arm.dir/asan_new_delete.cc.o cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/g++-8 -DASAN_DYNAMIC=1 -DASAN_HAS_EXCEPTIONS=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/projects/compiler-rt/lib/asan -I/<>/projects/compiler-rt/lib/asan -I/<>/build-llvm/include -I/<>/include -I/<>/projects/compiler-rt/lib/asan/.. -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -o CMakeFiles/RTAsan_dynamic.arm.dir/asan_new_delete.cc.o -c /<>/projects/compiler-rt/lib/asan/asan_new_delete.cc [ 14%] Copying clang's bmi2intrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/bmi2intrin.h /<>/build-llvm/./lib/clang/3.8.1/include/bmi2intrin.h [ 14%] Copying clang's bmiintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/bmiintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/bmiintrin.h [ 14%] Copying clang's __clang_cuda_runtime_wrapper.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/__clang_cuda_runtime_wrapper.h /<>/build-llvm/./lib/clang/3.8.1/include/__clang_cuda_runtime_wrapper.h [ 14%] Copying clang's cuda_builtin_vars.h... [ 14%] Copying clang's cpuid.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/cuda_builtin_vars.h /<>/build-llvm/./lib/clang/3.8.1/include/cuda_builtin_vars.h cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/cpuid.h /<>/build-llvm/./lib/clang/3.8.1/include/cpuid.h [ 14%] Copying clang's f16cintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/f16cintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/f16cintrin.h [ 14%] Copying clang's emmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/emmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/emmintrin.h [ 14%] Copying clang's float.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/float.h /<>/build-llvm/./lib/clang/3.8.1/include/float.h [ 14%] Copying clang's fma4intrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/fma4intrin.h /<>/build-llvm/./lib/clang/3.8.1/include/fma4intrin.h [ 14%] Copying clang's fmaintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/fmaintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/fmaintrin.h [ 14%] Copying clang's fxsrintrin.h... [ 14%] Copying clang's htmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/fxsrintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/fxsrintrin.h cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/htmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/htmintrin.h [ 14%] Copying clang's ia32intrin.h... [ 14%] Copying clang's htmxlintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/ia32intrin.h /<>/build-llvm/./lib/clang/3.8.1/include/ia32intrin.h cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/htmxlintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/htmxlintrin.h [ 14%] Copying clang's immintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/immintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/immintrin.h [ 14%] Copying clang's inttypes.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/inttypes.h /<>/build-llvm/./lib/clang/3.8.1/include/inttypes.h [ 14%] Copying clang's Intrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/Intrin.h /<>/build-llvm/./lib/clang/3.8.1/include/Intrin.h /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTagsProperties.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTagsProperties.dir/depend [ 15%] Copying clang's iso646.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/iso646.h /<>/build-llvm/./lib/clang/3.8.1/include/iso646.h make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTagsProperties.dir/DependInfo.cmake --color= [ 15%] Copying clang's limits.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/limits.h /<>/build-llvm/./lib/clang/3.8.1/include/limits.h [ 15%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_schedule_tree.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_schedule_tree.c.o -c /<>/tools/polly/lib/External/isl/isl_schedule_tree.c Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTagsProperties.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTagsProperties.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTagsProperties.dir/depend.internal". Scanning dependencies of target ClangCommentHTMLTagsProperties make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTagsProperties.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTagsProperties.dir/build make[4]: Entering directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangDeclNodes.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangDeclNodes.dir/depend make[4]: Entering directory '/<>/build-llvm' [ 15%] Building CommentHTMLTagsProperties.inc... cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangDeclNodes.dir/DependInfo.cmake --color= cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-comment-html-tags-properties -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/CommentHTMLTags.td -o /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLTagsProperties.inc.tmp [ 15%] Copying clang's lzcntintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/lzcntintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/lzcntintrin.h Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangDeclNodes.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangDeclNodes.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangDeclNodes.dir/depend.internal". Scanning dependencies of target ClangDeclNodes make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangDeclNodes.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangDeclNodes.dir/build make[4]: Entering directory '/<>/build-llvm' [ 15%] Building DeclNodes.inc... [ 15%] Copying clang's mm3dnow.h... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-decl-nodes -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/../Basic/DeclNodes.td -o /<>/build-llvm/tools/clang/include/clang/AST/DeclNodes.inc.tmp cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/mm3dnow.h /<>/build-llvm/./lib/clang/3.8.1/include/mm3dnow.h [ 15%] Updating DeclNodes.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/DeclNodes.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/DeclNodes.inc [ 15%] Updating CommentHTMLTagsProperties.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLTagsProperties.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLTagsProperties.inc [ 15%] Copying clang's mmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/mmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/mmintrin.h make[4]: Leaving directory '/<>/build-llvm' [ 15%] Built target ClangDeclNodes make[4]: Leaving directory '/<>/build-llvm' [ 15%] Copying clang's module.modulemap... [ 15%] Copying clang's mm_malloc.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/mm_malloc.h /<>/build-llvm/./lib/clang/3.8.1/include/mm_malloc.h cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/module.modulemap /<>/build-llvm/./lib/clang/3.8.1/include/module.modulemap [ 15%] Built target ClangCommentHTMLTagsProperties /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangAttrClasses.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangAttrClasses.dir/depend /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangAttrVisitor.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangAttrVisitor.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrClasses.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrVisitor.dir/DependInfo.cmake --color= [ 15%] Copying clang's nmmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/nmmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/nmmintrin.h Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrClasses.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrClasses.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrClasses.dir/depend.internal". Scanning dependencies of target ClangAttrClasses make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangAttrClasses.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangAttrClasses.dir/build make[4]: Entering directory '/<>/build-llvm' Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrVisitor.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrVisitor.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrVisitor.dir/depend.internal". Scanning dependencies of target ClangAttrVisitor make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangAttrVisitor.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangAttrVisitor.dir/build [ 15%] Copying clang's pmmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/pmmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/pmmintrin.h [ 15%] Building Attrs.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-attr-classes -I /<>/tools/clang/include/clang/AST/../../ -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/AST/Attrs.inc.tmp make[4]: Entering directory '/<>/build-llvm' [ 15%] Copying clang's popcntintrin.h... [ 16%] Updating Attrs.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/Attrs.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/Attrs.inc cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/popcntintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/popcntintrin.h [ 16%] Building AttrVisitor.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-attr-ast-visitor -I /<>/tools/clang/include/clang/AST/../../ -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/AST/AttrVisitor.inc.tmp make[4]: Leaving directory '/<>/build-llvm' [ 16%] Copying clang's prfchwintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/prfchwintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/prfchwintrin.h [ 16%] Copying clang's rdseedintrin.h... [ 16%] Built target ClangAttrClasses cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/rdseedintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/rdseedintrin.h [ 16%] Updating AttrVisitor.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/AttrVisitor.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/AttrVisitor.inc [ 16%] Copying clang's rtmintrin.h... [ 16%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_scheduler.c.o cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/rtmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/rtmintrin.h cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_scheduler.c.o -c /<>/tools/polly/lib/External/isl/isl_scheduler.c make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangStmtNodes.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangStmtNodes.dir/depend [ 16%] Copying clang's s390intrin.h... [ 16%] Built target ClangAttrVisitor cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/s390intrin.h /<>/build-llvm/./lib/clang/3.8.1/include/s390intrin.h /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangAttrDump.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangAttrDump.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangStmtNodes.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrDump.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrDump.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrDump.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrDump.dir/depend.internal". Scanning dependencies of target ClangAttrDump make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangAttrDump.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangAttrDump.dir/build make[4]: Entering directory '/<>/build-llvm' [ 16%] Copying clang's shaintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/shaintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/shaintrin.h Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangStmtNodes.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangStmtNodes.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangStmtNodes.dir/depend.internal". Scanning dependencies of target ClangStmtNodes make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangStmtNodes.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangStmtNodes.dir/build [ 16%] Linking CXX executable ../../bin/yaml-bench make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm/utils/yaml-bench && /usr/bin/cmake -E cmake_link_script CMakeFiles/yaml-bench.dir/link.txt --verbose=1 [ 16%] Building AttrDump.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-attr-dump -I /<>/tools/clang/include/clang/AST/../../ -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/AST/AttrDump.inc.tmp [ 16%] Building StmtNodes.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-stmt-nodes -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/../Basic/StmtNodes.td -o /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc.tmp [ 16%] Copying clang's smmintrin.h... /usr/bin/g++-8 -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections CMakeFiles/yaml-bench.dir/YAMLBench.cpp.o -o ../../bin/yaml-bench -Wl,-rpath,"\$ORIGIN/../lib" ../../lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lz -lm cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/smmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/smmintrin.h [ 16%] Updating AttrDump.inc... [ 16%] Updating StmtNodes.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/AttrDump.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/AttrDump.inc cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc make[4]: Leaving directory '/<>/build-llvm' [ 16%] Copying clang's stdalign.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/stdalign.h /<>/build-llvm/./lib/clang/3.8.1/include/stdalign.h make[4]: Leaving directory '/<>/build-llvm' [ 16%] Built target ClangAttrDump [ 16%] Built target ClangStmtNodes [ 16%] Copying clang's stdarg.h... /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangAttrImpl.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangAttrImpl.dir/depend cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/stdarg.h /<>/build-llvm/./lib/clang/3.8.1/include/stdarg.h make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrImpl.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrImpl.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrImpl.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangAttrImpl.dir/depend.internal". Scanning dependencies of target ClangAttrImpl make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangAttrImpl.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangAttrImpl.dir/build make[4]: Entering directory '/<>/build-llvm' [ 16%] Copying clang's stdatomic.h... [ 16%] Building AttrImpl.inc... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/stdatomic.h /<>/build-llvm/./lib/clang/3.8.1/include/stdatomic.h cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-attr-impl -I /<>/tools/clang/include/clang/AST/../../ -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/AST/AttrImpl.inc.tmp [ 16%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_seq.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_seq.c.o -c /<>/tools/polly/lib/External/isl/isl_seq.c [ 16%] Copying clang's stdbool.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/stdbool.h /<>/build-llvm/./lib/clang/3.8.1/include/stdbool.h [ 16%] Updating AttrImpl.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/AttrImpl.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/AttrImpl.inc make[4]: Leaving directory '/<>/build-llvm' [ 16%] Copying clang's stddef.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/stddef.h /<>/build-llvm/./lib/clang/3.8.1/include/stddef.h [ 16%] Copying clang's __stddef_max_align_t.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/__stddef_max_align_t.h /<>/build-llvm/./lib/clang/3.8.1/include/__stddef_max_align_t.h [ 16%] Built target ClangAttrImpl /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentNodes.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentNodes.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentNodes.dir/DependInfo.cmake --color= [ 16%] Copying clang's stdint.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/stdint.h /<>/build-llvm/./lib/clang/3.8.1/include/stdint.h make[4]: Leaving directory '/<>/build-llvm' Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentNodes.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentNodes.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentNodes.dir/depend.internal". Scanning dependencies of target ClangCommentNodes make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentNodes.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentNodes.dir/build [ 16%] Copying clang's stdnoreturn.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/stdnoreturn.h /<>/build-llvm/./lib/clang/3.8.1/include/stdnoreturn.h make[4]: Entering directory '/<>/build-llvm' [ 16%] Built target yaml-bench /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTags.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTags.dir/depend [ 16%] Building CommentNodes.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-comment-nodes -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/../Basic/CommentNodes.td -o /<>/build-llvm/tools/clang/include/clang/AST/CommentNodes.inc.tmp make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTags.dir/DependInfo.cmake --color= [ 16%] Copying clang's tbmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/tbmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/tbmintrin.h Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTags.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTags.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTags.dir/depend.internal". Scanning dependencies of target ClangCommentHTMLTags make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTags.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentHTMLTags.dir/build [ 16%] Updating CommentNodes.inc... make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/CommentNodes.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/CommentNodes.inc [ 16%] Copying clang's tgmath.h... make[4]: Leaving directory '/<>/build-llvm' cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/tgmath.h /<>/build-llvm/./lib/clang/3.8.1/include/tgmath.h [ 16%] Built target ClangCommentNodes [ 16%] Building CommentHTMLTags.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-comment-html-tags -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/CommentHTMLTags.td -o /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLTags.inc.tmp [ 16%] Copying clang's tmmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/tmmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/tmmintrin.h [ 16%] Updating CommentHTMLTags.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLTags.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/CommentHTMLTags.inc make[4]: Leaving directory '/<>/build-llvm' [ 16%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_set_list.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_set_list.c.o -c /<>/tools/polly/lib/External/isl/isl_set_list.c [ 16%] Built target ClangCommentHTMLTags [ 16%] Copying clang's unwind.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/unwind.h /<>/build-llvm/./lib/clang/3.8.1/include/unwind.h [ 16%] Copying clang's vadefs.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/vadefs.h /<>/build-llvm/./lib/clang/3.8.1/include/vadefs.h [ 16%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_sort.c.o [ 16%] Copying clang's varargs.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/varargs.h /<>/build-llvm/./lib/clang/3.8.1/include/varargs.h cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_sort.c.o -c /<>/tools/polly/lib/External/isl/isl_sort.c [ 16%] Copying clang's vecintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/vecintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/vecintrin.h [ 16%] Copying clang's __wmmintrin_aes.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/__wmmintrin_aes.h /<>/build-llvm/./lib/clang/3.8.1/include/__wmmintrin_aes.h [ 16%] Copying clang's wmmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/wmmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/wmmintrin.h [ 16%] Linking CXX executable ../../bin/FileCheck [ 16%] Copying clang's __wmmintrin_pclmul.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/__wmmintrin_pclmul.h /<>/build-llvm/./lib/clang/3.8.1/include/__wmmintrin_pclmul.h cd /<>/build-llvm/utils/FileCheck && /usr/bin/cmake -E cmake_link_script CMakeFiles/FileCheck.dir/link.txt --verbose=1 /usr/bin/g++-8 -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -Wl,-z,relro -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections CMakeFiles/FileCheck.dir/FileCheck.cpp.o -o ../../bin/FileCheck -Wl,-rpath,"\$ORIGIN/../lib" ../../lib/libLLVMSupport.a -lrt -ldl -ltinfo -lpthread -lz -lm [ 16%] Copying clang's x86intrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/x86intrin.h /<>/build-llvm/./lib/clang/3.8.1/include/x86intrin.h [ 16%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_space.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_space.c.o -c /<>/tools/polly/lib/External/isl/isl_space.c [ 16%] Copying clang's xmmintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/xmmintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/xmmintrin.h [ 16%] Copying clang's xopintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/xopintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/xopintrin.h [ 16%] Copying clang's xsaveintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/xsaveintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/xsaveintrin.h /usr/bin/ld: ../../lib/libLLVMSupport.a(PrettyStackTrace.cpp.o)(.debug_addr+0x204): R_ARM_ABS32 used with TLS symbol _ZL20PrettyStackTraceHead make[4]: Leaving directory '/<>/build-llvm' [ 16%] Built target FileCheck [ 16%] Copying clang's xsaveoptintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/xsaveoptintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/xsaveoptintrin.h /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandInfo.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandInfo.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandInfo.dir/DependInfo.cmake --color= [ 16%] Copying clang's xsavecintrin.h... Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandInfo.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandInfo.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandInfo.dir/depend.internal". Scanning dependencies of target ClangCommentCommandInfo make[4]: Leaving directory '/<>/build-llvm' cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/xsavecintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/xsavecintrin.h /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandInfo.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandInfo.dir/build make[4]: Entering directory '/<>/build-llvm' [ 16%] Copying clang's xsavesintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/xsavesintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/xsavesintrin.h [ 16%] Building CommentCommandInfo.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-comment-command-info -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/CommentCommands.td -o /<>/build-llvm/tools/clang/include/clang/AST/CommentCommandInfo.inc.tmp [ 16%] Updating CommentCommandInfo.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/CommentCommandInfo.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/CommentCommandInfo.inc [ 16%] Copying clang's xtestintrin.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/tools/clang/lib/Headers/xtestintrin.h /<>/build-llvm/./lib/clang/3.8.1/include/xtestintrin.h make[4]: Leaving directory '/<>/build-llvm' [ 16%] Built target ClangCommentCommandInfo [ 16%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_stream.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_stream.c.o -c /<>/tools/polly/lib/External/isl/isl_stream.c [ 16%] Building arm_neon.h... cd /<>/build-llvm/tools/clang/lib/Headers && ../../../../bin/clang-tblgen -gen-arm-neon -I /<>/tools/clang/lib/Headers -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/arm_neon.td -o /<>/build-llvm/tools/clang/lib/Headers/arm_neon.h.tmp /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandList.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandList.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/AST /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/AST /<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandList.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandList.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandList.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandList.dir/depend.internal". Scanning dependencies of target ClangCommentCommandList /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticDriver.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticDriver.dir/depend make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandList.dir/build.make tools/clang/include/clang/AST/CMakeFiles/ClangCommentCommandList.dir/build make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticDriver.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' [ 16%] Building CommentCommandList.inc... cd /<>/build-llvm/tools/clang/include/clang/AST && ../../../../../bin/clang-tblgen -gen-clang-comment-command-list -I /<>/tools/clang/include/clang/AST -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/AST/CommentCommands.td -o /<>/build-llvm/tools/clang/include/clang/AST/CommentCommandList.inc.tmp Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticDriver.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticDriver.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticDriver.dir/depend.internal". [ 16%] Updating CommentCommandList.inc... Scanning dependencies of target ClangDiagnosticDriver cd /<>/build-llvm/tools/clang/include/clang/AST && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/AST/CommentCommandList.inc.tmp /<>/build-llvm/tools/clang/include/clang/AST/CommentCommandList.inc make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticDriver.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticDriver.dir/build make[4]: Entering directory '/<>/build-llvm' [ 17%] Updating arm_neon.h... cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/lib/Headers/arm_neon.h.tmp /<>/build-llvm/tools/clang/lib/Headers/arm_neon.h [ 17%] Building DiagnosticDriverKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Driver -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.inc.tmp make[4]: Leaving directory '/<>/build-llvm' [ 17%] Built target ClangCommentCommandList /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAnalysis.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAnalysis.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAnalysis.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAnalysis.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAnalysis.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAnalysis.dir/depend.internal". Scanning dependencies of target ClangDiagnosticAnalysis make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAnalysis.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAnalysis.dir/build [ 17%] Copying clang's arm_neon.h... make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm/tools/clang/lib/Headers && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/lib/Headers/arm_neon.h /<>/build-llvm/./lib/clang/3.8.1/include/arm_neon.h [ 17%] Building DiagnosticAnalysisKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Analysis -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticAnalysisKinds.inc.tmp [ 17%] Updating DiagnosticDriverKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticDriverKinds.inc make[4]: Leaving directory '/<>/build-llvm' make[4]: Leaving directory '/<>/build-llvm' [ 17%] Built target clang-headers [ 17%] Built target ClangDiagnosticDriver /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticIndexName.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticIndexName.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticIndexName.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticIndexName.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticIndexName.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticIndexName.dir/depend.internal". Scanning dependencies of target ClangDiagnosticIndexName make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticIndexName.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticIndexName.dir/build make[4]: Entering directory '/<>/build-llvm' [ 17%] Updating DiagnosticAnalysisKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticAnalysisKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticAnalysisKinds.inc [ 17%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_tab.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_tab.c.o -c /<>/tools/polly/lib/External/isl/isl_tab.c [ 17%] Building DiagnosticIndexName.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-index-name -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticIndexName.inc.tmp make[4]: Leaving directory '/<>/build-llvm' [ 17%] Built target ClangDiagnosticAnalysis [ 17%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_tab_pip.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_tab_pip.c.o -c /<>/tools/polly/lib/External/isl/isl_tab_pip.c [ 17%] Updating DiagnosticIndexName.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticIndexName.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticIndexName.inc make[4]: Leaving directory '/<>/build-llvm' [ 17%] Built target ClangDiagnosticIndexName [ 17%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_tarjan.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_tarjan.c.o -c /<>/tools/polly/lib/External/isl/isl_tarjan.c /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticFrontend.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticFrontend.dir/depend /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticLex.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticLex.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticFrontend.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticLex.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticFrontend.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticFrontend.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticFrontend.dir/depend.internal". Scanning dependencies of target ClangDiagnosticFrontend make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticFrontend.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticFrontend.dir/build make[4]: Entering directory '/<>/build-llvm' [ 17%] Building DiagnosticFrontendKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Frontend -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.inc.tmp [ 17%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_transitive_closure.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_transitive_closure.c.o -c /<>/tools/polly/lib/External/isl/isl_transitive_closure.c Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticLex.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticLex.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticLex.dir/depend.internal". Scanning dependencies of target ClangDiagnosticLex make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticLex.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticLex.dir/build make[4]: Entering directory '/<>/build-llvm' [ 17%] Building DiagnosticLexKinds.inc... [ 17%] Updating DiagnosticFrontendKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticFrontendKinds.inc cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Lex -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.inc.tmp make[4]: Leaving directory '/<>/build-llvm' [ 17%] Built target ClangDiagnosticFrontend [ 17%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_union_map.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_union_map.c.o -c /<>/tools/polly/lib/External/isl/isl_union_map.c [ 17%] Updating DiagnosticLexKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticLexKinds.inc make[4]: Leaving directory '/<>/build-llvm' [ 17%] Built target ClangDiagnosticLex [ 17%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_val.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_val.c.o -c /<>/tools/polly/lib/External/isl/isl_val.c /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangAttrList.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangAttrList.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangAttrList.dir/DependInfo.cmake --color= make[4]: Leaving directory '/<>/build-llvm' [ 17%] Built target RTAsan_dynamic.arm Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangAttrList.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangAttrList.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangAttrList.dir/depend.internal". Scanning dependencies of target ClangAttrList make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangAttrList.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangAttrList.dir/build make[4]: Entering directory '/<>/build-llvm' [ 17%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_val_sioimath.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_val_sioimath.c.o -c /<>/tools/polly/lib/External/isl/isl_val_sioimath.c [ 17%] Building AttrList.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-attr-list -I /<>/tools/clang/include/clang/Basic/../../ -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Basic/AttrList.inc.tmp /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticComment.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticComment.dir/depend [ 17%] Updating AttrList.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/AttrList.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/AttrList.inc make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticComment.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticComment.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticComment.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticComment.dir/depend.internal". Scanning dependencies of target ClangDiagnosticComment make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticComment.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticComment.dir/build make[4]: Entering directory '/<>/build-llvm' [ 17%] Building DiagnosticCommentKinds.inc... make[4]: Leaving directory '/<>/build-llvm' cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Comment -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticCommentKinds.inc.tmp [ 17%] Built target ClangAttrList /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAST.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAST.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAST.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAST.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAST.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAST.dir/depend.internal". Scanning dependencies of target ClangDiagnosticAST make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAST.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticAST.dir/build make[4]: Entering directory '/<>/build-llvm' [ 17%] Building DiagnosticASTKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=AST -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.inc.tmp [ 19%] Updating DiagnosticASTKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticASTKinds.inc [ 19%] Updating DiagnosticCommentKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticCommentKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticCommentKinds.inc make[4]: Leaving directory '/<>/build-llvm' make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target ClangDiagnosticAST /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSema.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSema.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSema.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSema.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSema.dir/depend.internal". [ 19%] Built target ClangDiagnosticComment /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticParse.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticParse.dir/depend Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSema.dir/depend.internal". Scanning dependencies of target ClangDiagnosticSema make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSema.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSema.dir/build make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticParse.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' [ 19%] Building DiagnosticSemaKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Sema -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.inc.tmp Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticParse.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticParse.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticParse.dir/depend.internal". Scanning dependencies of target ClangDiagnosticParse make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticParse.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticParse.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building DiagnosticParseKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Parse -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.inc.tmp /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSerialization.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSerialization.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSerialization.dir/DependInfo.cmake --color= [ 19%] Updating DiagnosticSemaKinds.inc... Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSerialization.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSerialization.dir/depend.internal". cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticSemaKinds.inc Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSerialization.dir/depend.internal". Scanning dependencies of target ClangDiagnosticSerialization make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSerialization.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticSerialization.dir/build [ 19%] Updating DiagnosticParseKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticParseKinds.inc make[4]: Leaving directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' [ 19%] Building DiagnosticSerializationKinds.inc... make[4]: Leaving directory '/<>/build-llvm' cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Serialization -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticSerializationKinds.inc.tmp [ 19%] Built target ClangDiagnosticSema [ 19%] Built target ClangDiagnosticParse /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticGroups.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticGroups.dir/depend [ 19%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_vec.c.o make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticGroups.dir/DependInfo.cmake --color= cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_vec.c.o -c /<>/tools/polly/lib/External/isl/isl_vec.c Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticGroups.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticGroups.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticGroups.dir/depend.internal". Scanning dependencies of target ClangDiagnosticGroups make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticGroups.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticGroups.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building DiagnosticGroups.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diag-groups -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticGroups.inc.tmp [ 19%] Updating DiagnosticSerializationKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticSerializationKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticSerializationKinds.inc make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target ClangDiagnosticSerialization /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticCommon.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticCommon.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticCommon.dir/DependInfo.cmake --color= [ 19%] Updating DiagnosticGroups.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticGroups.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticGroups.inc make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target ClangDiagnosticGroups Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticCommon.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticCommon.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticCommon.dir/depend.internal". Scanning dependencies of target ClangDiagnosticCommon make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticCommon.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangDiagnosticCommon.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building DiagnosticCommonKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-diags-defs -clang-component=Common -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Diagnostic.td -o /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.inc.tmp [ 19%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_version.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_version.c.o -c /<>/tools/polly/lib/External/isl/isl_version.c [ 19%] Updating DiagnosticCommonKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/DiagnosticCommonKinds.inc make[4]: Leaving directory '/<>/build-llvm' [ 19%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/isl_vertices.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/isl_vertices.c.o -c /<>/tools/polly/lib/External/isl/isl_vertices.c [ 19%] Built target ClangDiagnosticCommon [ 19%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/print.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/print.c.o -c /<>/tools/polly/lib/External/isl/print.c /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangAttrHasAttributeImpl.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangAttrHasAttributeImpl.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangAttrHasAttributeImpl.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangAttrHasAttributeImpl.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangAttrHasAttributeImpl.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangAttrHasAttributeImpl.dir/depend.internal". Scanning dependencies of target ClangAttrHasAttributeImpl make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangAttrHasAttributeImpl.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangAttrHasAttributeImpl.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building AttrHasAttributeImpl.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-clang-attr-has-attribute-impl -I /<>/tools/clang/include/clang/Basic/../../ -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Basic/AttrHasAttributeImpl.inc.tmp [ 19%] Updating AttrHasAttributeImpl.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/AttrHasAttributeImpl.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/AttrHasAttributeImpl.inc make[4]: Leaving directory '/<>/build-llvm' [ 19%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/imath/gmp_compat.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/imath/gmp_compat.c.o -c /<>/tools/polly/lib/External/isl/imath/gmp_compat.c [ 19%] Built target ClangAttrHasAttributeImpl /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangARMNeon.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangARMNeon.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Basic /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Basic /<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangARMNeon.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangARMNeon.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangARMNeon.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Basic/CMakeFiles/ClangARMNeon.dir/depend.internal". Scanning dependencies of target ClangARMNeon make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Basic/CMakeFiles/ClangARMNeon.dir/build.make tools/clang/include/clang/Basic/CMakeFiles/ClangARMNeon.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building arm_neon.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && ../../../../../bin/clang-tblgen -gen-arm-neon-sema -I /<>/tools/clang/include/clang/Basic/../../ -I /<>/tools/clang/include/clang/Basic -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Basic/arm_neon.td -o /<>/build-llvm/tools/clang/include/clang/Basic/arm_neon.inc.tmp [ 19%] Updating arm_neon.inc... cd /<>/build-llvm/tools/clang/include/clang/Basic && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Basic/arm_neon.inc.tmp /<>/build-llvm/tools/clang/include/clang/Basic/arm_neon.inc make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target ClangARMNeon /usr/bin/make -f tools/clang/include/clang/Parse/CMakeFiles/ClangAttrParserStringSwitches.dir/build.make tools/clang/include/clang/Parse/CMakeFiles/ClangAttrParserStringSwitches.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Parse /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Parse /<>/build-llvm/tools/clang/include/clang/Parse/CMakeFiles/ClangAttrParserStringSwitches.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Parse/CMakeFiles/ClangAttrParserStringSwitches.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Parse/CMakeFiles/ClangAttrParserStringSwitches.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Parse/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Parse/CMakeFiles/ClangAttrParserStringSwitches.dir/depend.internal". Scanning dependencies of target ClangAttrParserStringSwitches make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Parse/CMakeFiles/ClangAttrParserStringSwitches.dir/build.make tools/clang/include/clang/Parse/CMakeFiles/ClangAttrParserStringSwitches.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/imath/imath.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/imath/imath.c.o -c /<>/tools/polly/lib/External/isl/imath/imath.c [ 19%] Building AttrParserStringSwitches.inc... cd /<>/build-llvm/tools/clang/include/clang/Parse && ../../../../../bin/clang-tblgen -gen-clang-attr-parser-string-switches -I /<>/tools/clang/include/clang/Parse/../../ -I /<>/tools/clang/include/clang/Parse -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Parse/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Parse/AttrParserStringSwitches.inc.tmp [ 19%] Updating AttrParserStringSwitches.inc... cd /<>/build-llvm/tools/clang/include/clang/Parse && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Parse/AttrParserStringSwitches.inc.tmp /<>/build-llvm/tools/clang/include/clang/Parse/AttrParserStringSwitches.inc [ 19%] Building C object tools/polly/lib/External/CMakeFiles/PollyISL.dir/isl/imath/imrat.c.o cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/gcc-8 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/polly/lib/External -I/<>/tools/polly/lib/External -I/<>/tools/polly/lib/External/isl -I/<>/tools/polly/lib/External/isl/include -I/<>/tools/polly/lib/External/isl/imath -I/<>/build-llvm/tools/polly/lib/External/isl -I/<>/build-llvm/tools/polly/include -I/<>/build-llvm/tools/polly/lib/External/isl/include -I/usr/include/jsoncpp -I/<>/tools/polly/include -I/<>/build-llvm/include -I/<>/include -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-comment -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -fvisibility=hidden -w -std=gnu99 -o CMakeFiles/PollyISL.dir/isl/imath/imrat.c.o -c /<>/tools/polly/lib/External/isl/imath/imrat.c make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target ClangAttrParserStringSwitches /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrList.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrList.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Sema /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Sema /<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrList.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrList.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrList.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrList.dir/depend.internal". Scanning dependencies of target ClangAttrParsedAttrList make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrList.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrList.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building AttrParsedAttrList.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && ../../../../../bin/clang-tblgen -gen-clang-attr-parsed-attr-list -I /<>/tools/clang/include/clang/Sema/../../ -I /<>/tools/clang/include/clang/Sema -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Sema/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrList.inc.tmp /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrSpellingListIndex.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrSpellingListIndex.dir/depend [ 19%] Updating AttrParsedAttrList.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrList.inc.tmp /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrList.inc make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Sema /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Sema /<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrSpellingListIndex.dir/DependInfo.cmake --color= make[4]: Leaving directory '/<>/build-llvm' Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrSpellingListIndex.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrSpellingListIndex.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrSpellingListIndex.dir/depend.internal". Scanning dependencies of target ClangAttrSpellingListIndex make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrSpellingListIndex.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrSpellingListIndex.dir/build [ 19%] Built target ClangAttrParsedAttrList /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrImpl.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrImpl.dir/depend make[4]: Entering directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Sema /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Sema /<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrImpl.dir/DependInfo.cmake --color= /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrTemplateInstantiate.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrTemplateInstantiate.dir/depend [ 19%] Building AttrSpellingListIndex.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && ../../../../../bin/clang-tblgen -gen-clang-attr-spelling-index -I /<>/tools/clang/include/clang/Sema/../../ -I /<>/tools/clang/include/clang/Sema -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Sema/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Sema/AttrSpellingListIndex.inc.tmp make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Sema /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Sema /<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrTemplateInstantiate.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrImpl.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrImpl.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrImpl.dir/depend.internal". Scanning dependencies of target ClangAttrParsedAttrImpl make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrImpl.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrImpl.dir/build make[4]: Entering directory '/<>/build-llvm' Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrTemplateInstantiate.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrTemplateInstantiate.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrTemplateInstantiate.dir/depend.internal". Scanning dependencies of target ClangAttrTemplateInstantiate make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrTemplateInstantiate.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrTemplateInstantiate.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building AttrTemplateInstantiate.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && ../../../../../bin/clang-tblgen -gen-clang-attr-template-instantiate -I /<>/tools/clang/include/clang/Sema/../../ -I /<>/tools/clang/include/clang/Sema -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Sema/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc.tmp [ 19%] Building AttrParsedAttrImpl.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && ../../../../../bin/clang-tblgen -gen-clang-attr-parsed-attr-impl -I /<>/tools/clang/include/clang/Sema/../../ -I /<>/tools/clang/include/clang/Sema -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Sema/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrImpl.inc.tmp [ 19%] Updating AttrTemplateInstantiate.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc.tmp /<>/build-llvm/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc [ 19%] Updating AttrSpellingListIndex.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Sema/AttrSpellingListIndex.inc.tmp /<>/build-llvm/tools/clang/include/clang/Sema/AttrSpellingListIndex.inc make[4]: Leaving directory '/<>/build-llvm' [ 19%] Updating AttrParsedAttrImpl.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrImpl.inc.tmp /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrImpl.inc [ 19%] Built target ClangAttrTemplateInstantiate /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrKinds.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrKinds.dir/depend make[4]: Leaving directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Sema /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Sema /<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrKinds.dir/DependInfo.cmake --color= make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target ClangAttrSpellingListIndex /usr/bin/make -f tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHWrite.dir/build.make tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHWrite.dir/depend [ 19%] Built target ClangAttrParsedAttrImpl /usr/bin/make -f tools/clang/include/clang/Driver/CMakeFiles/ClangDriverOptions.dir/build.make tools/clang/include/clang/Driver/CMakeFiles/ClangDriverOptions.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Serialization /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Serialization /<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHWrite.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/include/clang/Driver /<>/build-llvm /<>/build-llvm/tools/clang/include/clang/Driver /<>/build-llvm/tools/clang/include/clang/Driver/CMakeFiles/ClangDriverOptions.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrKinds.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrKinds.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrKinds.dir/depend.internal". Scanning dependencies of target ClangAttrParsedAttrKinds make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrKinds.dir/build.make tools/clang/include/clang/Sema/CMakeFiles/ClangAttrParsedAttrKinds.dir/build make[4]: Entering directory '/<>/build-llvm' Dependee "/<>/build-llvm/tools/clang/include/clang/Driver/CMakeFiles/ClangDriverOptions.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Driver/CMakeFiles/ClangDriverOptions.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/include/clang/Driver/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Driver/CMakeFiles/ClangDriverOptions.dir/depend.internal". Scanning dependencies of target ClangDriverOptions make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Driver/CMakeFiles/ClangDriverOptions.dir/build.make tools/clang/include/clang/Driver/CMakeFiles/ClangDriverOptions.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building AttrParsedAttrKinds.inc... [ 19%] Building Options.inc... cd /<>/build-llvm/tools/clang/include/clang/Driver && ../../../../../bin/llvm-tblgen -gen-opt-parser-defs -I /<>/tools/clang/include/clang/Driver -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Driver/Options.td -o /<>/build-llvm/tools/clang/include/clang/Driver/Options.inc.tmp Dependee "/<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHWrite.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHWrite.dir/depend.internal". cd /<>/build-llvm/tools/clang/include/clang/Sema && ../../../../../bin/clang-tblgen -gen-clang-attr-parsed-attr-kinds -I /<>/tools/clang/include/clang/Sema/../../ -I /<>/tools/clang/include/clang/Sema -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Sema/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrKinds.inc.tmp Dependee "/<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHWrite.dir/depend.internal". Scanning dependencies of target ClangAttrPCHWrite make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHWrite.dir/build.make tools/clang/include/clang/Serialization/CMakeFiles/ClangAttrPCHWrite.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building AttrPCHWrite.inc... cd /<>/build-llvm/tools/clang/include/clang/Serialization && ../../../../../bin/clang-tblgen -gen-clang-attr-pch-write -I /<>/tools/clang/include/clang/Serialization/../../ -I /<>/tools/clang/include/clang/Serialization -I /<>/lib/Target -I /<>/include /<>/tools/clang/include/clang/Serialization/../Basic/Attr.td -o /<>/build-llvm/tools/clang/include/clang/Serialization/AttrPCHWrite.inc.tmp [ 19%] Updating AttrParsedAttrKinds.inc... cd /<>/build-llvm/tools/clang/include/clang/Sema && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrKinds.inc.tmp /<>/build-llvm/tools/clang/include/clang/Sema/AttrParsedAttrKinds.inc make[4]: Leaving directory '/<>/build-llvm' [ 19%] Updating Options.inc... cd /<>/build-llvm/tools/clang/include/clang/Driver && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Driver/Options.inc.tmp /<>/build-llvm/tools/clang/include/clang/Driver/Options.inc [ 19%] Built target ClangAttrParsedAttrKinds /usr/bin/make -f lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/build.make lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/IR /<>/build-llvm /<>/build-llvm/lib/IR /<>/build-llvm/lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/DependInfo.cmake --color= make[4]: Leaving directory '/<>/build-llvm' [ 19%] Updating AttrPCHWrite.inc... cd /<>/build-llvm/tools/clang/include/clang/Serialization && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/include/clang/Serialization/AttrPCHWrite.inc.tmp /<>/build-llvm/tools/clang/include/clang/Serialization/AttrPCHWrite.inc [ 19%] Built target ClangDriverOptions /usr/bin/make -f include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make include/llvm/IR/CMakeFiles/intrinsics_gen.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/include/llvm/IR /<>/build-llvm /<>/build-llvm/include/llvm/IR /<>/build-llvm/include/llvm/IR/CMakeFiles/intrinsics_gen.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/depend.internal". Dependee "/<>/build-llvm/lib/IR/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/depend.internal". Scanning dependencies of target AttributeCompatFuncTableGen make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/build.make lib/IR/CMakeFiles/AttributeCompatFuncTableGen.dir/build make[4]: Entering directory '/<>/build-llvm' Dependee "/<>/build-llvm/include/llvm/IR/CMakeFiles/intrinsics_gen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/include/llvm/IR/CMakeFiles/intrinsics_gen.dir/depend.internal". [ 19%] Building AttributesCompatFunc.inc... cd /<>/build-llvm/lib/IR && ../../bin/llvm-tblgen -gen-attrs -I /<>/lib/IR -I /<>/lib/Target -I /<>/include /<>/lib/IR/AttributesCompatFunc.td -o /<>/build-llvm/lib/IR/AttributesCompatFunc.inc.tmp Dependee "/<>/build-llvm/include/llvm/IR/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/include/llvm/IR/CMakeFiles/intrinsics_gen.dir/depend.internal". make[4]: Leaving directory '/<>/build-llvm' Scanning dependencies of target intrinsics_gen make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build.make include/llvm/IR/CMakeFiles/intrinsics_gen.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Updating AttributesCompatFunc.inc... cd /<>/build-llvm/lib/IR && /usr/bin/cmake -E copy_if_different /<>/build-llvm/lib/IR/AttributesCompatFunc.inc.tmp /<>/build-llvm/lib/IR/AttributesCompatFunc.inc [ 19%] Building Attributes.inc... cd /<>/build-llvm/include/llvm/IR && ../../../bin/llvm-tblgen -gen-attrs -I /<>/include/llvm/IR -I /<>/lib/Target -I /<>/include /<>/include/llvm/IR/Attributes.td -o /<>/build-llvm/include/llvm/IR/Attributes.inc.tmp make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target ClangAttrPCHWrite /usr/bin/make -f lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/build.make lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/LibDriver /<>/build-llvm /<>/build-llvm/lib/LibDriver /<>/build-llvm/lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/DependInfo.cmake --color= [ 19%] Building Intrinsics.gen... cd /<>/build-llvm/include/llvm/IR && ../../../bin/llvm-tblgen -gen-intrinsic -I /<>/include/llvm/IR -I /<>/lib/Target -I /<>/include /<>/include/llvm/IR/Intrinsics.td -o /<>/build-llvm/include/llvm/IR/Intrinsics.gen.tmp Dependee "/<>/build-llvm/lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/depend.internal". Dependee "/<>/build-llvm/lib/LibDriver/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/depend.internal". Scanning dependencies of target LibOptionsTableGen make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/build.make lib/LibDriver/CMakeFiles/LibOptionsTableGen.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Built target AttributeCompatFuncTableGen /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm.dir/depend /usr/bin/make -f tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/build.make tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/projects/compiler-rt/lib/asan /<>/build-llvm /<>/build-llvm/projects/compiler-rt/lib/asan /<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm.dir/DependInfo.cmake --color= make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Basic /<>/build-llvm /<>/build-llvm/tools/clang/lib/Basic /<>/build-llvm/tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/DependInfo.cmake --color= [ 19%] Building Options.inc... cd /<>/build-llvm/lib/LibDriver && ../../bin/llvm-tblgen -gen-opt-parser-defs -I /<>/lib/LibDriver -I /<>/lib/Target -I /<>/include /<>/lib/LibDriver/Options.td -o /<>/build-llvm/lib/LibDriver/Options.inc.tmp Dependee "/<>/build-llvm/tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Basic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/depend.internal". [ 19%] Updating Options.inc... cd /<>/build-llvm/lib/LibDriver && /usr/bin/cmake -E copy_if_different /<>/build-llvm/lib/LibDriver/Options.inc.tmp /<>/build-llvm/lib/LibDriver/Options.inc Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm.dir/depend.internal". Dependee "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm.dir/depend.internal". Scanning dependencies of target clang_rt.asan-dynamic-arm make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm.dir/build.make projects/compiler-rt/lib/asan/CMakeFiles/clang_rt.asan-dynamic-arm.dir/build make[4]: Leaving directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' [ 19%] Linking CXX shared library ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan-arm.so cd /<>/build-llvm/projects/compiler-rt/lib/asan && /usr/bin/cmake -E cmake_link_script CMakeFiles/clang_rt.asan-dynamic-arm.dir/link.txt --verbose=1 [ 19%] Built target LibOptionsTableGen /usr/bin/make -f tools/clang/lib/Lex/CMakeFiles/clangLex.dir/build.make tools/clang/lib/Lex/CMakeFiles/clangLex.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Lex /<>/build-llvm /<>/build-llvm/tools/clang/lib/Lex /<>/build-llvm/tools/clang/lib/Lex/CMakeFiles/clangLex.dir/DependInfo.cmake --color= /usr/bin/g++-8 -fPIC -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -Wall -std=c++11 -O2 -g -DNDEBUG -march=armv7-a -mfloat-abi=soft -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden -fno-function-sections -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -ftls-model=initial-exec -Wl,--version-script,/<>/build-llvm/projects/compiler-rt/lib/asan/clang_rt.asan-dynamic-arm.vers -Wl,-z,relro -Wl,-z,defs -shared -Wl,-soname,libclang_rt.asan-arm.so -o ../../../../lib/clang/3.8.1/lib/linux/libclang_rt.asan-arm.so ../interception/CMakeFiles/RTInterception.arm.dir/interception_linux.cc.o ../interception/CMakeFiles/RTInterception.arm.dir/interception_mac.cc.o ../interception/CMakeFiles/RTInterception.arm.dir/interception_win.cc.o ../interception/CMakeFiles/RTInterception.arm.dir/interception_type_test.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_allocator.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_common.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector1.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_deadlock_detector2.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flags.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_flag_parser.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libc.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_libignore.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_persistent_allocator.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_platform_limits_posix.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_posix.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_printf.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_common.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_freebsd.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_linux.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_procmaps_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stackdepot.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_stacktrace_printer.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_suppressions.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_libbacktrace.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_mac.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_symbolizer_win.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_tls_get_addr.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_thread_registry.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_win.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_common_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_coverage_mapping_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_linux_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_posix_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stacktrace_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_stoptheworld_linux_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_symbolizer_posix_libcdep.cc.o ../sanitizer_common/CMakeFiles/RTSanitizerCommonLibc.arm.dir/sanitizer_unwind_linux_libcdep.cc.o ../lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common.cc.o ../lsan/CMakeFiles/RTLSanCommon.arm.dir/lsan_common_linux.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_diag.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_init.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_flags.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_handlers.cc.o ../ubsan/CMakeFiles/RTUbsan.arm.dir/ubsan_value.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_allocator.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_activation.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_debugging.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_fake_stack.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_flags.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_globals.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_interceptors.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_linux.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_mac.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_linux.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_mac.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_malloc_win.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_poisoning.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_posix.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_report.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_rtl.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_stack.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_stats.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_suppressions.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_thread.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_win.cc.o CMakeFiles/RTAsan_dynamic.arm.dir/asan_new_delete.cc.o CMakeFiles/RTAsan_dynamic_version_script_dummy.arm.dir/dummy.cc.o ../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_handlers_cxx.cc.o ../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash.cc.o ../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_itanium.cc.o ../ubsan/CMakeFiles/RTUbsan_cxx.arm.dir/ubsan_type_hash_win.cc.o -Wl,-rpath,"\$ORIGIN/../lib" -lc -ldl -lrt -lm -lpthread -lstdc++ Scanning dependencies of target clangBasic Dependee "/<>/build-llvm/tools/clang/lib/Lex/CMakeFiles/clangLex.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Lex/CMakeFiles/clangLex.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Lex/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Lex/CMakeFiles/clangLex.dir/depend.internal". make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/build.make tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Attributes.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/Attributes.cpp.o -c /<>/tools/clang/lib/Basic/Attributes.cpp Scanning dependencies of target clangLex make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Lex/CMakeFiles/clangLex.dir/build.make tools/clang/lib/Lex/CMakeFiles/clangLex.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/HeaderMap.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/HeaderMap.cpp.o -c /<>/tools/clang/lib/Lex/HeaderMap.cpp [ 19%] Updating Attributes.inc... cd /<>/build-llvm/include/llvm/IR && /usr/bin/cmake -E copy_if_different /<>/build-llvm/include/llvm/IR/Attributes.inc.tmp /<>/build-llvm/include/llvm/IR/Attributes.inc [ 19%] Updating Intrinsics.gen... cd /<>/build-llvm/include/llvm/IR && /usr/bin/cmake -E copy_if_different /<>/build-llvm/include/llvm/IR/Intrinsics.gen.tmp /<>/build-llvm/include/llvm/IR/Intrinsics.gen /usr/bin/ld: ../sanitizer_common/CMakeFiles/RTSanitizerCommon.arm.dir/sanitizer_tls_get_addr.cc.o(.debug_addr+0x1c0): R_ARM_ABS32 used with TLS symbol _ZN11__sanitizerL4dtlsE /usr/bin/ld: CMakeFiles/RTAsan_dynamic.arm.dir/asan_fake_stack.cc.o(.debug_addr+0x198): R_ARM_ABS32 used with TLS symbol _ZN6__asanL14fake_stack_tlsE /usr/bin/ld: CMakeFiles/RTAsan_dynamic.arm.dir/asan_interceptors.cc.o(.debug_addr+0x17e00): R_ARM_ABS32 used with TLS symbol _ZL14scandir_compar /usr/bin/ld: CMakeFiles/RTAsan_dynamic.arm.dir/asan_interceptors.cc.o(.debug_addr+0x20734): R_ARM_ABS32 used with TLS symbol _ZL16scandir64_compar /usr/bin/ld: CMakeFiles/RTAsan_dynamic.arm.dir/asan_interceptors.cc.o(.debug_addr+0x26518): R_ARM_ABS32 used with TLS symbol _ZL14scandir_filter /usr/bin/ld: CMakeFiles/RTAsan_dynamic.arm.dir/asan_interceptors.cc.o(.debug_addr+0x308b8): R_ARM_ABS32 used with TLS symbol _ZL10pglob_copy /usr/bin/ld: CMakeFiles/RTAsan_dynamic.arm.dir/asan_interceptors.cc.o(.debug_addr+0x32e10): R_ARM_ABS32 used with TLS symbol _ZL16scandir64_filter make[4]: Leaving directory '/<>/build-llvm' make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target intrinsics_gen [ 19%] Built target clang_rt.asan-dynamic-arm /usr/bin/make -f tools/clang/lib/Parse/CMakeFiles/clangParse.dir/build.make tools/clang/lib/Parse/CMakeFiles/clangParse.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Parse /<>/build-llvm /<>/build-llvm/tools/clang/lib/Parse /<>/build-llvm/tools/clang/lib/Parse/CMakeFiles/clangParse.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Parse/CMakeFiles/clangParse.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Parse/CMakeFiles/clangParse.dir/depend.internal". [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/HeaderSearch.cpp.o Dependee "/<>/build-llvm/tools/clang/lib/Parse/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Parse/CMakeFiles/clangParse.dir/depend.internal". cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/HeaderSearch.cpp.o -c /<>/tools/clang/lib/Lex/HeaderSearch.cpp Scanning dependencies of target clangParse make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Parse/CMakeFiles/clangParse.dir/build.make tools/clang/lib/Parse/CMakeFiles/clangParse.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseAST.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseAST.cpp.o -c /<>/tools/clang/lib/Parse/ParseAST.cpp [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseCXXInlineMethods.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseCXXInlineMethods.cpp.o -c /<>/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseDecl.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseDecl.cpp.o -c /<>/tools/clang/lib/Parse/ParseDecl.cpp [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseDeclCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseDeclCXX.cpp.o -c /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/Lexer.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/Lexer.cpp.o -c /<>/tools/clang/lib/Lex/Lexer.cpp In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Basic/Attributes.h:13, from /<>/tools/clang/lib/Basic/Attributes.cpp:1: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Basic/Attributes.h:13, from /<>/tools/clang/lib/Basic/Attributes.cpp:1: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Linking C static library ../../../../lib/libPollyISL.a cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/cmake -P CMakeFiles/PollyISL.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/polly/lib/External && /usr/bin/cmake -E cmake_link_script CMakeFiles/PollyISL.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libPollyISL.a CMakeFiles/PollyISL.dir/isl/basis_reduction_tab.c.o CMakeFiles/PollyISL.dir/isl/isl_aff.c.o CMakeFiles/PollyISL.dir/isl/isl_affine_hull.c.o CMakeFiles/PollyISL.dir/isl/isl_arg.c.o CMakeFiles/PollyISL.dir/isl/isl_ast_build.c.o CMakeFiles/PollyISL.dir/isl/isl_ast_build_expr.c.o CMakeFiles/PollyISL.dir/isl/isl_ast.c.o CMakeFiles/PollyISL.dir/isl/isl_ast_codegen.c.o CMakeFiles/PollyISL.dir/isl/isl_ast_graft.c.o CMakeFiles/PollyISL.dir/isl/isl_band.c.o CMakeFiles/PollyISL.dir/isl/isl_bernstein.c.o CMakeFiles/PollyISL.dir/isl/isl_blk.c.o CMakeFiles/PollyISL.dir/isl/isl_bound.c.o CMakeFiles/PollyISL.dir/isl/isl_coalesce.c.o CMakeFiles/PollyISL.dir/isl/isl_constraint.c.o CMakeFiles/PollyISL.dir/isl/isl_convex_hull.c.o CMakeFiles/PollyISL.dir/isl/isl_ctx.c.o CMakeFiles/PollyISL.dir/isl/isl_deprecated.c.o CMakeFiles/PollyISL.dir/isl/isl_dim_map.c.o CMakeFiles/PollyISL.dir/isl/isl_equalities.c.o CMakeFiles/PollyISL.dir/isl/isl_factorization.c.o CMakeFiles/PollyISL.dir/isl/isl_farkas.c.o CMakeFiles/PollyISL.dir/isl/isl_ffs.c.o CMakeFiles/PollyISL.dir/isl/isl_flow.c.o CMakeFiles/PollyISL.dir/isl/isl_fold.c.o CMakeFiles/PollyISL.dir/isl/isl_hash.c.o CMakeFiles/PollyISL.dir/isl/isl_id.c.o CMakeFiles/PollyISL.dir/isl/isl_id_to_ast_expr.c.o CMakeFiles/PollyISL.dir/isl/isl_id_to_pw_aff.c.o CMakeFiles/PollyISL.dir/isl/isl_ilp.c.o CMakeFiles/PollyISL.dir/isl/isl_imath.c.o CMakeFiles/PollyISL.dir/isl/isl_input.c.o CMakeFiles/PollyISL.dir/isl/isl_int_sioimath.c.o CMakeFiles/PollyISL.dir/isl/isl_local_space.c.o CMakeFiles/PollyISL.dir/isl/isl_lp.c.o CMakeFiles/PollyISL.dir/isl/isl_map.c.o CMakeFiles/PollyISL.dir/isl/isl_map_list.c.o CMakeFiles/PollyISL.dir/isl/isl_map_simplify.c.o CMakeFiles/PollyISL.dir/isl/isl_map_subtract.c.o CMakeFiles/PollyISL.dir/isl/isl_map_to_basic_set.c.o CMakeFiles/PollyISL.dir/isl/isl_mat.c.o CMakeFiles/PollyISL.dir/isl/isl_morph.c.o CMakeFiles/PollyISL.dir/isl/isl_obj.c.o CMakeFiles/PollyISL.dir/isl/isl_options.c.o CMakeFiles/PollyISL.dir/isl/isl_output.c.o CMakeFiles/PollyISL.dir/isl/isl_point.c.o CMakeFiles/PollyISL.dir/isl/isl_polynomial.c.o CMakeFiles/PollyISL.dir/isl/isl_printer.c.o CMakeFiles/PollyISL.dir/isl/isl_range.c.o CMakeFiles/PollyISL.dir/isl/isl_reordering.c.o CMakeFiles/PollyISL.dir/isl/isl_sample.c.o CMakeFiles/PollyISL.dir/isl/isl_scan.c.o CMakeFiles/PollyISL.dir/isl/isl_schedule.c.o CMakeFiles/PollyISL.dir/isl/isl_schedule_band.c.o CMakeFiles/PollyISL.dir/isl/isl_schedule_node.c.o CMakeFiles/PollyISL.dir/isl/isl_schedule_read.c.o CMakeFiles/PollyISL.dir/isl/isl_schedule_tree.c.o CMakeFiles/PollyISL.dir/isl/isl_scheduler.c.o CMakeFiles/PollyISL.dir/isl/isl_seq.c.o CMakeFiles/PollyISL.dir/isl/isl_set_list.c.o CMakeFiles/PollyISL.dir/isl/isl_sort.c.o CMakeFiles/PollyISL.dir/isl/isl_space.c.o CMakeFiles/PollyISL.dir/isl/isl_stream.c.o CMakeFiles/PollyISL.dir/isl/isl_tab.c.o CMakeFiles/PollyISL.dir/isl/isl_tab_pip.c.o CMakeFiles/PollyISL.dir/isl/isl_tarjan.c.o CMakeFiles/PollyISL.dir/isl/isl_transitive_closure.c.o CMakeFiles/PollyISL.dir/isl/isl_union_map.c.o CMakeFiles/PollyISL.dir/isl/isl_val.c.o CMakeFiles/PollyISL.dir/isl/isl_val_sioimath.c.o CMakeFiles/PollyISL.dir/isl/isl_vec.c.o CMakeFiles/PollyISL.dir/isl/isl_version.c.o CMakeFiles/PollyISL.dir/isl/isl_vertices.c.o CMakeFiles/PollyISL.dir/isl/print.c.o CMakeFiles/PollyISL.dir/isl/imath/gmp_compat.c.o CMakeFiles/PollyISL.dir/isl/imath/imath.c.o CMakeFiles/PollyISL.dir/isl/imath/imrat.c.o /usr/bin/ranlib ../../../../lib/libPollyISL.a make[4]: Leaving directory '/<>/build-llvm' [ 19%] Built target PollyISL /usr/bin/make -f tools/clang/lib/AST/CMakeFiles/clangAST.dir/build.make tools/clang/lib/AST/CMakeFiles/clangAST.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/AST /<>/build-llvm /<>/build-llvm/tools/clang/lib/AST /<>/build-llvm/tools/clang/lib/AST/CMakeFiles/clangAST.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/AST/CMakeFiles/clangAST.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/AST/CMakeFiles/clangAST.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/AST/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/AST/CMakeFiles/clangAST.dir/depend.internal". In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/LangOptions.h:19, from /<>/tools/clang/include/clang/Parse/ParseAST.h:17, from /<>/tools/clang/lib/Parse/ParseAST.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ Scanning dependencies of target clangAST make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/AST/CMakeFiles/clangAST.dir/build.make tools/clang/lib/AST/CMakeFiles/clangAST.dir/build make[4]: Entering directory '/<>/build-llvm' [ 19%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/APValue.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/APValue.cpp.o -c /<>/tools/clang/lib/AST/APValue.cpp In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/include/clang/Lex/DirectoryLookup.h:18, from /<>/tools/clang/include/clang/Lex/HeaderSearch.h:17, from /<>/tools/clang/lib/Lex/HeaderSearch.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Lex/DirectoryLookup.h:17, from /<>/tools/clang/include/clang/Lex/HeaderSearch.h:17, from /<>/tools/clang/lib/Lex/HeaderSearch.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseDecl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Lex/Lexer.h:17, from /<>/tools/clang/lib/Lex/Lexer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Lex/Lexer.h:17, from /<>/tools/clang/lib/Lex/Lexer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Lex/Lexer.cpp: In member function 'bool clang::Lexer::LexTokenInternal(clang::Token&, bool)': /<>/tools/clang/lib/Lex/Lexer.cpp:3163:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Char == '\'') ^~ /<>/tools/clang/lib/Lex/Lexer.cpp:3169:3: note: here case 'A': case 'B': case 'C': case 'D': case 'E': case 'F': case 'G': ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/lib/AST/APValue.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Builtins.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/Builtins.cpp.o -c /<>/tools/clang/lib/Basic/Builtins.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/lib/AST/APValue.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/lib/AST/APValue.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Parse/ParseAST.h:17, from /<>/tools/clang/lib/Parse/ParseAST.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Parse/ParseAST.h:17, from /<>/tools/clang/lib/Parse/ParseAST.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Parse/ParseAST.h:17, from /<>/tools/clang/lib/Parse/ParseAST.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Parse/ParseAST.h:17, from /<>/tools/clang/lib/Parse/ParseAST.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/lib/Basic/Builtins.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/lib/Basic/Builtins.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseCXXInlineMethods.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/CharInfo.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/CharInfo.cpp.o -c /<>/tools/clang/lib/Basic/CharInfo.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseDecl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseDecl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseDecl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseDecl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/LiteralSupport.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/LiteralSupport.cpp.o -c /<>/tools/clang/lib/Lex/LiteralSupport.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Diagnostic.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/Diagnostic.cpp.o -c /<>/tools/clang/lib/Basic/Diagnostic.cpp /<>/tools/clang/lib/Parse/ParseDecl.cpp: In member function 'bool clang::Parser::ParseImplicitInt(clang::DeclSpec&, clang::CXXScopeSpec*, const clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::ParsedAttributesWithRange&)': /<>/tools/clang/lib/Parse/ParseDecl.cpp:2339:7: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Parse/ParseDecl.cpp:2342:5: note: here case tok::comma: ^~~~ /<>/tools/clang/lib/Parse/ParseDecl.cpp: In member function 'void clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, const clang::Parser::ParsedTemplateInfo&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*)': /<>/tools/clang/lib/Parse/ParseDecl.cpp:3427:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Actions.getLangOpts().OpenCLVersion < 200) { ^~ /<>/tools/clang/lib/Parse/ParseDecl.cpp:3433:5: note: here case tok::kw___private: ^~~~ /<>/tools/clang/lib/Parse/ParseDecl.cpp: In member function 'void clang::Parser::ParseTypeQualifierListOpt(clang::DeclSpec&, unsigned int, bool, bool)': /<>/tools/clang/lib/Parse/ParseDecl.cpp:4776:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if ((AttrReqs & AR_DeclspecAttributesParsed) && !getLangOpts().CPlusPlus && ^~ /<>/tools/clang/lib/Parse/ParseDecl.cpp:4781:5: note: here case tok::kw___sptr: ^~~~ /<>/tools/clang/lib/Parse/ParseDecl.cpp:4824:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (AttrReqs & AR_GNUAttributesParsed || ^~ /<>/tools/clang/lib/Parse/ParseDecl.cpp:4830:5: note: here default: ^~~~~~~ [ 19%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ASTConsumer.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ASTConsumer.cpp.o -c /<>/tools/clang/lib/AST/ASTConsumer.cpp [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseExpr.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseExpr.cpp.o -c /<>/tools/clang/lib/Parse/ParseExpr.cpp /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp: In member function 'void clang::Parser::ParseMicrosoftIfExistsClassDeclaration(clang::DeclSpec::TST, clang::AccessSpecifier&)': /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp:3902:9: warning: this statement may fall through [-Wimplicit-fallthrough=] Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Parse/ParseDeclCXX.cpp:3906:3: note: here case IEB_Skip: ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/lib/Basic/Diagnostic.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Basic/Diagnostic.cpp:910:61: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/CharInfo.h:13, from /<>/tools/clang/lib/Basic/Diagnostic.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/MacroArgs.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/MacroArgs.cpp.o -c /<>/tools/clang/lib/Lex/MacroArgs.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/lib/Basic/Diagnostic.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/CharInfo.h:13, from /<>/tools/clang/lib/Basic/Diagnostic.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/lib/Basic/Diagnostic.cpp:15: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/include/clang/Basic/Diagnostic.h:205:9: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = clang::DiagnosticsEngine::DiagState; _Args = {const clang::DiagnosticsEngine::DiagState&}; _Tp = std::_List_node]' /usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = clang::DiagnosticsEngine::DiagState; _Args = {const clang::DiagnosticsEngine::DiagState&}; _Tp = std::_List_node; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/8/bits/stl_list.h:644:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const clang::DiagnosticsEngine::DiagState&}; _Tp = clang::DiagnosticsEngine::DiagState; _Alloc = std::allocator; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node]' /usr/include/c++/8/bits/stl_list.h:1902:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const clang::DiagnosticsEngine::DiagState&}; _Tp = clang::DiagnosticsEngine::DiagState; _Alloc = std::allocator; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator]' /usr/include/c++/8/bits/stl_list.h:1219:9: required from 'void std::__cxx11::list<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = clang::DiagnosticsEngine::DiagState; _Alloc = std::allocator; std::__cxx11::list<_Tp, _Alloc>::value_type = clang::DiagnosticsEngine::DiagState]' /<>/tools/clang/lib/Basic/Diagnostic.cpp:214:44: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/Lex/LiteralSupport.h:21, from /<>/tools/clang/lib/Lex/LiteralSupport.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/CharInfo.h:13, from /<>/tools/clang/include/clang/Lex/LiteralSupport.h:18, from /<>/tools/clang/lib/Lex/LiteralSupport.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Lex/LiteralSupport.cpp: In function 'void EncodeUCNEscape(const char*, const char*&, const char*, char*&, bool&, clang::FullSourceLoc, unsigned int, clang::DiagnosticsEngine*, const clang::LangOptions&)': /<>/tools/clang/lib/Lex/LiteralSupport.cpp:446:73: warning: this statement may fall through [-Wimplicit-fallthrough=] case 4: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; ~~~~~~~^~~~~ /<>/tools/clang/lib/Lex/LiteralSupport.cpp:447:3: note: here case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; ^~~~ /<>/tools/clang/lib/Lex/LiteralSupport.cpp:447:73: warning: this statement may fall through [-Wimplicit-fallthrough=] case 3: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; ~~~~~~~^~~~~ /<>/tools/clang/lib/Lex/LiteralSupport.cpp:448:3: note: here case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; ^~~~ /<>/tools/clang/lib/Lex/LiteralSupport.cpp:448:73: warning: this statement may fall through [-Wimplicit-fallthrough=] case 2: *--ResultBuf = (UTF8)((UcnVal | byteMark) & byteMask); UcnVal >>= 6; ~~~~~~~^~~~~ /<>/tools/clang/lib/Lex/LiteralSupport.cpp:449:3: note: here case 1: *--ResultBuf = (UTF8) (UcnVal | firstByteMark[bytesToWrite]); ^~~~ [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseExprCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseExprCXX.cpp.o -c /<>/tools/clang/lib/Parse/ParseExprCXX.cpp In file included from /<>/include/llvm/Bitcode/BitCodes.h:22, from /<>/include/llvm/Bitcode/BitstreamReader.h:18, from /<>/tools/clang/lib/AST/ASTConsumer.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/lib/AST/ASTConsumer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ASTContext.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ASTContext.cpp.o -c /<>/tools/clang/lib/AST/ASTContext.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Lex/MacroArgs.h:18, from /<>/tools/clang/lib/Lex/MacroArgs.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Lex/MacroArgs.h:17, from /<>/tools/clang/lib/Lex/MacroArgs.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseExpr.cpp:24: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/DiagnosticIDs.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/DiagnosticIDs.cpp.o -c /<>/tools/clang/lib/Basic/DiagnosticIDs.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Parse/ParseExprCXX.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/MacroInfo.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/MacroInfo.cpp.o -c /<>/tools/clang/lib/Lex/MacroInfo.cpp [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/ModuleMap.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/ModuleMap.cpp.o -c /<>/tools/clang/lib/Lex/ModuleMap.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTContext.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseExpr.cpp:24: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseExpr.cpp:24: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseExpr.cpp:24: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseExpr.cpp:24: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Lex/MacroInfo.h:19, from /<>/tools/clang/lib/Lex/MacroInfo.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/lib/Lex/MacroInfo.cpp:243:35: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Lex/Token.h:18, from /<>/tools/clang/include/clang/Lex/MacroInfo.h:18, from /<>/tools/clang/lib/Lex/MacroInfo.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Parse/ParseExpr.cpp: In member function 'clang::ExprResult clang::Parser::ParseCastExpression(bool, bool, bool&, clang::Parser::TypeCastState)': /<>/tools/clang/lib/Parse/ParseExpr.cpp:1229:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Parse/ParseExpr.cpp:1234:3: note: here case tok::kw_operator: // [C++] id-expression: operator/conversion-function-id ^~~~ /<>/tools/clang/lib/Parse/ParseExpr.cpp: In member function 'clang::ExprResult clang::Parser::ParsePostfixExpressionSuffix(clang::ExprResult)': /<>/tools/clang/lib/Parse/ParseExpr.cpp:1395:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (getLangOpts().ObjC1 && !InMessageExpression && ^~ /<>/tools/clang/lib/Parse/ParseExpr.cpp:1404:5: note: here default: // Not a postfix-expression suffix. ^~~~~~~ [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/DiagnosticOptions.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/DiagnosticOptions.cpp.o -c /<>/tools/clang/lib/Basic/DiagnosticOptions.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PPCaching.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PPCaching.cpp.o -c /<>/tools/clang/lib/Lex/PPCaching.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Parse/ParseExprCXX.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Parse/ParseExprCXX.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Lex/ModuleMap.h:19, from /<>/tools/clang/lib/Lex/ModuleMap.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:55:67: required from 'void* llvm::AllocatorBase::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:77:12: required from 'T* llvm::AllocatorBase::Allocate(size_t) [with T = char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/tools/clang/lib/Lex/ModuleMap.cpp:1185:55: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Lex/ModuleMap.h:19, from /<>/tools/clang/lib/Lex/ModuleMap.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Parse/ParseExprCXX.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Parse/ParseExprCXX.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseInit.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseInit.cpp.o -c /<>/tools/clang/lib/Parse/ParseInit.cpp [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/FileManager.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/FileManager.cpp.o -c /<>/tools/clang/lib/Basic/FileManager.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTContext.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/AST/ASTContext.cpp:814:43: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTContext.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTContext.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTContext.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTContext.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/lib/Basic/FileManager.cpp:20: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::DirectoryEntry*; ValueTy = clang::DirectoryEntry*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::DirectoryEntry*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/lib/Basic/FileManager.cpp:130:62: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/FileSystemOptions.h:18, from /<>/tools/clang/include/clang/Basic/FileManager.h:18, from /<>/tools/clang/lib/Basic/FileManager.cpp:20: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseObjc.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseObjc.cpp.o -c /<>/tools/clang/lib/Parse/ParseObjc.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPCaching.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPCaching.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTContext.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Stmt]' /<>/tools/clang/lib/AST/ASTContext.cpp:8844:64: required from 'bool {anonymous}::ParentMapASTVisitor::TraverseNode(T, MapNodeTy, BaseTraverseFn, MapTy*) [with T = clang::Decl*; MapNodeTy = clang::Decl*; BaseTraverseFn = {anonymous}::ParentMapASTVisitor::TraverseDecl(clang::Decl*)::; MapTy = llvm::DenseMap*> >]' /<>/tools/clang/lib/AST/ASTContext.cpp:8882:34: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseInit.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /usr/include/c++/8/map:60, from /<>/tools/clang/include/clang/Basic/FileManager.h:28, from /<>/tools/clang/lib/Basic/FileManager.cpp:20: /usr/include/c++/8/bits/stl_tree.h: In member function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = llvm::sys::fs::UniqueID; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/AST/ASTContext.cpp: In member function 'void clang::ASTContext::getObjCEncodingForTypeImpl(clang::QualType, std::__cxx11::string&, bool, bool, const clang::FieldDecl*, bool, bool, bool, bool, bool, bool, clang::QualType*) const': /<>/tools/clang/lib/AST/ASTContext.cpp:5772:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/AST/ASTContext.cpp:5775:3: note: here case Type::ObjCInterface: { ^~~~ [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PPCallbacks.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PPCallbacks.cpp.o -c /<>/tools/clang/lib/Lex/PPCallbacks.cpp [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/FileSystemStatCache.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/FileSystemStatCache.cpp.o -c /<>/tools/clang/lib/Basic/FileSystemStatCache.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseOpenMP.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseOpenMP.cpp.o -c /<>/tools/clang/lib/Parse/ParseOpenMP.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/FileSystemStatCache.h:19, from /<>/tools/clang/lib/Basic/FileSystemStatCache.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::FileData; ValueTy = clang::FileData]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::FileData; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/include/llvm/ADT/StringMap.h:299:51: required from 'ValueTy& llvm::StringMap::operator[](llvm::StringRef) [with ValueTy = clang::FileData; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/lib/Basic/FileSystemStatCache.cpp:123:19: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/FileSystemStatCache.h:18, from /<>/tools/clang/lib/Basic/FileSystemStatCache.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/IdentifierTable.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/IdentifierTable.cpp.o -c /<>/tools/clang/lib/Basic/IdentifierTable.cpp [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PPConditionalDirectiveRecord.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PPConditionalDirectiveRecord.cpp.o -c /<>/tools/clang/lib/Lex/PPConditionalDirectiveRecord.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseInit.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseInit.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseInit.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseInit.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/lib/Basic/IdentifierTable.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/lib/Basic/IdentifierTable.cpp:622:79: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/CharInfo.h:13, from /<>/tools/clang/lib/Basic/IdentifierTable.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Basic/IdentifierTable.cpp: In static member function 'static clang::ObjCInstanceTypeFamily clang::Selector::getInstTypeMethodFamily(clang::Selector)': /<>/tools/clang/lib/Basic/IdentifierTable.cpp:533:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (startsWithWord(name, "standard")) return OIT_Singleton; ^~ /<>/tools/clang/lib/Basic/IdentifierTable.cpp:534:5: note: here case 'i': ^~~~ /<>/tools/clang/lib/Parse/ParseInit.cpp: In member function 'bool clang::Parser::ParseMicrosoftIfExistsBraceInitializer(clang::Parser::ExprVector&, bool&)': /<>/tools/clang/lib/Parse/ParseInit.cpp:504:9: warning: this statement may fall through [-Wimplicit-fallthrough=] Diag(Result.KeywordLoc, diag::warn_microsoft_dependent_exists) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Parse/ParseInit.cpp:508:3: note: here case IEB_Skip: ^~~~ [ 19%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParsePragma.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParsePragma.cpp.o -c /<>/tools/clang/lib/Parse/ParsePragma.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Parse/ParseObjc.cpp:540:67: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PPDirectives.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PPDirectives.cpp.o -c /<>/tools/clang/lib/Lex/PPDirectives.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = clang::ObjCDictionaryElement]': /<>/tools/clang/lib/Parse/ParseObjc.cpp:3428:31: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct clang::ObjCDictionaryElement' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Sema/Sema.h:21, from /<>/tools/clang/include/clang/Parse/Parser.h:24, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /<>/tools/clang/include/clang/AST/ExprObjC.h:212:8: note: 'struct clang::ObjCDictionaryElement' declared here struct ObjCDictionaryElement { ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseObjc.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 19%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PPExpressions.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PPExpressions.cpp.o -c /<>/tools/clang/lib/Lex/PPExpressions.cpp [ 20%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/LangOptions.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/LangOptions.cpp.o -c /<>/tools/clang/lib/Basic/LangOptions.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParsePragma.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 20%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Module.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/Module.cpp.o -c /<>/tools/clang/lib/Basic/Module.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPDirectives.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Lex/PPDirectives.cpp:638:65: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPDirectives.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPDirectives.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Lex/PPDirectives.cpp:1707:63: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPDirectives.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPExpressions.cpp:19: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPExpressions.cpp:19: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 20%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseStmt.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseStmt.cpp.o -c /<>/tools/clang/lib/Parse/ParseStmt.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPDirectives.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPDirectives.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Parse/ParseOpenMP.cpp: In member function 'clang::StmtResult clang::Parser::ParseOpenMPDeclarativeOrExecutableDirective(clang::Parser::AllowedContsructsKind)': /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:209:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (PP.LookAhead(0).is(tok::l_paren)) { ^~ /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:215:3: note: here case OMPD_taskyield: ^~~~ /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:224:28: warning: this statement may fall through [-Wimplicit-fallthrough=] HasAssociatedStatement = false; ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:226:3: note: here case OMPD_parallel: ^~~~ /<>/tools/clang/lib/Parse/ParseOpenMP.cpp: In member function 'clang::OMPClause* clang::Parser::ParseOpenMPClause(clang::OpenMPDirectiveKind, clang::OpenMPClauseKind, bool)': /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:499:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!FirstClause) { ^~ /<>/tools/clang/lib/Parse/ParseOpenMP.cpp:505:3: note: here case OMPC_if: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParsePragma.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParsePragma.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParsePragma.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Parse/ParseDiagnostic.h:13, from /<>/tools/clang/lib/Parse/RAIIObjectsForParser.h:18, from /<>/tools/clang/lib/Parse/ParsePragma.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseStmt.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 20%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/ObjCRuntime.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/ObjCRuntime.cpp.o -c /<>/tools/clang/lib/Basic/ObjCRuntime.cpp [ 20%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseStmtAsm.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseStmtAsm.cpp.o -c /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp [ 20%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/OpenMPKinds.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/OpenMPKinds.cpp.o -c /<>/tools/clang/lib/Basic/OpenMPKinds.cpp [ 20%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseTemplate.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseTemplate.cpp.o -c /<>/tools/clang/lib/Parse/ParseTemplate.cpp [ 20%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PPLexerChange.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PPLexerChange.cpp.o -c /<>/tools/clang/lib/Lex/PPLexerChange.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/lib/Basic/OpenMPKinds.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/lib/Basic/OpenMPKinds.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 20%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/OperatorPrecedence.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/OperatorPrecedence.cpp.o -c /<>/tools/clang/lib/Basic/OperatorPrecedence.cpp [ 20%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/SanitizerBlacklist.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/SanitizerBlacklist.cpp.o -c /<>/tools/clang/lib/Basic/SanitizerBlacklist.cpp [ 20%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Sanitizers.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/Sanitizers.cpp.o -c /<>/tools/clang/lib/Basic/Sanitizers.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseStmt.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseStmt.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseStmt.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseStmt.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Parse/ParseStmt.cpp: In member function 'clang::StmtResult clang::Parser::ParseStatementOrDeclarationAfterAttributes(clang::Parser::StmtVector&, clang::Parser::AllowedContsructsKind, clang::SourceLocation*, clang::Parser::ParsedAttributesWithRange&)': /<>/tools/clang/lib/Parse/ParseStmt.cpp:204:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Parse/ParseStmt.cpp:209:3: note: here default: { ^~~~~~~ [ 21%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseTentative.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/ParseTentative.cpp.o -c /<>/tools/clang/lib/Parse/ParseTentative.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseTemplate.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPLexerChange.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPLexerChange.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/SourceLocation.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/SourceLocation.cpp.o -c /<>/tools/clang/lib/Basic/SourceLocation.cpp [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PPMacroExpansion.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PPMacroExpansion.cpp.o -c /<>/tools/clang/lib/Lex/PPMacroExpansion.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseTentative.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/SourceManager.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/SourceManager.cpp.o -c /<>/tools/clang/lib/Basic/SourceManager.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, std::pair >]': /<>/include/llvm/MC/MCStreamer.h:307:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, std::pair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, std::pair >' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseTemplate.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseTemplate.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseTemplate.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseTemplate.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseStmtAsm.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PTHLexer.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PTHLexer.cpp.o -c /<>/tools/clang/lib/Lex/PTHLexer.cpp [ 21%] Building CXX object tools/clang/lib/Parse/CMakeFiles/clangParse.dir/Parser.cpp.o cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Parse -I/<>/tools/clang/lib/Parse -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangParse.dir/Parser.cpp.o -c /<>/tools/clang/lib/Parse/Parser.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPMacroExpansion.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/PPMacroExpansion.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/lib/Basic/SourceManager.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = unsigned int; ValueTy = unsigned int]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = unsigned int; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/lib/Basic/SourceManager.cpp:181:68: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/FileSystemOptions.h:18, from /<>/tools/clang/include/clang/Basic/FileManager.h:18, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/lib/Basic/SourceManager.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseTentative.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseTentative.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/ParseTentative.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/ParseTentative.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Parse/ParseTentative.cpp: In member function 'clang::Parser::TPResult clang::Parser::isCXXDeclarationSpecifier(clang::Parser::TPResult, bool*)': /<>/tools/clang/lib/Parse/ParseTentative.cpp:1365:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Parse/ParseTentative.cpp:1386:3: note: here case tok::annot_typename: ^~~~ /<>/tools/clang/lib/Parse/ParseTentative.cpp:1410:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Parse/ParseTentative.cpp:1412:3: note: here case tok::kw_char: ^~~~ In file included from /<>/tools/clang/include/clang/Lex/PreprocessorLexer.h:20, from /<>/tools/clang/include/clang/Lex/PTHLexer.h:17, from /<>/tools/clang/lib/Lex/PTHLexer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Lex/MultipleIncludeOpt.h:18, from /<>/tools/clang/include/clang/Lex/PreprocessorLexer.h:18, from /<>/tools/clang/include/clang/Lex/PTHLexer.h:17, from /<>/tools/clang/lib/Lex/PTHLexer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/Parser.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/Pragma.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/Pragma.cpp.o -c /<>/tools/clang/lib/Lex/Pragma.cpp [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PreprocessingRecord.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PreprocessingRecord.cpp.o -c /<>/tools/clang/lib/Lex/PreprocessingRecord.cpp [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/Preprocessor.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/Preprocessor.cpp.o -c /<>/tools/clang/lib/Lex/Preprocessor.cpp [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PreprocessorLexer.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/PreprocessorLexer.cpp.o -c /<>/tools/clang/lib/Lex/PreprocessorLexer.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:17, from /<>/tools/clang/lib/Lex/PreprocessingRecord.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:17, from /<>/tools/clang/lib/Lex/PreprocessingRecord.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/Parser.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Parse/Parser.cpp:2002:78: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/Parser.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:19, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/Parser.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/Parser.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/Parser.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:21, from /<>/tools/clang/lib/Parse/Parser.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/Basic/OpenMPKinds.h:18, from /<>/tools/clang/include/clang/Parse/Parser.h:17, from /<>/tools/clang/lib/Parse/Parser.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Lex/Pragma.h:18, from /<>/tools/clang/lib/Lex/Pragma.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Lex/Pragma.h:17, from /<>/tools/clang/lib/Lex/Pragma.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/ScratchBuffer.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/ScratchBuffer.cpp.o -c /<>/tools/clang/lib/Lex/ScratchBuffer.cpp [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/TargetInfo.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/TargetInfo.cpp.o -c /<>/tools/clang/lib/Basic/TargetInfo.cpp /<>/tools/clang/lib/Parse/Parser.cpp: In member function 'bool clang::Parser::isTokenEqualOrEqualTypo()': /<>/tools/clang/lib/Parse/Parser.cpp:1824:9: warning: this statement may fall through [-Wimplicit-fallthrough=] Diag(Tok, diag::err_invalid_token_after_declarator_suggest_equal) ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Parse/Parser.cpp:1827:3: note: here case tok::equal: ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/Preprocessor.cpp:28: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Lex/Preprocessor.cpp:767:68: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/Preprocessor.cpp:28: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Lex/PreprocessorLexer.h:20, from /<>/tools/clang/lib/Lex/PreprocessorLexer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Lex/MultipleIncludeOpt.h:18, from /<>/tools/clang/include/clang/Lex/PreprocessorLexer.h:18, from /<>/tools/clang/lib/Lex/PreprocessorLexer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/Preprocessor.cpp:28: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/Preprocessor.cpp:28: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/TokenConcatenation.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/TokenConcatenation.cpp.o -c /<>/tools/clang/lib/Lex/TokenConcatenation.cpp [ 21%] Building CXX object tools/clang/lib/Lex/CMakeFiles/clangLex.dir/TokenLexer.cpp.o cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Lex -I/<>/tools/clang/lib/Lex -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangLex.dir/TokenLexer.cpp.o -c /<>/tools/clang/lib/Lex/TokenLexer.cpp /<>/tools/clang/lib/Basic/TargetInfo.cpp: In member function 'const char* clang::TargetInfo::getTypeConstantSuffix(clang::TargetInfo::IntType) const': /<>/tools/clang/lib/Basic/TargetInfo.cpp:134:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (getCharWidth() < getIntWidth()) ^~ /<>/tools/clang/lib/Basic/TargetInfo.cpp:136:3: note: here case UnsignedShort: ^~~~ /<>/tools/clang/lib/Basic/TargetInfo.cpp:137:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (getShortWidth() < getIntWidth()) ^~ /<>/tools/clang/lib/Basic/TargetInfo.cpp:139:3: note: here case UnsignedInt: return "U"; ^~~~ [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Targets.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/Targets.cpp.o -c /<>/tools/clang/lib/Basic/Targets.cpp /usr/bin/make -f tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/build.make tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/ASTMatchers /<>/build-llvm /<>/build-llvm/tools/clang/lib/ASTMatchers /<>/build-llvm/tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/ASTMatchers/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/depend.internal". Scanning dependencies of target clangASTMatchers make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/build.make tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/build make[4]: Entering directory '/<>/build-llvm' [ 21%] Building CXX object tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/ASTMatchFinder.cpp.o cd /<>/build-llvm/tools/clang/lib/ASTMatchers && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ASTMatchers -I/<>/tools/clang/lib/ASTMatchers -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangASTMatchers.dir/ASTMatchFinder.cpp.o -c /<>/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Lex/TokenConcatenation.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/CharInfo.h:13, from /<>/tools/clang/lib/Lex/TokenConcatenation.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/lib/Lex/TokenLexer.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Lex/TokenLexer.h:17, from /<>/tools/clang/lib/Lex/TokenLexer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/TokenKinds.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/TokenKinds.cpp.o -c /<>/tools/clang/lib/Basic/TokenKinds.cpp /<>/tools/clang/lib/Basic/Targets.cpp: In static member function 'static void {anonymous}::X86TargetInfo::setMMXLevel(llvm::StringMap&, {anonymous}::X86TargetInfo::MMX3DNowEnum, bool)': /<>/tools/clang/lib/Basic/Targets.cpp:2849:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["3dnowa"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2850:5: note: here case AMD3DNow: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2851:23: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["3dnow"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2852:5: note: here case MMX: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2863:19: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["mmx"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2864:3: note: here case AMD3DNow: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2865:21: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["3dnow"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2866:3: note: here case AMD3DNowAthlon: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp: In static member function 'static void {anonymous}::X86TargetInfo::setXOPLevel(llvm::StringMap&, {anonymous}::X86TargetInfo::XOPEnum, bool)': /<>/tools/clang/lib/Basic/Targets.cpp:2876:21: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["xop"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2877:5: note: here case FMA4: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2879:18: warning: this statement may fall through [-Wimplicit-fallthrough=] setSSELevel(Features, AVX, true); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2880:5: note: here case SSE4A: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2892:21: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sse4a"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2893:3: note: here case FMA4: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2894:20: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["fma4"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2895:3: note: here case XOP: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp: In static member function 'static void {anonymous}::X86TargetInfo::setSSELevel(llvm::StringMap&, {anonymous}::X86TargetInfo::X86SSEEnum, bool)': /<>/tools/clang/lib/Basic/Targets.cpp:2791:25: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["avx512f"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2792:5: note: here case AVX2: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2793:22: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["avx2"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2794:5: note: here case AVX: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2796:23: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["xsave"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2797:5: note: here case SSE42: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2798:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sse4.2"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2799:5: note: here case SSE41: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2800:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sse4.1"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2801:5: note: here case SSSE3: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2802:23: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["ssse3"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2803:5: note: here case SSE3: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2804:22: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sse3"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2805:5: note: here case SSE2: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2806:22: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sse2"] = true; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2807:5: note: here case SSE1: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2818:19: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sse"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2819:3: note: here case SSE2: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2821:21: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sha"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2822:3: note: here case SSE3: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2824:16: warning: this statement may fall through [-Wimplicit-fallthrough=] setXOPLevel(Features, NoXOP, false); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2825:3: note: here case SSSE3: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2826:21: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["ssse3"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2827:3: note: here case SSE41: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2828:22: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sse4.1"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2829:3: note: here case SSE42: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2830:22: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["sse4.2"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2831:3: note: here case AVX: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2834:16: warning: this statement may fall through [-Wimplicit-fallthrough=] setXOPLevel(Features, FMA4, false); ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2835:3: note: here case AVX2: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:2836:20: warning: this statement may fall through [-Wimplicit-fallthrough=] Features["avx2"] = false; ^ /<>/tools/clang/lib/Basic/Targets.cpp:2837:3: note: here case AVX512F: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp: In member function 'virtual void {anonymous}::X86TargetInfo::getTargetDefines(const clang::LangOptions&, clang::MacroBuilder&) const': /<>/tools/clang/lib/Basic/Targets.cpp:3305:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__XOP__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3306:3: note: here case FMA4: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3307:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__FMA4__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3308:3: note: here case SSE4A: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3354:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__AVX512F__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3355:3: note: here case AVX2: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3356:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__AVX2__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3357:3: note: here case AVX: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3358:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__AVX__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3359:3: note: here case SSE42: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3360:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__SSE4_2__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3361:3: note: here case SSE41: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3362:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__SSE4_1__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3363:3: note: here case SSSE3: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3364:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__SSSE3__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3365:3: note: here case SSE3: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3366:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__SSE3__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3367:3: note: here case SSE2: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3369:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__SSE2_MATH__"); // -mfp-math=sse always implied. ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3370:3: note: here case SSE1: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3400:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__3dNOW_A__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3401:3: note: here case AMD3DNow: ^~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3402:24: warning: this statement may fall through [-Wimplicit-fallthrough=] Builder.defineMacro("__3dNOW__"); ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /<>/tools/clang/lib/Basic/Targets.cpp:3403:3: note: here case MMX: ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h:44, from /<>/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp:19: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 21%] Building CXX object tools/clang/lib/ASTMatchers/CMakeFiles/clangASTMatchers.dir/ASTMatchersInternal.cpp.o cd /<>/build-llvm/tools/clang/lib/ASTMatchers && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ASTMatchers -I/<>/tools/clang/lib/ASTMatchers -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangASTMatchers.dir/ASTMatchersInternal.cpp.o -c /<>/tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Version.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/Version.cpp.o -c /<>/tools/clang/lib/Basic/Version.cpp /usr/bin/make -f tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/build.make tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/ASTMatchers/Dynamic /<>/build-llvm /<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic /<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/depend.internal". Scanning dependencies of target clangDynamicASTMatchers make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/build.make tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/build make[4]: Entering directory '/<>/build-llvm' [ 21%] Building CXX object tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Diagnostics.cpp.o cd /<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic -I/<>/tools/clang/lib/ASTMatchers/Dynamic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDynamicASTMatchers.dir/Diagnostics.cpp.o -c /<>/tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp [ 21%] Linking CXX static library ../../../../lib/libclangLex.a cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/cmake -P CMakeFiles/clangLex.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Lex && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangLex.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangLex.a CMakeFiles/clangLex.dir/HeaderMap.cpp.o CMakeFiles/clangLex.dir/HeaderSearch.cpp.o CMakeFiles/clangLex.dir/Lexer.cpp.o CMakeFiles/clangLex.dir/LiteralSupport.cpp.o CMakeFiles/clangLex.dir/MacroArgs.cpp.o CMakeFiles/clangLex.dir/MacroInfo.cpp.o CMakeFiles/clangLex.dir/ModuleMap.cpp.o CMakeFiles/clangLex.dir/PPCaching.cpp.o CMakeFiles/clangLex.dir/PPCallbacks.cpp.o CMakeFiles/clangLex.dir/PPConditionalDirectiveRecord.cpp.o CMakeFiles/clangLex.dir/PPDirectives.cpp.o CMakeFiles/clangLex.dir/PPExpressions.cpp.o CMakeFiles/clangLex.dir/PPLexerChange.cpp.o CMakeFiles/clangLex.dir/PPMacroExpansion.cpp.o CMakeFiles/clangLex.dir/PTHLexer.cpp.o CMakeFiles/clangLex.dir/Pragma.cpp.o CMakeFiles/clangLex.dir/PreprocessingRecord.cpp.o CMakeFiles/clangLex.dir/Preprocessor.cpp.o CMakeFiles/clangLex.dir/PreprocessorLexer.cpp.o CMakeFiles/clangLex.dir/ScratchBuffer.cpp.o CMakeFiles/clangLex.dir/TokenConcatenation.cpp.o CMakeFiles/clangLex.dir/TokenLexer.cpp.o /usr/bin/ranlib ../../../../lib/libclangLex.a [ 21%] Linking CXX static library ../../../../lib/libclangParse.a cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/cmake -P CMakeFiles/clangParse.dir/cmake_clean_target.cmake make[4]: Leaving directory '/<>/build-llvm' /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] cd /<>/build-llvm/tools/clang/lib/Parse && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangParse.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangParse.a CMakeFiles/clangParse.dir/ParseAST.cpp.o CMakeFiles/clangParse.dir/ParseCXXInlineMethods.cpp.o CMakeFiles/clangParse.dir/ParseDecl.cpp.o CMakeFiles/clangParse.dir/ParseDeclCXX.cpp.o CMakeFiles/clangParse.dir/ParseExpr.cpp.o CMakeFiles/clangParse.dir/ParseExprCXX.cpp.o CMakeFiles/clangParse.dir/ParseInit.cpp.o CMakeFiles/clangParse.dir/ParseObjc.cpp.o CMakeFiles/clangParse.dir/ParseOpenMP.cpp.o CMakeFiles/clangParse.dir/ParsePragma.cpp.o CMakeFiles/clangParse.dir/ParseStmt.cpp.o CMakeFiles/clangParse.dir/ParseStmtAsm.cpp.o CMakeFiles/clangParse.dir/ParseTemplate.cpp.o CMakeFiles/clangParse.dir/ParseTentative.cpp.o CMakeFiles/clangParse.dir/Parser.cpp.o [ 21%] Built target clangLex /usr/bin/make -f tools/clang/lib/Sema/CMakeFiles/clangSema.dir/build.make tools/clang/lib/Sema/CMakeFiles/clangSema.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Sema /<>/build-llvm /<>/build-llvm/tools/clang/lib/Sema /<>/build-llvm/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Sema/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/depend.internal". /usr/bin/ranlib ../../../../lib/libclangParse.a make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/build.make tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/CodeGen /<>/build-llvm /<>/build-llvm/tools/clang/lib/CodeGen /<>/build-llvm/tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/CodeGen/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/depend.internal". [ 21%] Built target clangParse /usr/bin/make -f tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/build.make tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Analysis /<>/build-llvm /<>/build-llvm/tools/clang/lib/Analysis /<>/build-llvm/tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/DependInfo.cmake --color= /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] Dependee "/<>/build-llvm/tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Analysis/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/depend.internal". /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ Scanning dependencies of target clangSema make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Sema/CMakeFiles/clangSema.dir/build.make tools/clang/lib/Sema/CMakeFiles/clangSema.dir/build Scanning dependencies of target clangAnalysis make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/build.make tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/build make[4]: Entering directory '/<>/build-llvm' make[4]: Entering directory '/<>/build-llvm' [ 21%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/AnalysisBasedWarnings.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/AnalysisBasedWarnings.cpp.o -c /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp [ 21%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/AnalysisDeclContext.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/AnalysisDeclContext.cpp.o -c /<>/tools/clang/lib/Analysis/AnalysisDeclContext.cpp Scanning dependencies of target clangCodeGen make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/build.make tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/build make[4]: Entering directory '/<>/build-llvm' [ 21%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/BackendUtil.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/BackendUtil.cpp.o -c /<>/tools/clang/lib/CodeGen/BackendUtil.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 21%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ASTDiagnostic.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ASTDiagnostic.cpp.o -c /<>/tools/clang/lib/AST/ASTDiagnostic.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/lib/Analysis/AnalysisDeclContext.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/lib/CodeGen/BackendUtil.cpp:23: /<>/include/llvm/CodeGen/SchedulerRegistry.h: In constructor 'llvm::RegisterScheduler::RegisterScheduler(const char*, const char*, llvm::RegisterScheduler::FunctionPassCtor)': /<>/include/llvm/CodeGen/SchedulerRegistry.h:42:52: warning: cast between incompatible function types from 'llvm::RegisterScheduler::FunctionPassCtor' {aka 'llvm::ScheduleDAGSDNodes* (*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level)'} to 'llvm::MachinePassCtor' {aka 'void* (*)()'} [-Wcast-function-type] : MachinePassRegistryNode(N, D, (MachinePassCtor)C) ^ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/ASTDiagnostic.h:13, from /<>/tools/clang/lib/AST/ASTDiagnostic.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h:44, from /<>/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp:19: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h:44, from /<>/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp:19: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/lib/Analysis/AnalysisDeclContext.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/lib/Analysis/AnalysisDeclContext.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/lib/Analysis/AnalysisDeclContext.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/Analysis/AnalysisDeclContext.cpp:175:42: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGAtomic.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGAtomic.cpp.o -c /<>/tools/clang/lib/CodeGen/CGAtomic.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/ASTDiagnostic.h:13, from /<>/tools/clang/lib/AST/ASTDiagnostic.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/ASTDiagnostic.h:13, from /<>/tools/clang/lib/AST/ASTDiagnostic.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/AST/ASTDiagnostic.cpp: In function 'void clang::FormatASTNodeDiagnosticArgument(clang::DiagnosticsEngine::ArgumentKind, intptr_t, llvm::StringRef, llvm::StringRef, llvm::ArrayRef >, llvm::SmallVectorImpl&, void*, llvm::ArrayRef)': /<>/tools/clang/lib/AST/ASTDiagnostic.cpp:361:29: warning: this statement may fall through [-Wimplicit-fallthrough=] Argument = StringRef(); ^ /<>/tools/clang/lib/AST/ASTDiagnostic.cpp:364:5: note: here case DiagnosticsEngine::ak_qualtype: { ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h:44, from /<>/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp:19: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Stmt]' /<>/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp:117:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:735:43: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:745:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:755:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:777:35: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:784:33: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:800:41: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:807:32: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DefaultStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:821:37: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::SwitchCase; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:964:74: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:968:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::AttributedStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:1041:72: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:373:26: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ObjCAtThrowStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:377:31: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXThrowExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:381:28: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::MSAsmStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:385:25: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXTryStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:391:26: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::ContainsReference; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:868:27: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SwitchCase; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:932:35: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:961:41: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BreakStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:1130:56: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/Sema/AnalysisBasedWarnings.h:17, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo, llvm::detail::DenseMapPair >, true> >]': /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:1243:59: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo, llvm::detail::DenseMapPair >, true> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/Sema/AnalysisBasedWarnings.h:17, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo, llvm::detail::DenseMapPair >, true> >' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/Sema/AnalysisBasedWarnings.h:17, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/Sema/AnalysisBasedWarnings.h:17, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/Sema/AnalysisBasedWarnings.h:17, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/Sema/AnalysisBasedWarnings.h:17, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:133:63: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:174:74: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::LabelStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::LabelStmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:968:71: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::AttributedStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::AttributedStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::AttributedStmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:1041:72: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGAtomic.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Sema/AnalysisBasedWarnings.h:17, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:16: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = const clang::VarDecl*; ValueT = clang::consumed::ConsumedState; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = const clang::VarDecl*; ValueT = clang::consumed::ConsumedState; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = const clang::VarDecl*; ValueT = clang::consumed::ConsumedState; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/include/clang/Analysis/Analyses/Consumed.h:148:16: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::ContainsReference; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:868:27: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::ContainsReference; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Sema/AnalysisBasedWarnings.cpp:868:27: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 21%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/BodyFarm.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/BodyFarm.cpp.o -c /<>/tools/clang/lib/Analysis/BodyFarm.cpp [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/VersionTuple.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/VersionTuple.cpp.o -c /<>/tools/clang/lib/Basic/VersionTuple.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 21%] Building CXX object tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/VariantValue.cpp.o cd /<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic -I/<>/tools/clang/lib/ASTMatchers/Dynamic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDynamicASTMatchers.dir/VariantValue.cpp.o -c /<>/tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/VirtualFileSystem.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/VirtualFileSystem.cpp.o -c /<>/tools/clang/lib/Basic/VirtualFileSystem.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Analysis/BodyFarm.h:18, from /<>/tools/clang/lib/Analysis/BodyFarm.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 21%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ASTDumper.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ASTDumper.cpp.o -c /<>/tools/clang/lib/AST/ASTDumper.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGAtomic.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGAtomic.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/AttributeList.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/AttributeList.cpp.o -c /<>/tools/clang/lib/Sema/AttributeList.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/lib/Analysis/BodyFarm.h:19, from /<>/tools/clang/lib/Analysis/BodyFarm.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Analysis/BodyFarm.h:18, from /<>/tools/clang/lib/Analysis/BodyFarm.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/lib/Basic/VirtualFileSystem.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/YAMLParser.h:149:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:16, from /<>/tools/clang/lib/Basic/VirtualFileSystem.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTDumper.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Sema/AttributeList.h:18, from /<>/tools/clang/lib/Sema/AttributeList.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 21%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFG.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/CFG.cpp.o -c /<>/tools/clang/lib/Analysis/CFG.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/lib/Analysis/CFG.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ASTDumper.cpp:1657:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::ASTDumper; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/ASTDumper.cpp:1662:34: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::ASTDumper; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/ASTDumper.cpp:1662:34: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTDumper.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTDumper.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ASTDumper.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DeclStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclStmt*]' /<>/tools/clang/lib/AST/ASTDumper.cpp:1657:50: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /usr/include/c++/8/map:60, from /<>/tools/clang/include/clang/Basic/FileManager.h:28, from /<>/tools/clang/include/clang/Basic/Module.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:24, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h:44, from /<>/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp:19: /usr/include/c++/8/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = clang::ast_matchers::internal::{anonymous}::MatchKey; _Val = std::pair; _KeyOfValue = std::_Select1st >; _Compare = std::less; _Alloc = std::allocator >]': /usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::ASTDumper; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/ASTDumper.cpp:1662:34: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::ASTDumper; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/ASTDumper.cpp:1662:34: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /usr/include/c++/8/map:61, from /<>/tools/clang/include/clang/Basic/FileManager.h:28, from /<>/tools/clang/include/clang/Basic/Module.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:24, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchFinder.h:44, from /<>/tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp:19: /usr/include/c++/8/bits/stl_map.h: In member function 'bool clang::ast_matchers::internal::{anonymous}::MatchASTVisitor::memoizedMatchesAncestorOfRecursively(const clang::ast_type_traits::DynTypedNode&, const clang::ast_matchers::internal::DynTypedMatcher&, clang::ast_matchers::internal::BoundNodesTreeBuilder*, clang::ast_matchers::internal::ASTMatchFinder::AncestorMatchMode)': /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/TargetCXXABI.h:19, from /<>/tools/clang/include/clang/Basic/TargetInfo.h:21, from /<>/tools/clang/include/clang/Sema/AttributeList.h:19, from /<>/tools/clang/lib/Sema/AttributeList.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Sema/AttributeList.h:18, from /<>/tools/clang/lib/Sema/AttributeList.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/TargetCXXABI.h:19, from /<>/tools/clang/include/clang/Basic/TargetInfo.h:21, from /<>/tools/clang/include/clang/Sema/AttributeList.h:19, from /<>/tools/clang/lib/Sema/AttributeList.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Sema/AttributeList.h:18, from /<>/tools/clang/lib/Sema/AttributeList.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 21%] Building CXX object tools/clang/lib/Basic/CMakeFiles/clangBasic.dir/Warnings.cpp.o cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Basic -I/<>/tools/clang/lib/Basic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangBasic.dir/Warnings.cpp.o -c /<>/tools/clang/lib/Basic/Warnings.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:3946:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:3988:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:3991:53: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:3997:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4004:37: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::StmtExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4194:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4206:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4222:72: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4225:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/CFG.cpp:3949:35: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXOperatorCallExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/CFG.cpp:4216:35: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/CFG.cpp:4219:41: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/CFG.cpp:4233:20: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/lib/Analysis/CFG.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/include/clang/AST/Stmt.h:17, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/lib/Analysis/CFG.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/lib/Analysis/CFG.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::SwitchStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::SwitchStmt*]' /<>/tools/clang/lib/Analysis/CFG.cpp:3946:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::StmtExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::StmtExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::StmtExpr*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4194:50: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4206:61: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CXXConstructExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXConstructExpr*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4222:72: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CastExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CastExpr*]' /<>/tools/clang/lib/Analysis/CFG.cpp:4225:55: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 21%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGBlocks.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGBlocks.cpp.o -c /<>/tools/clang/lib/CodeGen/CGBlocks.cpp [ 21%] Linking CXX static library ../../../../lib/libclangBasic.a cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/cmake -P CMakeFiles/clangBasic.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Basic && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangBasic.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangBasic.a CMakeFiles/clangBasic.dir/Attributes.cpp.o CMakeFiles/clangBasic.dir/Builtins.cpp.o CMakeFiles/clangBasic.dir/CharInfo.cpp.o CMakeFiles/clangBasic.dir/Diagnostic.cpp.o CMakeFiles/clangBasic.dir/DiagnosticIDs.cpp.o CMakeFiles/clangBasic.dir/DiagnosticOptions.cpp.o CMakeFiles/clangBasic.dir/FileManager.cpp.o CMakeFiles/clangBasic.dir/FileSystemStatCache.cpp.o CMakeFiles/clangBasic.dir/IdentifierTable.cpp.o CMakeFiles/clangBasic.dir/LangOptions.cpp.o CMakeFiles/clangBasic.dir/Module.cpp.o CMakeFiles/clangBasic.dir/ObjCRuntime.cpp.o CMakeFiles/clangBasic.dir/OpenMPKinds.cpp.o CMakeFiles/clangBasic.dir/OperatorPrecedence.cpp.o CMakeFiles/clangBasic.dir/SanitizerBlacklist.cpp.o CMakeFiles/clangBasic.dir/Sanitizers.cpp.o CMakeFiles/clangBasic.dir/SourceLocation.cpp.o CMakeFiles/clangBasic.dir/SourceManager.cpp.o CMakeFiles/clangBasic.dir/TargetInfo.cpp.o CMakeFiles/clangBasic.dir/Targets.cpp.o CMakeFiles/clangBasic.dir/TokenKinds.cpp.o CMakeFiles/clangBasic.dir/Version.cpp.o CMakeFiles/clangBasic.dir/VersionTuple.cpp.o CMakeFiles/clangBasic.dir/VirtualFileSystem.cpp.o CMakeFiles/clangBasic.dir/Warnings.cpp.o /usr/bin/ranlib ../../../../lib/libclangBasic.a make[4]: Leaving directory '/<>/build-llvm' [ 21%] Built target clangBasic [ 21%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o -c /<>/tools/clang/lib/Analysis/CFGReachabilityAnalysis.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/lib/Analysis/CFGReachabilityAnalysis.cpp:18: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/lib/Analysis/CFGReachabilityAnalysis.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/tools/clang/lib/Analysis/CFGReachabilityAnalysis.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGBlocks.h:17, from /<>/tools/clang/lib/CodeGen/CGBlocks.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 21%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CFGStmtMap.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/CFGStmtMap.cpp.o -c /<>/tools/clang/lib/Analysis/CFGStmtMap.cpp [ 21%] Building CXX object tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Parser.cpp.o In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/lib/Analysis/CFGStmtMap.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ cd /<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic -I/<>/tools/clang/lib/ASTMatchers/Dynamic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDynamicASTMatchers.dir/Parser.cpp.o -c /<>/tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/lib/Analysis/CFGStmtMap.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/lib/Analysis/CFGStmtMap.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/CodeCompleteConsumer.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/CodeCompleteConsumer.cpp.o -c /<>/tools/clang/lib/Sema/CodeCompleteConsumer.cpp [ 21%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/DeclSpec.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/DeclSpec.cpp.o -c /<>/tools/clang/lib/Sema/DeclSpec.cpp [ 21%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CallGraph.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/CallGraph.cpp.o -c /<>/tools/clang/lib/Analysis/CallGraph.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Parser.h:37, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /usr/include/c++/8/bits/stl_map.h: In function 'bool clang::ast_matchers::internal::{anonymous}::MatchASTVisitor::memoizedMatchesRecursively(const clang::ast_type_traits::DynTypedNode&, const clang::ast_matchers::internal::DynTypedMatcher&, clang::ast_matchers::internal::BoundNodesTreeBuilder*, int, clang::ast_matchers::internal::ASTMatchFinder::TraversalKind, clang::ast_matchers::internal::ASTMatchFinder::BindKind)': /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::const_iterator' {aka 'std::_Rb_tree_const_iterator >'} changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, [ 21%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ASTImporter.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ASTImporter.cpp.o -c /<>/tools/clang/lib/AST/ASTImporter.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Sema/CodeCompleteConsumer.h:17, from /<>/tools/clang/lib/Sema/CodeCompleteConsumer.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/Analysis/CallGraph.h:20, from /<>/tools/clang/lib/Analysis/CallGraph.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/DeclSpec.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGBlocks.h:17, from /<>/tools/clang/lib/CodeGen/CGBlocks.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGBlocks.h:17, from /<>/tools/clang/lib/CodeGen/CGBlocks.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/ASTImporter.h:17, from /<>/tools/clang/lib/AST/ASTImporter.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 21%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/DelayedDiagnostic.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/DelayedDiagnostic.cpp.o -c /<>/tools/clang/lib/Sema/DelayedDiagnostic.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Sema/CodeCompleteConsumer.h:17, from /<>/tools/clang/lib/Sema/CodeCompleteConsumer.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Sema/CodeCompleteConsumer.h:17, from /<>/tools/clang/lib/Sema/CodeCompleteConsumer.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Sema/CodeCompleteConsumer.h:17, from /<>/tools/clang/lib/Sema/CodeCompleteConsumer.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/lib/Sema/CodeCompleteConsumer.cpp:260:49: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Sema/CodeCompleteConsumer.h:17, from /<>/tools/clang/lib/Sema/CodeCompleteConsumer.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/DeclSpec.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/DeclSpec.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Parser.h:37, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Parser.h:37, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/Analysis/CallGraph.h:20, from /<>/tools/clang/lib/Analysis/CallGraph.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/Analysis/CallGraph.h:20, from /<>/tools/clang/lib/Analysis/CallGraph.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/include/clang/Sema/DelayedDiagnostic.h:25, from /<>/tools/clang/lib/Sema/DelayedDiagnostic.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/AST/ASTImporter.cpp: In function 'bool IsStructurallyEquivalent({anonymous}::StructuralEquivalenceContext&, clang::QualType, clang::QualType)': /<>/tools/clang/lib/AST/ASTImporter.cpp:618:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!IsStructurallyEquivalent(Context, Function1->getReturnType(), ^~ /<>/tools/clang/lib/AST/ASTImporter.cpp:621:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (Function1->getExtInfo() != Function2->getExtInfo()) ^~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/DeclSpec.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/DeclSpec.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/ASTImporter.h:17, from /<>/tools/clang/lib/AST/ASTImporter.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/ASTImporter.h:17, from /<>/tools/clang/lib/AST/ASTImporter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/ASTImporter.h:17, from /<>/tools/clang/lib/AST/ASTImporter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 21%] Linking CXX static library ../../../../lib/libclangASTMatchers.a cd /<>/build-llvm/tools/clang/lib/ASTMatchers && /usr/bin/cmake -P CMakeFiles/clangASTMatchers.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/ASTMatchers && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangASTMatchers.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangASTMatchers.a CMakeFiles/clangASTMatchers.dir/ASTMatchFinder.cpp.o CMakeFiles/clangASTMatchers.dir/ASTMatchersInternal.cpp.o /usr/bin/ranlib ../../../../lib/libclangASTMatchers.a /<>/tools/clang/lib/AST/ASTImporter.cpp:610:19: warning: this statement may fall through [-Wimplicit-fallthrough=] return false; ^ /<>/tools/clang/lib/AST/ASTImporter.cpp:615:3: note: here case Type::FunctionNoProto: { ^~~~ make[4]: Leaving directory '/<>/build-llvm' [ 21%] Built target clangASTMatchers /usr/bin/make -f tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/build.make tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Edit /<>/build-llvm /<>/build-llvm/tools/clang/lib/Edit /<>/build-llvm/tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Edit/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/depend.internal". /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ Scanning dependencies of target clangEdit make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/build.make tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/build make[4]: Entering directory '/<>/build-llvm' [ 22%] Building CXX object tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/Commit.cpp.o cd /<>/build-llvm/tools/clang/lib/Edit && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Edit -I/<>/tools/clang/lib/Edit -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangEdit.dir/Commit.cpp.o -c /<>/tools/clang/lib/Edit/Commit.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/include/clang/Sema/DelayedDiagnostic.h:25, from /<>/tools/clang/lib/Sema/DelayedDiagnostic.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/include/clang/Sema/DelayedDiagnostic.h:25, from /<>/tools/clang/lib/Sema/DelayedDiagnostic.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Parser.h:37, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Parser.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/include/clang/Sema/DelayedDiagnostic.h:25, from /<>/tools/clang/lib/Sema/DelayedDiagnostic.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/include/clang/Sema/DelayedDiagnostic.h:25, from /<>/tools/clang/lib/Sema/DelayedDiagnostic.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/EditedSource.cpp.o cd /<>/build-llvm/tools/clang/lib/Edit && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Edit -I/<>/tools/clang/lib/Edit -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangEdit.dir/EditedSource.cpp.o -c /<>/tools/clang/lib/Edit/EditedSource.cpp [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/IdentifierResolver.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/IdentifierResolver.cpp.o -c /<>/tools/clang/lib/Sema/IdentifierResolver.cpp [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/JumpDiagnostics.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/JumpDiagnostics.cpp.o -c /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp In file included from /<>/tools/clang/include/clang/Edit/Commit.h:14, from /<>/tools/clang/lib/Edit/Commit.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Edit/FileOffset.h:13, from /<>/tools/clang/include/clang/Edit/Commit.h:13, from /<>/tools/clang/lib/Edit/Commit.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/Edit/EditedSource.h:13, from /<>/tools/clang/lib/Edit/EditedSource.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/Edit/EditedSource.h:13, from /<>/tools/clang/lib/Edit/EditedSource.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CocoaConventions.cpp.o [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/MultiplexExternalSemaSource.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/MultiplexExternalSemaSource.cpp.o -c /<>/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/CocoaConventions.cpp.o -c /<>/tools/clang/lib/Analysis/CocoaConventions.cpp [ 22%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGBuiltin.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGBuiltin.cpp.o -c /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 22%] Building CXX object tools/clang/lib/Edit/CMakeFiles/clangEdit.dir/RewriteObjCFoundationAPI.cpp.o cd /<>/build-llvm/tools/clang/lib/Edit && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Edit -I/<>/tools/clang/lib/Edit -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangEdit.dir/RewriteObjCFoundationAPI.cpp.o -c /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/Sema/IdentifierResolver.h:18, from /<>/tools/clang/lib/Sema/IdentifierResolver.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/Sema/IdentifierResolver.h:18, from /<>/tools/clang/lib/Sema/IdentifierResolver.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:18, from /<>/tools/clang/include/clang/Sema/ExternalSemaSource.h:16, from /<>/tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h:16, from /<>/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/Analysis/CocoaConventions.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Analysis/DomainSpecific/CocoaConventions.h:17, from /<>/tools/clang/lib/Analysis/CocoaConventions.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/Scope.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/Scope.cpp.o -c /<>/tools/clang/lib/Sema/Scope.cpp [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/Consumed.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/Consumed.cpp.o -c /<>/tools/clang/lib/Analysis/Consumed.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 22%] Building CXX object tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o cd /<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic -I/<>/tools/clang/lib/ASTMatchers/Dynamic -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o -c /<>/tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:17, from /<>/tools/clang/include/clang/Sema/ExternalSemaSource.h:16, from /<>/tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h:16, from /<>/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:17, from /<>/tools/clang/include/clang/Sema/ExternalSemaSource.h:16, from /<>/tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h:16, from /<>/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:383:79: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:17, from /<>/tools/clang/include/clang/Sema/ExternalSemaSource.h:16, from /<>/tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h:16, from /<>/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:17, from /<>/tools/clang/include/clang/Sema/ExternalSemaSource.h:16, from /<>/tools/clang/include/clang/Sema/MultiplexExternalSemaSource.h:16, from /<>/tools/clang/lib/Sema/MultiplexExternalSemaSource.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:616:30: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Edit/Rewriters.h:12, from /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/tools/clang/include/clang/Edit/Rewriters.h:12, from /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCMessageExpr*]' /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:383:79: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/JumpDiagnostics.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Sema/Scope.h:17, from /<>/tools/clang/lib/Sema/Scope.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Sema/Scope.h:17, from /<>/tools/clang/lib/Sema/Scope.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/Consumed.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp: In function 'bool rewriteToNumberLiteral(const clang::ObjCMessageExpr*, const clang::NSAPI&, clang::edit::Commit&)': /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:806:20: warning: this statement may fall through [-Wimplicit-fallthrough=] CallIsUnsigned = true; ~~~~~~~~~~~~~~~^~~~~~ /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:807:3: note: here case NSAPI::NSNumberWithLong: ^~~~ /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:812:20: warning: this statement may fall through [-Wimplicit-fallthrough=] CallIsUnsigned = true; ~~~~~~~~~~~~~~~^~~~~~ /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:813:3: note: here case NSAPI::NSNumberWithLongLong: ^~~~ /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:818:18: warning: this statement may fall through [-Wimplicit-fallthrough=] CallIsDouble = true; ~~~~~~~~~~~~~^~~~~~ /<>/tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp:819:3: note: here case NSAPI::NSNumberWithFloat: ^~~~ [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/ScopeInfo.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/ScopeInfo.cpp.o -c /<>/tools/clang/lib/Sema/ScopeInfo.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Registry.h:20, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/Sema.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/Sema.cpp.o -c /<>/tools/clang/lib/Sema/Sema.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Linking CXX static library ../../../../lib/libclangEdit.a cd /<>/build-llvm/tools/clang/lib/Edit && /usr/bin/cmake -P CMakeFiles/clangEdit.dir/cmake_clean_target.cmake /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] cd /<>/build-llvm/tools/clang/lib/Edit && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangEdit.dir/link.txt --verbose=1 /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /usr/bin/ar qc ../../../../lib/libclangEdit.a CMakeFiles/clangEdit.dir/Commit.cpp.o CMakeFiles/clangEdit.dir/EditedSource.cpp.o CMakeFiles/clangEdit.dir/RewriteObjCFoundationAPI.cpp.o /usr/bin/ranlib ../../../../lib/libclangEdit.a make[4]: Leaving directory '/<>/build-llvm' [ 22%] Built target clangEdit /usr/bin/make -f tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/build.make tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Rewrite /<>/build-llvm /<>/build-llvm/tools/clang/lib/Rewrite /<>/build-llvm/tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Rewrite/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/depend.internal". Scanning dependencies of target clangRewrite make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/build.make tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/build make[4]: Entering directory '/<>/build-llvm' [ 22%] Building CXX object tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/DeltaTree.cpp.o cd /<>/build-llvm/tools/clang/lib/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Rewrite -I/<>/tools/clang/lib/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewrite.dir/DeltaTree.cpp.o -c /<>/tools/clang/lib/Rewrite/DeltaTree.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/Sema/ScopeInfo.h:18, from /<>/tools/clang/lib/Sema/ScopeInfo.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 22%] Building CXX object tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/HTMLRewrite.cpp.o cd /<>/build-llvm/tools/clang/lib/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Rewrite -I/<>/tools/clang/lib/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewrite.dir/HTMLRewrite.cpp.o -c /<>/tools/clang/lib/Rewrite/HTMLRewrite.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/Sema.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/Consumed.cpp:1263:66: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/Consumed.cpp:1287:74: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = clang::consumed::ConsumedStmtVisitor; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/Consumed.cpp:1381:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/Consumed.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/Consumed.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ASTTypeTraits.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ASTTypeTraits.cpp.o -c /<>/tools/clang/lib/AST/ASTTypeTraits.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/Consumed.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::IfStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::IfStmt*]' /<>/tools/clang/lib/Analysis/Consumed.cpp:1263:66: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/lib/Analysis/Consumed.cpp:1287:74: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp: In member function 'llvm::Value* clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(unsigned int, unsigned int, unsigned int, const char*, unsigned int, const clang::CallExpr*, llvm::SmallVectorImpl&, clang::CodeGen::Address, clang::CodeGen::Address)': /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp:2981:14: warning: this statement may fall through [-Wimplicit-fallthrough=] std::swap(Ops[0], Ops[1]); ~~~~~~~~~^~~~~~~~~~~~~~~~ /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp:2982:3: note: here case NEON::BI__builtin_neon_vcage_v: ^~~~ In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/Basic/PartialDiagnostic.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:18, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/Consumed.cpp:15: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = const clang::VarDecl*; ValueT = clang::consumed::ConsumedState; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = const clang::VarDecl*; ValueT = clang::consumed::ConsumedState; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = const clang::VarDecl*; ValueT = clang::consumed::ConsumedState; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/include/clang/Analysis/Analyses/Consumed.h:148:16: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/Consumed.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = clang::consumed::ConsumedStmtVisitor; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/Consumed.cpp:1381:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp: In member function 'llvm::Value* clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(unsigned int, const clang::CallExpr*)': /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp:4093:16: warning: this statement may fall through [-Wimplicit-fallthrough=] rightShift = true; ~~~~~~~~~~~^~~~~~ /<>/tools/clang/lib/CodeGen/CGBuiltin.cpp:4094:3: note: here case NEON::BI__builtin_neon_vsli_n_v: ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/Sema/ScopeInfo.h:18, from /<>/tools/clang/lib/Sema/ScopeInfo.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/Sema/ScopeInfo.h:18, from /<>/tools/clang/lib/Sema/ScopeInfo.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/lib/Rewrite/HTMLRewrite.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Rewrite/Core/HTMLRewrite.h:18, from /<>/tools/clang/lib/Rewrite/HTMLRewrite.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaAccess.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaAccess.cpp.o -c /<>/tools/clang/lib/Sema/SemaAccess.cpp /<>/tools/clang/lib/Rewrite/HTMLRewrite.cpp: In function 'void clang::html::SyntaxHighlight(clang::Rewriter&, clang::FileID, const clang::Preprocessor&)': /<>/tools/clang/lib/Rewrite/HTMLRewrite.cpp:401:7: warning: this statement may fall through [-Wimplicit-fallthrough=] --TokLen; ^~~~~~~~ /<>/tools/clang/lib/Rewrite/HTMLRewrite.cpp:403:5: note: here case tok::wide_string_literal: ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/lib/AST/ASTTypeTraits.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Registry.h:20, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Registry.h:20, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaAttr.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaAttr.cpp.o -c /<>/tools/clang/lib/Sema/SemaAttr.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/RewriteRope.cpp.o cd /<>/build-llvm/tools/clang/lib/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Rewrite -I/<>/tools/clang/lib/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewrite.dir/RewriteRope.cpp.o -c /<>/tools/clang/lib/Rewrite/RewriteRope.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAccess.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/lib/AST/ASTTypeTraits.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/lib/AST/ASTTypeTraits.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/lib/AST/ASTTypeTraits.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Stmt]' /<>/tools/clang/lib/AST/ASTTypeTraits.cpp:126:38: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/Sema.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/Sema.cpp:500:54: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/Sema.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/Sema.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/Sema.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/Sema.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/Sema.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/Sema.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/Rewriter.cpp.o cd /<>/build-llvm/tools/clang/lib/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Rewrite -I/<>/tools/clang/lib/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewrite.dir/Rewriter.cpp.o -c /<>/tools/clang/lib/Rewrite/Rewriter.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAttr.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 22%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/AttrImpl.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/AttrImpl.cpp.o -c /<>/tools/clang/lib/AST/AttrImpl.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/CodeInjector.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/CodeInjector.cpp.o -c /<>/tools/clang/lib/Analysis/CodeInjector.cpp [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/Dominators.cpp.o In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/AST/AttrImpl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/Dominators.cpp.o -c /<>/tools/clang/lib/Analysis/Dominators.cpp [ 22%] Building CXX object tools/clang/lib/Rewrite/CMakeFiles/clangRewrite.dir/TokenRewriter.cpp.o cd /<>/build-llvm/tools/clang/lib/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Rewrite -I/<>/tools/clang/lib/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewrite.dir/TokenRewriter.cpp.o -c /<>/tools/clang/lib/Rewrite/TokenRewriter.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:48, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h:20, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h:18, from /<>/tools/clang/include/clang/ASTMatchers/Dynamic/Registry.h:20, from /<>/tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::LabelStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::LabelStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::LabelStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DoStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DoStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DoStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::WhileStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::WhileStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::WhileStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXOperatorCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXOperatorCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXOperatorCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXOperatorCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAccess.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAccess.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAccess.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAccess.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAttr.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAttr.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAttr.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaAttr.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/lib/AST/AttrImpl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/AST/AttrImpl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Linking CXX static library ../../../../lib/libclangRewrite.a cd /<>/build-llvm/tools/clang/lib/Rewrite && /usr/bin/cmake -P CMakeFiles/clangRewrite.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Rewrite && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangRewrite.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangRewrite.a CMakeFiles/clangRewrite.dir/DeltaTree.cpp.o CMakeFiles/clangRewrite.dir/HTMLRewrite.cpp.o CMakeFiles/clangRewrite.dir/RewriteRope.cpp.o CMakeFiles/clangRewrite.dir/Rewriter.cpp.o CMakeFiles/clangRewrite.dir/TokenRewriter.cpp.o /usr/bin/ranlib ../../../../lib/libclangRewrite.a make[4]: Leaving directory '/<>/build-llvm' [ 22%] Built target clangRewrite /usr/bin/make -f tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/build.make tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/ARCMigrate /<>/build-llvm /<>/build-llvm/tools/clang/lib/ARCMigrate /<>/build-llvm/tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/ARCMigrate/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/depend.internal". /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ Scanning dependencies of target clangARCMigrate make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/build.make tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/build make[4]: Entering directory '/<>/build-llvm' [ 22%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/ARCMT.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/ARCMT.cpp.o -c /<>/tools/clang/lib/ARCMigrate/ARCMT.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/GenericDomTreeConstruction.h:57:3: required from 'unsigned int llvm::DFSPass(llvm::DominatorTreeBase&, typename GraphT::NodeType*, unsigned int) [with GraphT = llvm::GraphTraits; typename GraphT::NodeType = clang::CFGBlock]' /<>/include/llvm/Support/GenericDomTreeConstruction.h:169:24: required from 'void llvm::Calculate(llvm::DominatorTreeBase::NodeType>&, FuncT&) [with FuncT = clang::CFG; N = clang::CFGBlock*; typename llvm::GraphTraits::NodeType = clang::CFGBlock]' /<>/include/llvm/Support/GenericDomTree.h:729:29: required from 'void llvm::DominatorTreeBase::recalculate(FT&) [with FT = clang::CFG; NodeT = clang::CFGBlock]' /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:85:25: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair*, __gnu_cxx::__normal_iterator* const*, std::vector*, std::allocator*> > > >]': /<>/include/llvm/Support/GenericDomTree.h:691:5: required from 'void llvm::DominatorTreeBase::updateDFSNumbers() const [with NodeT = clang::CFGBlock]' /<>/include/llvm/Support/GenericDomTreeConstruction.h:287:3: required from 'void llvm::Calculate(llvm::DominatorTreeBase::NodeType>&, FuncT&) [with FuncT = clang::CFG; N = clang::CFGBlock*; typename llvm::GraphTraits::NodeType = clang::CFGBlock]' /<>/include/llvm/Support/GenericDomTree.h:729:29: required from 'void llvm::DominatorTreeBase::recalculate(FT&) [with FT = clang::CFG; NodeT = clang::CFGBlock]' /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:85:25: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair*, __gnu_cxx::__normal_iterator* const*, std::vector*, std::allocator*> > > >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair*, __gnu_cxx::__normal_iterator* const*, std::vector*, std::allocator*> > > >' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/GenericDomTreeConstruction.h:57:3: required from 'unsigned int llvm::DFSPass(llvm::DominatorTreeBase&, typename GraphT::NodeType*, unsigned int) [with GraphT = llvm::GraphTraits >; typename GraphT::NodeType = clang::CFGBlock]' /<>/include/llvm/Support/GenericDomTreeConstruction.h:169:24: required from 'void llvm::Calculate(llvm::DominatorTreeBase::NodeType>&, FuncT&) [with FuncT = clang::CFG; N = llvm::Inverse; typename llvm::GraphTraits::NodeType = clang::CFGBlock]' /<>/include/llvm/Support/GenericDomTree.h:738:38: required from 'void llvm::DominatorTreeBase::recalculate(FT&) [with FT = clang::CFG; NodeT = clang::CFGBlock]' /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:85:25: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/Dominators.h:17, from /<>/tools/clang/lib/Analysis/Dominators.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/FormatString.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/FormatString.cpp.o -c /<>/tools/clang/lib/Analysis/FormatString.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMT.h:13, from /<>/tools/clang/lib/ARCMigrate/Internals.h:13, from /<>/tools/clang/lib/ARCMigrate/ARCMT.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/FormatStringParsing.h:4, from /<>/tools/clang/lib/Analysis/FormatString.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 22%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/ARCMTActions.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/ARCMTActions.cpp.o -c /<>/tools/clang/lib/ARCMigrate/ARCMTActions.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/FormatStringParsing.h:4, from /<>/tools/clang/lib/Analysis/FormatString.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/FormatStringParsing.h:4, from /<>/tools/clang/lib/Analysis/FormatString.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaCXXScopeSpec.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaCXXScopeSpec.cpp.o -c /<>/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/ARCMigrate/ARCMTActions.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 22%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/CXXInheritance.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/CXXInheritance.cpp.o -c /<>/tools/clang/lib/AST/CXXInheritance.cpp [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/LiveVariables.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/LiveVariables.cpp.o -c /<>/tools/clang/lib/Analysis/LiveVariables.cpp [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaCast.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaCast.cpp.o -c /<>/tools/clang/lib/Sema/SemaCast.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:14, from /<>/tools/clang/include/clang/ARCMigrate/ARCMT.h:13, from /<>/tools/clang/lib/ARCMigrate/Internals.h:13, from /<>/tools/clang/lib/ARCMigrate/ARCMT.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMT.h:13, from /<>/tools/clang/lib/ARCMigrate/Internals.h:13, from /<>/tools/clang/lib/ARCMigrate/ARCMT.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCUDANV.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGCUDANV.cpp.o -c /<>/tools/clang/lib/CodeGen/CGCUDANV.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:14, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/ARCMigrate/ARCMTActions.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/ARCMigrate/ARCMTActions.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:17, from /<>/tools/clang/lib/AST/CXXInheritance.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/LiveVariables.h:17, from /<>/tools/clang/lib/Analysis/LiveVariables.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCast.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/LiveVariables.cpp:234:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::OpaqueValueExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/LiveVariables.cpp:238:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/LiveVariables.cpp:519:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCUDANV.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/Analysis/LiveVariables.cpp:232:42: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ExprWithCleanups; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ExprWithCleanups*]' /<>/tools/clang/lib/Analysis/LiveVariables.cpp:234:67: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::OpaqueValueExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::OpaqueValueExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OpaqueValueExpr*]' /<>/tools/clang/lib/Analysis/LiveVariables.cpp:238:65: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/lib/Analysis/LiveVariables.cpp:519:57: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaChecking.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaChecking.cpp.o -c /<>/tools/clang/lib/Sema/SemaChecking.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/LiveVariables.h:17, from /<>/tools/clang/lib/Analysis/LiveVariables.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/LiveVariables.h:17, from /<>/tools/clang/lib/Analysis/LiveVariables.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:17, from /<>/tools/clang/lib/AST/CXXInheritance.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:17, from /<>/tools/clang/lib/AST/CXXInheritance.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/Basic/PartialDiagnostic.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:17, from /<>/tools/clang/lib/AST/CXXInheritance.cpp:13: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap, llvm::detail::DenseMapPair >; DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = unsigned int; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = unsigned int; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = unsigned int; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/MapVector.h:32:7: required from 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = std::pair; _Args = {const std::pair&}]' /usr/include/c++/8/bits/stl_uninitialized.h:83:18: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const std::pair*; _ForwardIterator = std::pair*; bool _TrivialValueTypes = false]' /usr/include/c++/8/bits/stl_uninitialized.h:134:15: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/8/bits/stl_uninitialized.h:311:2: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = std::pair*; _ForwardIterator = std::pair*; _Allocator = std::allocator >]' /usr/include/c++/8/bits/vector.tcc:447:6: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::pair}; _Tp = std::pair; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::pair*]' /usr/include/c++/8/bits/vector.tcc:109:4: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair}; _Tp = std::pair; _Alloc = std::allocator >]' /usr/include/c++/8/bits/stl_vector.h:1091:9: required from 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair; _Alloc = std::allocator >; std::vector<_Tp, _Alloc>::value_type = std::pair]' /<>/include/llvm/ADT/MapVector.h:80:7: required from 'ValueT& llvm::MapVector::operator[](const KeyT&) [with KeyT = const clang::CXXMethodDecl*; ValueT = clang::OverridingMethods; MapType = llvm::DenseMap, llvm::detail::DenseMapPair >; VectorType = std::vector, std::allocator > >]' /<>/tools/clang/lib/AST/CXXInheritance.cpp:527:27: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCXXScopeSpec.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCast.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCast.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCast.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCast.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/FileRemapper.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/FileRemapper.cpp.o -c /<>/tools/clang/lib/ARCMigrate/FileRemapper.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCUDANV.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCUDANV.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::NullStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaChecking.cpp:9355:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaChecking.cpp:9374:46: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaChecking.cpp:9378:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/ObjCMT.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/ObjCMT.cpp.o -c /<>/tools/clang/lib/ARCMigrate/ObjCMT.cpp [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaCodeComplete.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaCodeComplete.cpp.o -c /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/ObjCNoReturn.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/ObjCNoReturn.cpp.o -c /<>/tools/clang/lib/Analysis/ObjCNoReturn.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaChecking.cpp:8062:56: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/SemaChecking.cpp:9409:53: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaChecking.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::NullStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::NullStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::NullStmt*]' /<>/tools/clang/lib/Sema/SemaChecking.cpp:9355:50: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ForStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ForStmt*]' /<>/tools/clang/lib/Sema/SemaChecking.cpp:9374:46: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::WhileStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::WhileStmt*]' /<>/tools/clang/lib/Sema/SemaChecking.cpp:9378:57: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Comment.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/Comment.cpp.o -c /<>/tools/clang/lib/AST/Comment.cpp [ 22%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCUDARuntime.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGCUDARuntime.cpp.o -c /<>/tools/clang/lib/CodeGen/CGCUDARuntime.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/ObjCMT.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/ObjCNoReturn.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Comment.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCUDARuntime.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/ObjCNoReturn.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/ObjCNoReturn.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/PlistReporter.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/PlistReporter.cpp.o -c /<>/tools/clang/lib/ARCMigrate/PlistReporter.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Comment.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Comment.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/PostOrderCFGView.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/PostOrderCFGView.cpp.o -c /<>/tools/clang/lib/Analysis/PostOrderCFGView.cpp [ 22%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/CommentBriefParser.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/CommentBriefParser.cpp.o -c /<>/tools/clang/lib/AST/CommentBriefParser.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/PostOrderCFGView.h:24, from /<>/tools/clang/lib/Analysis/PostOrderCFGView.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:94:64: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/PostOrderCFGView.h:21, from /<>/tools/clang/lib/Analysis/PostOrderCFGView.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/vector:60, from /<>/tools/clang/include/clang/Analysis/Analyses/PostOrderCFGView.h:17, from /<>/tools/clang/lib/Analysis/PostOrderCFGView.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/ObjCMT.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/ObjCMT.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 22%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaConsumer.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaConsumer.cpp.o -c /<>/tools/clang/lib/Sema/SemaConsumer.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCUDARuntime.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCUDARuntime.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp: In function 'CXCursorKind clang::getCursorKindForDecl(const clang::Decl*)': /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:3057:7: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (cast(D)->getPropertyImplementation()) { ^~~~~~ /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:3065:7: note: here case Decl::Import: ^~~~ /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp: In function 'void AddOrdinaryNameResults(clang::Sema::ParserCompletionContext, clang::Scope*, clang::Sema&, {anonymous}::ResultBuilder&)': /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:1811:22: warning: this statement may fall through [-Wimplicit-fallthrough=] Results.AddResult(Result(Builder.TakeString())); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:1815:3: note: here case Sema::PCC_ForInit: ^~~~ /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:1817:25: warning: this statement may fall through [-Wimplicit-fallthrough=] AddStorageSpecifiers(CCC, SemaRef.getLangOpts(), Results); ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/SemaCodeComplete.cpp:1820:3: note: here case Sema::PCC_ParenthesizedExpression: ^~~~ [ 22%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/CommentCommandTraits.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/CommentCommandTraits.cpp.o -c /<>/tools/clang/lib/AST/CommentCommandTraits.cpp [ 22%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/PrintfFormatString.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/PrintfFormatString.cpp.o -c /<>/tools/clang/lib/Analysis/PrintfFormatString.cpp [ 23%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaCoroutine.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaCoroutine.cpp.o -c /<>/tools/clang/lib/Sema/SemaCoroutine.cpp In file included from /<>/tools/clang/include/clang/AST/CommentCommandTraits.h:21, from /<>/tools/clang/lib/AST/CommentCommandTraits.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/lib/AST/CommentCommandTraits.cpp:90:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/AST/CommentCommandTraits.h:19, from /<>/tools/clang/lib/AST/CommentCommandTraits.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/CommentLexer.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/CommentLexer.cpp.o -c /<>/tools/clang/lib/AST/CommentLexer.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCoroutine.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/FormatString.h:22, from /<>/tools/clang/lib/Analysis/PrintfFormatString.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGCXX.cpp.o -c /<>/tools/clang/lib/CodeGen/CGCXX.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/CommentLexer.h:17, from /<>/tools/clang/lib/AST/CommentLexer.cpp:1: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:55:67: required from 'void* llvm::AllocatorBase::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:77:12: required from 'T* llvm::AllocatorBase::Allocate(size_t) [with T = char; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/tools/clang/lib/AST/CommentLexer.cpp:34:78: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/CommentLexer.h:17, from /<>/tools/clang/lib/AST/CommentLexer.cpp:1: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/FormatString.h:22, from /<>/tools/clang/lib/Analysis/PrintfFormatString.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/FormatString.h:22, from /<>/tools/clang/lib/Analysis/PrintfFormatString.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Analysis/PrintfFormatString.cpp: In member function 'clang::analyze_format_string::ArgType clang::analyze_printf::PrintfSpecifier::getArgType(clang::ASTContext&, bool) const': /<>/tools/clang/lib/Analysis/PrintfFormatString.cpp:400:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) ^~ /<>/tools/clang/lib/Analysis/PrintfFormatString.cpp:402:7: note: here default: ^~~~~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/CommentParser.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/CommentParser.cpp.o -c /<>/tools/clang/lib/AST/CommentParser.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/GlobalDecl.h:18, from /<>/tools/clang/lib/CodeGen/CGVTables.h:19, from /<>/tools/clang/lib/CodeGen/CodeGenModule.h:17, from /<>/tools/clang/lib/CodeGen/CGCXX.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/ProgramPoint.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/ProgramPoint.cpp.o -c /<>/tools/clang/lib/Analysis/ProgramPoint.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCoroutine.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCoroutine.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCoroutine.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaCoroutine.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/AST/CommentCommandTraits.h:21, from /<>/tools/clang/include/clang/AST/Comment.h:17, from /<>/tools/clang/include/clang/AST/CommentParser.h:17, from /<>/tools/clang/lib/AST/CommentParser.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/AST/CommentCommandTraits.h:19, from /<>/tools/clang/include/clang/AST/Comment.h:17, from /<>/tools/clang/include/clang/AST/CommentParser.h:17, from /<>/tools/clang/lib/AST/CommentParser.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/lib/Analysis/ProgramPoint.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/lib/Analysis/ProgramPoint.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/lib/Analysis/ProgramPoint.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/PseudoConstantAnalysis.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/PseudoConstantAnalysis.cpp.o -c /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/Analyses/PseudoConstantAnalysis.h:19, from /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.h:17, from /<>/tools/clang/lib/CodeGen/CodeGenModule.h:17, from /<>/tools/clang/lib/CodeGen/CGCXX.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.h:17, from /<>/tools/clang/lib/CodeGen/CodeGenModule.h:17, from /<>/tools/clang/lib/CodeGen/CGCXX.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/CommentSema.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/CommentSema.cpp.o -c /<>/tools/clang/lib/AST/CommentSema.cpp [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/ReachableCode.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/ReachableCode.cpp.o -c /<>/tools/clang/lib/Analysis/ReachableCode.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:88:45: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:94:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:139:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:172:47: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:201:53: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BlockExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:212:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:88:45: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/Analyses/PseudoConstantAnalysis.h:19, from /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/include/clang/AST/Stmt.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/PseudoConstantAnalysis.h:19, from /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp: In member function 'void clang::PseudoConstantAnalysis::RunAnalysis()': /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:112:19: warning: this statement may fall through [-Wimplicit-fallthrough=] continue; ^ /<>/tools/clang/lib/Analysis/PseudoConstantAnalysis.cpp:115:7: note: here case BO_AddAssign: ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ReachableCode.h:17, from /<>/tools/clang/lib/Analysis/ReachableCode.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/CommentCommandTraits.h:20, from /<>/tools/clang/include/clang/AST/Comment.h:17, from /<>/tools/clang/include/clang/AST/CommentSema.h:17, from /<>/tools/clang/lib/AST/CommentSema.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/ScanfFormatString.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/ScanfFormatString.cpp.o -c /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaCUDA.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaCUDA.cpp.o -c /<>/tools/clang/lib/Sema/SemaCUDA.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:53:49: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:71:70: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:167:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ParenExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:171:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:188:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:203:53: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:207:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:218:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundAssignOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:523:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::AbstractConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:531:42: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:540:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CStyleCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:546:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXFunctionalCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:551:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXTryStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:556:32: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCBridgedCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:559:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:595:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/ReachableCode.cpp:255:29: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/ReachableCode.cpp:258:33: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/lib/Analysis/ReachableCode.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Analysis/ReachableCode.cpp:483:54: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ReachableCode.h:17, from /<>/tools/clang/lib/Analysis/ReachableCode.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ReachableCode.h:17, from /<>/tools/clang/lib/Analysis/ReachableCode.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BreakStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/ReachableCode.cpp:575:23: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DoStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DoStmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:53:49: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ReturnStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ReturnStmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:71:70: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:167:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ParenExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ParenExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ParenExpr*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:171:50: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ForStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ForStmt*]' /<>/tools/clang/lib/Analysis/ReachableCode.cpp:595:59: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/lib/Analysis/ReachableCode.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ReachableCode.h:17, from /<>/tools/clang/lib/Analysis/ReachableCode.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/FormatString.h:22, from /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/AST/CommentCommandTraits.h:21, from /<>/tools/clang/include/clang/AST/Comment.h:17, from /<>/tools/clang/include/clang/AST/CommentSema.h:17, from /<>/tools/clang/lib/AST/CommentSema.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/AST/CommentCommandTraits.h:19, from /<>/tools/clang/include/clang/AST/Comment.h:17, from /<>/tools/clang/include/clang/AST/CommentSema.h:17, from /<>/tools/clang/lib/AST/CommentSema.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaCUDA.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCXXABI.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGCXXABI.cpp.o -c /<>/tools/clang/lib/CodeGen/CGCXXABI.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/FormatString.h:22, from /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/CanonicalType.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/FormatString.h:22, from /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaDecl.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaDecl.cpp.o -c /<>/tools/clang/lib/Sema/SemaDecl.cpp /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp: In member function 'clang::analyze_format_string::ArgType clang::analyze_scanf::ScanfSpecifier::getArgType(clang::ASTContext&) const': /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:337:11: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) ^~ /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:339:9: note: here default: ^~~~~~~ /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:353:11: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Ctx.getTargetInfo().getTriple().isOSMSVCRT()) ^~ /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:355:9: note: here default: ^~~~~~~ /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:232:7: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (LM.getKind()) { ^~~~~~ /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:265:5: note: here case ConversionSpecifier::oArg: ^~~~ /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:271:7: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (LM.getKind()) { ^~~~~~ /<>/tools/clang/lib/Analysis/ScanfFormatString.cpp:304:5: note: here case ConversionSpecifier::aArg: ^~~~ [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/ThreadSafety.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/ThreadSafety.cpp.o -c /<>/tools/clang/lib/Analysis/ThreadSafety.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGCXXABI.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDecl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaDeclAttr.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaDeclAttr.cpp.o -c /<>/tools/clang/lib/Sema/SemaDeclAttr.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaCUDA.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaCUDA.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaCUDA.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaCUDA.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:18: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Decl.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/Decl.cpp.o -c /<>/tools/clang/lib/AST/Decl.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclAttr.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ParenExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1337:58: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1340:72: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1343:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1346:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1350:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1357:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/AST/Decl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXThrowExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:2076:39: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ContinueStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:2239:41: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BreakStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:2239:71: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:18: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:48:75: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:18: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:18: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1334:56: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ParenExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ParenExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ParenExpr*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1337:58: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ImplicitCastExpr*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1340:72: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ExprWithCleanups; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ExprWithCleanups*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1343:73: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DeclRefExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclRefExpr*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1346:63: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1350:67: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/lib/Analysis/ThreadSafety.cpp:1357:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaDeclCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaDeclCXX.cpp.o -c /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGCXXABI.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGCXXABI.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGCXXABI.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGCXXABI.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGCXXABI.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDecl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaDecl.cpp:6931:59: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDecl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDecl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::AsmStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/SemaDecl.cpp:11301:28: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::NullStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Sema/SemaDecl.cpp:11301:49: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/AST/Decl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/AST/Decl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDecl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDecl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDecl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDecl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Sema/SemaDecl.cpp: In member function 'clang::ParsedType clang::Sema::getTypeName(const clang::IdentifierInfo&, clang::SourceLocation, clang::Scope*, clang::CXXScopeSpec*, bool, bool, clang::ParsedType, bool, bool, clang::IdentifierInfo**)': /<>/tools/clang/lib/Sema/SemaDecl.cpp:365:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Sema/SemaDecl.cpp:367:3: note: here case LookupResult::FoundOverloaded: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclAttr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclAttr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclAttr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclAttr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCall.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGCall.cpp.o -c /<>/tools/clang/lib/CodeGen/CGCall.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransAPIUses.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransAPIUses.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransAPIUses.cpp [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/ThreadSafetyCommon.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/ThreadSafetyCommon.cpp.o -c /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:5357:78: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:9046:79: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:13209:72: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:8869:70: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclarationName.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclarationName.cpp.o -c /<>/tools/clang/lib/AST/DeclarationName.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:950:5: required from 'void std::swap(llvm::SmallVector&, llvm::SmallVector&) [with T = std::pair; unsigned int N = 2]' /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:5429:47: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:950:5: required from 'void std::swap(llvm::SmallVector&, llvm::SmallVector&) [with T = std::pair; unsigned int N = 2]' /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:5430:56: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransAPIUses.cpp:20: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/PostOrderCFGView.h:24, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h:25, from /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair*; It2 = std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair; unsigned int N = 4]' /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:9034:10: required from 'BucketT* llvm::DenseMapBase::InsertIntoBucket(KeyT&&, ValueT&&, BucketT*) [with DerivedT = llvm::DenseMap; KeyT = const clang::Type*; ValueT = {anonymous}::InheritingConstructorInfo::InheritingConstructorsForType; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:242:12: required from 'llvm::DenseMapBase::value_type& llvm::DenseMapBase::FindAndConstruct(KeyT&&) [with DerivedT = llvm::DenseMap; KeyT = const clang::Type*; ValueT = {anonymous}::InheritingConstructorInfo::InheritingConstructorsForType; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair; llvm::DenseMapBase::value_type = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:246:45: required from 'ValueT& llvm::DenseMapBase::operator[](KeyT&&) [with DerivedT = llvm::DenseMap; KeyT = const clang::Type*; ValueT = {anonymous}::InheritingConstructorInfo::InheritingConstructorsForType; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:9057:72: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCall.cpp:3156:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclarationName.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/CodeGen/CGValue.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.h:18, from /<>/tools/clang/lib/CodeGen/CGCall.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:209:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXThisExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:211:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:213:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:217:64: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXOperatorCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:219:68: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:221:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:224:58: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:227:66: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:230:41: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:233:47: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ParenExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:237:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:239:46: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:241:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:253:49: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:256:46: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:260:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp: In member function 'bool clang::Sema::checkThisInStaticMemberFunctionExceptionSpec(clang::CXXMethodDecl*)': /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:13601:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!Finder.TraverseStmt(Proto->getNoexceptExpr())) ^~ /<>/tools/clang/lib/Sema/SemaDeclCXX.cpp:13604:3: note: here case EST_Dynamic: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/PostOrderCFGView.h:21, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h:25, from /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:48:75: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/vector:60, from /<>/tools/clang/include/clang/Analysis/Analyses/PostOrderCFGView.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h:25, from /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/PostOrderCFGView.h:24, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h:25, from /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CastExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CastExpr*]' /<>/tools/clang/lib/Analysis/ThreadSafetyCommon.cpp:260:48: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclarationName.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclarationName.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransAPIUses.cpp:20: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransAPIUses.cpp:20: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclBase.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclBase.cpp.o -c /<>/tools/clang/lib/AST/DeclBase.cpp [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/ThreadSafetyLogical.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/ThreadSafetyLogical.cpp.o -c /<>/tools/clang/lib/Analysis/ThreadSafetyLogical.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/lib/AST/DeclBase.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:52, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyLogical.h:16, from /<>/tools/clang/lib/Analysis/ThreadSafetyLogical.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/lib/AST/DeclBase.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/lib/AST/DeclBase.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransARCAssign.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransARCAssign.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransARCAssign.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:52, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyLogical.h:16, from /<>/tools/clang/lib/Analysis/ThreadSafetyLogical.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:48:75: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:52, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyLogical.h:16, from /<>/tools/clang/lib/Analysis/ThreadSafetyLogical.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/ThreadSafetyTIL.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/ThreadSafetyTIL.cpp.o -c /<>/tools/clang/lib/Analysis/ThreadSafetyTIL.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransARCAssign.cpp:24: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:52, from /<>/tools/clang/lib/Analysis/ThreadSafetyTIL.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:52, from /<>/tools/clang/lib/Analysis/ThreadSafetyTIL.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:48:75: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h:17, from /<>/tools/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h:52, from /<>/tools/clang/lib/Analysis/ThreadSafetyTIL.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Analysis/CMakeFiles/clangAnalysis.dir/UninitializedValues.cpp.o cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Analysis -I/<>/tools/clang/lib/Analysis -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAnalysis.dir/UninitializedValues.cpp.o -c /<>/tools/clang/lib/Analysis/UninitializedValues.cpp /usr/bin/make -f tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/build.make tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Driver /<>/build-llvm /<>/build-llvm/tools/clang/lib/Driver /<>/build-llvm/tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Driver/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/depend.internal". Scanning dependencies of target clangDriver make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/build.make tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Action.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Action.cpp.o -c /<>/tools/clang/lib/Driver/Action.cpp [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGClass.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGClass.cpp.o -c /<>/tools/clang/lib/CodeGen/CGClass.cpp [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclCXX.cpp.o -c /<>/tools/clang/lib/AST/DeclCXX.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransARCAssign.cpp:24: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransARCAssign.cpp:24: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Compilation.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Compilation.cpp.o -c /<>/tools/clang/lib/Driver/Compilation.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/UninitializedValues.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Driver/Types.h:14, from /<>/tools/clang/include/clang/Driver/Action.h:13, from /<>/tools/clang/include/clang/Driver/Compilation.h:13, from /<>/tools/clang/lib/Driver/Compilation.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Driver/Compilation.cpp:198:68: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/tools/clang/include/clang/Driver/Types.h:14, from /<>/tools/clang/include/clang/Driver/Action.h:13, from /<>/tools/clang/include/clang/Driver/Compilation.h:13, from /<>/tools/clang/lib/Driver/Compilation.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/lib/AST/DeclCXX.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGBlocks.h:17, from /<>/tools/clang/lib/CodeGen/CGClass.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/UninitializedValues.cpp:652:37: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SwitchCase; Y = const clang::Stmt*]': /<>/tools/clang/lib/Analysis/UninitializedValues.cpp:654:51: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/UninitializedValues.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Analysis/UninitializedValues.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/CrossWindowsToolChain.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/CrossWindowsToolChain.cpp.o -c /<>/tools/clang/lib/Driver/CrossWindowsToolChain.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Linking CXX static library ../../../../../lib/libclangDynamicASTMatchers.a cd /<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic && /usr/bin/cmake -P CMakeFiles/clangDynamicASTMatchers.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/ASTMatchers/Dynamic && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangDynamicASTMatchers.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../lib/libclangDynamicASTMatchers.a CMakeFiles/clangDynamicASTMatchers.dir/Diagnostics.cpp.o CMakeFiles/clangDynamicASTMatchers.dir/VariantValue.cpp.o CMakeFiles/clangDynamicASTMatchers.dir/Parser.cpp.o CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/bin/ranlib ../../../../../lib/libclangDynamicASTMatchers.a In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/lib/AST/DeclCXX.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/lib/AST/DeclCXX.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangDynamicASTMatchers /usr/bin/make -f tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/build.make tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Serialization /<>/build-llvm /<>/build-llvm/tools/clang/lib/Serialization /<>/build-llvm/tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Serialization/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/depend.internal". Scanning dependencies of target clangSerialization make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/build.make tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ASTCommon.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ASTCommon.cpp.o -c /<>/tools/clang/lib/Serialization/ASTCommon.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Driver.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Driver.cpp.o -c /<>/tools/clang/lib/Driver/Driver.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Serialization/ASTCommon.h:17, from /<>/tools/clang/lib/Serialization/ASTCommon.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::DynamicThisUseChecker; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGClass.cpp:515:21: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::DynamicThisUseChecker; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGClass.cpp:515:21: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Driver/Driver.h:13, from /<>/tools/clang/lib/Driver/Driver.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Driver/Driver.cpp:1233:47: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Driver/Driver.h:13, from /<>/tools/clang/lib/Driver/Driver.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGBlocks.h:17, from /<>/tools/clang/lib/CodeGen/CGClass.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGBlocks.h:17, from /<>/tools/clang/lib/CodeGen/CGClass.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Serialization/ASTCommon.h:17, from /<>/tools/clang/lib/Serialization/ASTCommon.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Serialization/ASTCommon.h:17, from /<>/tools/clang/lib/Serialization/ASTCommon.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGBlocks.h:17, from /<>/tools/clang/lib/CodeGen/CGClass.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::DynamicThisUseChecker; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGClass.cpp:515:21: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::DynamicThisUseChecker; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGClass.cpp:515:21: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Linking CXX static library ../../../../lib/libclangAnalysis.a cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/cmake -P CMakeFiles/clangAnalysis.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Analysis && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangAnalysis.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangAnalysis.a CMakeFiles/clangAnalysis.dir/AnalysisDeclContext.cpp.o CMakeFiles/clangAnalysis.dir/BodyFarm.cpp.o CMakeFiles/clangAnalysis.dir/CFG.cpp.o CMakeFiles/clangAnalysis.dir/CFGReachabilityAnalysis.cpp.o CMakeFiles/clangAnalysis.dir/CFGStmtMap.cpp.o CMakeFiles/clangAnalysis.dir/CallGraph.cpp.o CMakeFiles/clangAnalysis.dir/CocoaConventions.cpp.o CMakeFiles/clangAnalysis.dir/Consumed.cpp.o CMakeFiles/clangAnalysis.dir/CodeInjector.cpp.o CMakeFiles/clangAnalysis.dir/Dominators.cpp.o CMakeFiles/clangAnalysis.dir/FormatString.cpp.o CMakeFiles/clangAnalysis.dir/LiveVariables.cpp.o CMakeFiles/clangAnalysis.dir/ObjCNoReturn.cpp.o CMakeFiles/clangAnalysis.dir/PostOrderCFGView.cpp.o CMakeFiles/clangAnalysis.dir/PrintfFormatString.cpp.o CMakeFiles/clangAnalysis.dir/ProgramPoint.cpp.o CMakeFiles/clangAnalysis.dir/PseudoConstantAnalysis.cpp.o CMakeFiles/clangAnalysis.dir/ReachableCode.cpp.o CMakeFiles/clangAnalysis.dir/ScanfFormatString.cpp.o CMakeFiles/clangAnalysis.dir/ThreadSafety.cpp.o CMakeFiles/clangAnalysis.dir/ThreadSafetyCommon.cpp.o CMakeFiles/clangAnalysis.dir/ThreadSafetyLogical.cpp.o CMakeFiles/clangAnalysis.dir/ThreadSafetyTIL.cpp.o CMakeFiles/clangAnalysis.dir/UninitializedValues.cpp.o /usr/bin/ranlib ../../../../lib/libclangAnalysis.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangAnalysis [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ASTReader.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ASTReader.cpp.o -c /<>/tools/clang/lib/Serialization/ASTReader.cpp [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransAutoreleasePool.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransAutoreleasePool.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp /<>/tools/clang/lib/CodeGen/CGClass.cpp: In member function 'void clang::CodeGen::CodeGenFunction::EmitDestructorBody(clang::CodeGen::FunctionArgList&)': /<>/tools/clang/lib/CodeGen/CGClass.cpp:1554:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!isTryBody) { ^~ /<>/tools/clang/lib/CodeGen/CGClass.cpp:1561:3: note: here case Dtor_Base: ^~~~ /usr/bin/make -f tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/build.make tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Frontend /<>/build-llvm /<>/build-llvm/tools/clang/lib/Frontend /<>/build-llvm/tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Frontend/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/depend.internal". Scanning dependencies of target clangFrontend make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/build.make tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/ASTConsumers.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/ASTConsumers.cpp.o -c /<>/tools/clang/lib/Frontend/ASTConsumers.cpp /usr/bin/make -f tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/build.make tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Frontend/Rewrite /<>/build-llvm /<>/build-llvm/tools/clang/lib/Frontend/Rewrite /<>/build-llvm/tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Frontend/Rewrite/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/depend.internal". In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp:30: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ Scanning dependencies of target clangRewriteFrontend make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/build.make tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/FixItRewriter.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewriteFrontend.dir/FixItRewriter.cpp.o -c /<>/tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclFriend.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclFriend.cpp.o -c /<>/tools/clang/lib/AST/DeclFriend.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Frontend/ASTConsumers.h:17, from /<>/tools/clang/lib/Frontend/ASTConsumers.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/FixItRewriter.h:18, from /<>/tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Rewrite/Frontend/FixItRewriter.h:18, from /<>/tools/clang/lib/Frontend/Rewrite/FixItRewriter.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclFriend.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/FrontendActions.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewriteFrontend.dir/FrontendActions.cpp.o -c /<>/tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/DriverOptions.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/DriverOptions.cpp.o -c /<>/tools/clang/lib/Driver/DriverOptions.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp:30: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp:30: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Job.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Job.cpp.o -c /<>/tools/clang/lib/Driver/Job.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/AST/AST.h:18, from /<>/tools/clang/lib/Frontend/ASTConsumers.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Frontend/ASTConsumers.h:17, from /<>/tools/clang/lib/Frontend/ASTConsumers.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclFriend.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclFriend.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTReader.cpp:2622:61: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTReader.cpp:3010:74: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTReader.cpp:7221:65: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTReader.cpp:7293:47: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTReader.cpp:7313:49: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTReader.cpp:7337:45: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGCleanup.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGCleanup.cpp.o -c /<>/tools/clang/lib/CodeGen/CGCleanup.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/include/clang/Serialization/ContinuousRangeMap.h:70:5: required from 'void clang::ContinuousRangeMap::insert(const value_type&) [with Int = unsigned int; V = clang::serialization::ModuleFile*; unsigned int InitialCapacity = 4; clang::ContinuousRangeMap::value_type = std::pair]' /<>/tools/clang/lib/Serialization/ASTReader.cpp:2561:68: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/include/clang/Serialization/ContinuousRangeMap.h:70:5: required from 'void clang::ContinuousRangeMap::insert(const value_type&) [with Int = unsigned int; V = int; unsigned int InitialCapacity = 2; clang::ContinuousRangeMap::value_type = std::pair]' /<>/tools/clang/lib/Serialization/ASTReader.cpp:2835:49: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/include/clang/Serialization/ContinuousRangeMap.h:70:5: required from 'void clang::ContinuousRangeMap::insert(const value_type&) [with Int = long long unsigned int; V = clang::serialization::ModuleFile*; unsigned int InitialCapacity = 4; clang::ContinuousRangeMap::value_type = std::pair]' /<>/tools/clang/lib/Serialization/ASTReader.cpp:3537:69: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/MinGWToolChain.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/MinGWToolChain.cpp.o -c /<>/tools/clang/lib/Driver/MinGWToolChain.cpp [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclGroup.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclGroup.cpp.o -c /<>/tools/clang/lib/AST/DeclGroup.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair*; It2 = std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair; unsigned int N = 4]' /<>/include/llvm/ADT/MapVector.h:32:7: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair*; It2 = std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair; unsigned int N = 4]' /usr/include/c++/8/bits/stl_pair.h:304:17: required from 'constexpr std::pair::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = clang::FieldDecl* const&; _T2 = llvm::SmallVector, 4>; typename std::__decay_and_strip<_T2>::__type = llvm::SmallVector, 4>; typename std::__decay_and_strip<_Tp>::__type = clang::FieldDecl*]' /<>/include/llvm/ADT/MapVector.h:80:38: required from 'ValueT& llvm::MapVector::operator[](const KeyT&) [with KeyT = clang::FieldDecl*; ValueT = llvm::SmallVector, 4>; MapType = llvm::DenseMap, llvm::detail::DenseMapPair >; VectorType = std::vector, 4> >, std::allocator, 4> > > >]' /<>/tools/clang/lib/Serialization/ASTReader.cpp:7221:15: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair*; It2 = std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair; unsigned int N = 2]' /<>/include/llvm/ADT/DenseMap.h:414:5: required from 'BucketT* llvm::DenseMapBase::InsertIntoBucket(const KeyT&, ValueT&&, BucketT*) [with DerivedT = llvm::DenseMap, 2> >; KeyT = unsigned int; ValueT = llvm::SmallVector, 2>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 2> >]' /<>/include/llvm/ADT/DenseMap.h:230:12: required from 'llvm::DenseMapBase::value_type& llvm::DenseMapBase::FindAndConstruct(const KeyT&) [with DerivedT = llvm::DenseMap, 2> >; KeyT = unsigned int; ValueT = llvm::SmallVector, 2>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 2> >; llvm::DenseMapBase::value_type = llvm::detail::DenseMapPair, 2> >]' /<>/include/llvm/ADT/DenseMap.h:234:34: required from 'ValueT& llvm::DenseMapBase::operator[](const KeyT&) [with DerivedT = llvm::DenseMap, 2> >; KeyT = unsigned int; ValueT = llvm::SmallVector, 2>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 2> >]' /<>/tools/clang/lib/Serialization/ASTReader.cpp:3010:29: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/CodeGen/EHScopeStack.h:19, from /<>/tools/clang/lib/CodeGen/CGCleanup.h:17, from /<>/tools/clang/lib/CodeGen/CGCleanup.cpp:20: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/Basic/PartialDiagnostic.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:18, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/include/clang/Basic/Diagnostic.h:205:9: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = clang::DiagnosticsEngine::DiagState; _Args = {const clang::DiagnosticsEngine::DiagState&}; _Tp = std::_List_node]' /usr/include/c++/8/bits/alloc_traits.h:475:4: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = clang::DiagnosticsEngine::DiagState; _Args = {const clang::DiagnosticsEngine::DiagState&}; _Tp = std::_List_node; std::allocator_traits >::allocator_type = std::allocator >]' /usr/include/c++/8/bits/stl_list.h:644:33: required from 'std::__cxx11::list<_Tp, _Alloc>::_Node* std::__cxx11::list<_Tp, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {const clang::DiagnosticsEngine::DiagState&}; _Tp = clang::DiagnosticsEngine::DiagState; _Alloc = std::allocator; std::__cxx11::list<_Tp, _Alloc>::_Node = std::_List_node]' /usr/include/c++/8/bits/stl_list.h:1902:10: required from 'void std::__cxx11::list<_Tp, _Alloc>::_M_insert(std::__cxx11::list<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const clang::DiagnosticsEngine::DiagState&}; _Tp = clang::DiagnosticsEngine::DiagState; _Alloc = std::allocator; std::__cxx11::list<_Tp, _Alloc>::iterator = std::_List_iterator]' /usr/include/c++/8/bits/stl_list.h:1219:9: required from 'void std::__cxx11::list<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = clang::DiagnosticsEngine::DiagState; _Alloc = std::allocator; std::__cxx11::list<_Tp, _Alloc>::value_type = clang::DiagnosticsEngine::DiagState]' /<>/tools/clang/lib/Serialization/ASTReader.cpp:5143:56: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:778:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:897:36: required from 'llvm::SmallVector::SmallVector(const llvm::SmallVector&) [with T = std::pair; unsigned int N = 4]' /usr/include/c++/8/bits/stl_pair.h:303:17: required from 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = std::pair, 4> >; _Args = {const std::pair, 4> >&}]' /usr/include/c++/8/bits/stl_uninitialized.h:83:18: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const std::pair, 4> >*; _ForwardIterator = std::pair, 4> >*; bool _TrivialValueTypes = false]' /usr/include/c++/8/bits/stl_uninitialized.h:134:15: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/8/bits/stl_uninitialized.h:311:2: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = std::pair, 4> >*; _ForwardIterator = std::pair, 4> >*; _Allocator = std::allocator, 4> > >]' /usr/include/c++/8/bits/vector.tcc:447:6: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::pair, 4> >}; _Tp = std::pair, 4> >; _Alloc = std::allocator, 4> > >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator, 4> >*, std::vector, 4> >, std::allocator, 4> > > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::pair, 4> >*]' /usr/include/c++/8/bits/vector.tcc:109:4: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair, 4> >}; _Tp = std::pair, 4> >; _Alloc = std::allocator, 4> > >]' /usr/include/c++/8/bits/stl_vector.h:1091:9: required from 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair, 4> >; _Alloc = std::allocator, 4> > >; std::vector<_Tp, _Alloc>::value_type = std::pair, 4> >]' /<>/include/llvm/ADT/MapVector.h:80:7: required from 'ValueT& llvm::MapVector::operator[](const KeyT&) [with KeyT = clang::FieldDecl*; ValueT = llvm::SmallVector, 4>; MapType = llvm::DenseMap, llvm::detail::DenseMapPair >; VectorType = std::vector, 4> >, std::allocator, 4> > > >]' /<>/tools/clang/lib/Serialization/ASTReader.cpp:7221:15: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReader.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclGroup.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:23, from /<>/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:21, from /<>/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclGroup.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/lib/AST/DeclGroup.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:23, from /<>/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:21, from /<>/tools/clang/include/clang/Rewrite/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Multilib.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Multilib.cpp.o -c /<>/tools/clang/lib/Driver/Multilib.cpp [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclObjC.cpp.o -c /<>/tools/clang/lib/AST/DeclObjC.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Driver/Multilib.h:15, from /<>/tools/clang/lib/Driver/Multilib.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/YAMLParser.h:149:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Driver/Multilib.h:13, from /<>/tools/clang/lib/Driver/Multilib.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/lib/CodeGen/EHScopeStack.h:21, from /<>/tools/clang/lib/CodeGen/CGCleanup.h:17, from /<>/tools/clang/lib/CodeGen/CGCleanup.cpp:20: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/CodeGen/EHScopeStack.h:19, from /<>/tools/clang/lib/CodeGen/CGCleanup.h:17, from /<>/tools/clang/lib/CodeGen/CGCleanup.cpp:20: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaDeclObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaDeclObjC.cpp.o -c /<>/tools/clang/lib/Sema/SemaDeclObjC.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/lib/AST/DeclObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/CodeGen/EHScopeStack.h:19, from /<>/tools/clang/lib/CodeGen/CGCleanup.h:17, from /<>/tools/clang/lib/CodeGen/CGCleanup.cpp:20: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/HTMLPrint.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewriteFrontend.dir/HTMLPrint.cpp.o -c /<>/tools/clang/lib/Frontend/Rewrite/HTMLPrint.cpp In file included from /<>/tools/clang/lib/CodeGen/EHScopeStack.h:21, from /<>/tools/clang/lib/CodeGen/CGCleanup.h:17, from /<>/tools/clang/lib/CodeGen/CGCleanup.cpp:20: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/CodeGen/EHScopeStack.h:19, from /<>/tools/clang/lib/CodeGen/CGCleanup.h:17, from /<>/tools/clang/lib/CodeGen/CGCleanup.cpp:20: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/lib/AST/DeclObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/lib/AST/DeclObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/MSVCToolChain.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/MSVCToolChain.cpp.o -c /<>/tools/clang/lib/Driver/MSVCToolChain.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/ASTConsumers.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/HTMLPrint.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Frontend/Rewrite/HTMLPrint.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/ASTConsumers.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/HTMLPrint.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGDebugInfo.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGDebugInfo.cpp.o -c /<>/tools/clang/lib/CodeGen/CGDebugInfo.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Phases.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Phases.cpp.o -c /<>/tools/clang/lib/Driver/Phases.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/InclusionRewriter.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewriteFrontend.dir/InclusionRewriter.cpp.o -c /<>/tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/SanitizerArgs.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/SanitizerArgs.cpp.o -c /<>/tools/clang/lib/Driver/SanitizerArgs.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaDeclObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.h:17, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp:391:65: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/Rewriters.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclOpenMP.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclOpenMP.cpp.o -c /<>/tools/clang/lib/AST/DeclOpenMP.cpp In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/Rewriters.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclOpenMP.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/RewriteMacros.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewriteFrontend.dir/RewriteMacros.cpp.o -c /<>/tools/clang/lib/Frontend/Rewrite/RewriteMacros.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/ASTMerge.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/ASTMerge.cpp.o -c /<>/tools/clang/lib/Frontend/ASTMerge.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Tool.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Tool.cpp.o -c /<>/tools/clang/lib/Driver/Tool.cpp [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/ToolChain.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/ToolChain.cpp.o -c /<>/tools/clang/lib/Driver/ToolChain.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclOpenMP.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclOpenMP.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTMerge.cpp:9: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.h:17, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.h:17, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteMacros.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/Rewriters.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteMacros.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclPrinter.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclPrinter.cpp.o -c /<>/tools/clang/lib/AST/DeclPrinter.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTMerge.cpp:9: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTMerge.cpp:9: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/RewriteModernObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewriteFrontend.dir/RewriteModernObjC.cpp.o -c /<>/tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/ToolChains.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/ToolChains.cpp.o -c /<>/tools/clang/lib/Driver/ToolChains.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclPrinter.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/ASTConsumers.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/ASTUnit.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/ASTUnit.cpp.o -c /<>/tools/clang/lib/Frontend/ASTUnit.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclPrinter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/DeclPrinter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Driver/ToolChains.cpp: In constructor 'clang::driver::toolchains::MyriadToolChain::MyriadToolChain(const clang::driver::Driver&, const llvm::Triple&, const llvm::opt::ArgList&)': /<>/tools/clang/lib/Driver/ToolChains.cpp:4355:11: warning: this statement may fall through [-Wimplicit-fallthrough=] D.Diag(diag::err_target_unsupported_arch) << Triple.getArchName() ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Driver/ToolChains.cpp:4357:3: note: here case llvm::Triple::sparc: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/AST/AST.h:18, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/ASTConsumers.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp:7078:6: warning: 'void {anonymous}::RewriteModernObjC::RewriteObjCProtocolListMetaData(const clang::ObjCList&, llvm::StringRef, llvm::StringRef, std::__cxx11::string&)' defined but not used [-Wunused-function] void RewriteModernObjC::RewriteObjCProtocolListMetaData( ^~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp:3641:6: warning: 'bool {anonymous}::RewriteModernObjC::BufferContainsPPDirectives(const char*, const char*)' defined but not used [-Wunused-function] bool RewriteModernObjC::BufferContainsPPDirectives(const char *startBuf, ^~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp:1216:1: warning: 'void {anonymous}::RewriteModernObjC::RewriteLinkageSpec(clang::LinkageSpecDecl*)' defined but not used [-Wunused-function] RewriteModernObjC::RewriteLinkageSpec(LinkageSpecDecl *LSD) { ^~~~~~~~~~~~~~~~~ [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransBlockObjCVariable.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransBlockObjCVariable.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp:28: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/DeclTemplate.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/DeclTemplate.cpp.o -c /<>/tools/clang/lib/AST/DeclTemplate.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGDecl.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGDecl.cpp.o -c /<>/tools/clang/lib/CodeGen/CGDecl.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ASTReaderDecl.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ASTReaderDecl.cpp.o -c /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Frontend/ASTUnit.cpp:2599:29: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/lib/AST/DeclTemplate.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDecl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp:28: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp:28: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/lib/AST/DeclTemplate.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/lib/AST/DeclTemplate.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExceptionSpec.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaExceptionSpec.cpp.o -c /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Tools.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Tools.cpp.o -c /<>/tools/clang/lib/Driver/Tools.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGDecl.cpp:570:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGDecl.cpp:1127:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDecl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDecl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDecl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDecl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDecl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:3338:55: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDecl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/CodeGen/CGDecl.cpp:570:39: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DeclStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclStmt*]' /<>/tools/clang/lib/CodeGen/CGDecl.cpp:1127:54: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/MapVector.h:80:7: required from 'ValueT& llvm::MapVector::operator[](const KeyT&) [with KeyT = clang::Decl*; ValueT = long long unsigned int; MapType = llvm::SmallDenseMap, llvm::detail::DenseMapPair >; VectorType = llvm::SmallVector, 4>]' /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:462:30: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Driver/Tools.cpp: In member function 'virtual void clang::driver::tools::CrossWindows::Linker::ConstructJob(clang::driver::Compilation&, const clang::driver::JobAction&, const clang::driver::InputInfo&, const InputInfoList&, const llvm::opt::ArgList&, const char*) const': /<>/tools/clang/lib/Driver/Tools.cpp:10126:7: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (const auto &Lib : {"asan_dynamic", "asan_dynamic_runtime_thunk"}) ^~~ /<>/tools/clang/lib/Driver/Tools.cpp:10130:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' CmdArgs.push_back(Args.MakeArgString("--undefined")); ^~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/MapVector.h:96:7: required from 'std::pair llvm::MapVector::insert(const std::pair<_T1, _T2>&) [with KeyT = clang::Decl*; ValueT = clang::FunctionDecl*; MapType = llvm::SmallDenseMap, llvm::detail::DenseMapPair >; VectorType = llvm::SmallVector, 4>; typename VectorType::iterator = std::pair*]' /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:2973:60: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const clang::ASTUnit::CachedCodeCompletionResult&}; _Tp = clang::ASTUnit::CachedCodeCompletionResult; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Expr.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/Expr.cpp.o -c /<>/tools/clang/lib/AST/Expr.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair*; It2 = std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair; unsigned int N = 2]' /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:3375:48: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderDecl.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:868:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/lib/AST/Expr.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:842:68: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExceptionSpec.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Frontend/ASTUnit.h:18, from /<>/tools/clang/lib/Frontend/ASTUnit.cpp:14: /usr/include/c++/8/bits/stl_vector.h: In member function 'void clang::ASTUnit::CacheCodeCompletionResults()': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/Expr.cpp:2283:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::SideEffectFinder; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/Expr.cpp:3040:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::SideEffectFinder; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/Expr.cpp:3040:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/lib/AST/Expr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/lib/AST/Expr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/lib/AST/Expr.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/AST/Expr.cpp:2281:57: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::LabelStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::LabelStmt*]' /<>/tools/clang/lib/AST/Expr.cpp:2283:71: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::SideEffectFinder; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/Expr.cpp:3040:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::SideEffectFinder; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/Expr.cpp:3040:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/tools/clang/lib/AST/Expr.cpp: In member function 'bool clang::Expr::isUnusedResultAWarning(const clang::Expr*&, clang::SourceLocation&, clang::SourceRange&, clang::SourceRange&, clang::ASTContext&) const': /<>/tools/clang/lib/AST/Expr.cpp:2179:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/AST/Expr.cpp:2183:3: note: here case CallExprClass: ^~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/RewriteObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewriteFrontend.dir/RewriteObjC.cpp.o -c /<>/tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/CacheTokens.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/CacheTokens.cpp.o -c /<>/tools/clang/lib/Frontend/CacheTokens.cpp [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExpr.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaExpr.cpp.o -c /<>/tools/clang/lib/Sema/SemaExpr.cpp [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGDeclCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGDeclCXX.cpp.o -c /<>/tools/clang/lib/CodeGen/CGDeclCXX.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/ASTConsumers.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/CacheTokens.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/CacheTokens.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDeclCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o -c /<>/tools/clang/lib/Frontend/ChainedDiagnosticConsumer.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/AST/AST.h:18, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/ASTConsumers.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/ChainedIncludesSource.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/ChainedIncludesSource.cpp.o -c /<>/tools/clang/lib/Frontend/ChainedIncludesSource.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ExprClassification.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ExprClassification.cpp.o -c /<>/tools/clang/lib/AST/ExprClassification.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGDeclCXX.cpp:345:64: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDeclCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDeclCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGDeclCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/TargetInfo.h:19, from /<>/tools/clang/lib/Frontend/ChainedIncludesSource.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/lib/AST/ExprClassification.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprClassification.cpp:376:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = clang::ObjCDictionaryElement]': /<>/tools/clang/lib/Sema/TreeTransform.h:10688:27: required from 'clang::ExprResult clang::TreeTransform::TransformObjCDictionaryLiteral(clang::ObjCDictionaryLiteral*) [with Derived = {anonymous}::TransformToPE; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:609:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::TransformToPE; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaExpr.cpp:12456:46: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct clang::ObjCDictionaryElement' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Sema/Sema.h:21, from /<>/tools/clang/include/clang/Sema/Lookup.h:19, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:19, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /<>/tools/clang/include/clang/AST/ExprObjC.h:212:8: note: 'struct clang::ObjCDictionaryElement' declared here struct ObjCDictionaryElement { ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/TreeTransform.h:11608:14: required from 'clang::StmtResult clang::TreeTransform::TransformCapturedStmt(clang::CapturedStmt*) [with Derived = {anonymous}::TransformToPE; clang::StmtResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:73:1: required from 'clang::StmtResult clang::TreeTransform::TransformStmt(clang::Stmt*) [with Derived = {anonymous}::TransformToPE; clang::StmtResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/TreeTransform.h:6067:14: required from 'clang::StmtResult clang::TreeTransform::TransformLabelStmt(clang::LabelStmt*) [with Derived = {anonymous}::TransformToPE; clang::StmtResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaExpr.cpp:12414:29: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExpr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/lib/AST/ExprClassification.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/lib/AST/ExprClassification.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/lib/AST/ExprClassification.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/AST/ExprClassification.cpp:376:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building CXX object tools/clang/lib/Driver/CMakeFiles/clangDriver.dir/Types.cpp.o cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Driver -I/<>/tools/clang/lib/Driver -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangDriver.dir/Types.cpp.o -c /<>/tools/clang/lib/Driver/Types.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/TargetCXXABI.h:19, from /<>/tools/clang/include/clang/Basic/TargetInfo.h:21, from /<>/tools/clang/lib/Frontend/ChainedIncludesSource.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/TargetInfo.h:19, from /<>/tools/clang/lib/Frontend/ChainedIncludesSource.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Sema/SemaExpr.cpp: In member function 'clang::ExprResult clang::Sema::CreateBuiltinBinOp(clang::SourceLocation, clang::BinaryOperatorKind, clang::Expr*, clang::Expr*)': /<>/tools/clang/lib/Sema/SemaExpr.cpp:10542:34: warning: this statement may fall through [-Wimplicit-fallthrough=] checkObjCPointerIntrospection(*this, LHS, RHS, OpLoc); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/SemaExpr.cpp:10543:3: note: here case BO_Xor: ^~~~ /<>/tools/clang/lib/Sema/SemaExpr.cpp:10584:27: warning: this statement may fall through [-Wimplicit-fallthrough=] DiagnoseSelfAssignment(*this, LHS.get(), RHS.get(), OpLoc); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/SemaExpr.cpp:10585:3: note: here case BO_XorAssign: ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ExprConstant.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ExprConstant.cpp.o -c /<>/tools/clang/lib/AST/ExprConstant.cpp [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGException.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGException.cpp.o -c /<>/tools/clang/lib/CodeGen/CGException.cpp [ 25%] Linking CXX static library ../../../../lib/libclangDriver.a cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/cmake -P CMakeFiles/clangDriver.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Driver && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangDriver.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangDriver.a CMakeFiles/clangDriver.dir/Action.cpp.o CMakeFiles/clangDriver.dir/Compilation.cpp.o CMakeFiles/clangDriver.dir/CrossWindowsToolChain.cpp.o CMakeFiles/clangDriver.dir/Driver.cpp.o CMakeFiles/clangDriver.dir/DriverOptions.cpp.o CMakeFiles/clangDriver.dir/Job.cpp.o CMakeFiles/clangDriver.dir/MinGWToolChain.cpp.o CMakeFiles/clangDriver.dir/Multilib.cpp.o CMakeFiles/clangDriver.dir/MSVCToolChain.cpp.o CMakeFiles/clangDriver.dir/Phases.cpp.o CMakeFiles/clangDriver.dir/SanitizerArgs.cpp.o CMakeFiles/clangDriver.dir/Tool.cpp.o CMakeFiles/clangDriver.dir/ToolChain.cpp.o CMakeFiles/clangDriver.dir/ToolChains.cpp.o CMakeFiles/clangDriver.dir/Tools.cpp.o CMakeFiles/clangDriver.dir/Types.cpp.o /usr/bin/ranlib ../../../../lib/libclangDriver.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangDriver /usr/bin/make -f tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/build.make tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/FrontendTool /<>/build-llvm /<>/build-llvm/tools/clang/lib/FrontendTool /<>/build-llvm/tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/FrontendTool/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/depend.internal". Scanning dependencies of target clangFrontendTool make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/build.make tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/FrontendTool/CMakeFiles/clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o cd /<>/build-llvm/tools/clang/lib/FrontendTool && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/FrontendTool -I/<>/tools/clang/lib/FrontendTool -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -c /<>/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ASTReaderStmt.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ASTReaderStmt.cpp.o -c /<>/tools/clang/lib/Serialization/ASTReaderStmt.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/lib/AST/ExprConstant.cpp:36: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp:22: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGException.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderStmt.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3462:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3476:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3483:42: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3522:42: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3535:45: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3595:38: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3641:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3685:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3694:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::AttributedStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3699:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchCase; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3704:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/CodeGenOptions.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/CodeGenOptions.cpp.o -c /<>/tools/clang/lib/Frontend/CodeGenOptions.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:14, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/include/clang/CodeGen/CodeGenAction.h:56:57: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:14, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMTActions.h:13, from /<>/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::LValueExprEvaluator; RetTy = bool; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:4603:33: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::LValueExprEvaluator; RetTy = bool; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:4603:33: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/lib/AST/ExprConstant.cpp:36: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/lib/AST/ExprConstant.cpp:36: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/CompilerInstance.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/CompilerInstance.cpp.o -c /<>/tools/clang/lib/Frontend/CompilerInstance.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/lib/AST/ExprConstant.cpp:36: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:3506:41: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::LValueExprEvaluator; RetTy = bool; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:4603:33: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::LValueExprEvaluator; RetTy = bool; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/ExprConstant.cpp:4603:33: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/tools/clang/lib/AST/ExprConstant.cpp: In member function '{anonymous}::OptionalDiagnostic {anonymous}::EvalInfo::Diag(clang::SourceLocation, clang::diag::kind, unsigned int, bool)': /<>/tools/clang/lib/AST/ExprConstant.cpp:617:13: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!HasFoldFailureDiagnostic) ^~ /<>/tools/clang/lib/AST/ExprConstant.cpp:620:11: note: here case EM_ConstantExpression: ^~~~ /<>/tools/clang/lib/AST/ExprConstant.cpp: In member function 'bool {anonymous}::IntExprEvaluator::VisitCallExpr(const clang::CallExpr*)': /<>/tools/clang/lib/AST/ExprConstant.cpp:6596:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/AST/ExprConstant.cpp:6599:3: note: here case Builtin::BI__builtin_bswap16: ^~~~ /<>/tools/clang/lib/AST/ExprConstant.cpp: In function '{anonymous}::ICEDiag CheckICE(const clang::Expr*, const clang::ASTContext&)': /<>/tools/clang/lib/AST/ExprConstant.cpp:9207:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/AST/ExprConstant.cpp:9211:3: note: here case Expr::OffsetOfExprClass: { ^~~~ /<>/tools/clang/lib/AST/ExprConstant.cpp:9311:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/AST/ExprConstant.cpp:9313:3: note: here case Expr::ImplicitCastExprClass: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp:22: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp:22: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Linking CXX static library ../../../../lib/libclangFrontendTool.a cd /<>/build-llvm/tools/clang/lib/FrontendTool && /usr/bin/cmake -P CMakeFiles/clangFrontendTool.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/FrontendTool && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangFrontendTool.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangFrontendTool.a CMakeFiles/clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o /usr/bin/ranlib ../../../../lib/libclangFrontendTool.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangFrontendTool [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ASTWriter.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ASTWriter.cpp.o -c /<>/tools/clang/lib/Serialization/ASTWriter.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderStmt.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderStmt.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/Serialization/ASTReader.h:17, from /<>/tools/clang/lib/Serialization/ASTReaderStmt.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/Rewrite/CMakeFiles/clangRewriteFrontend.dir/RewriteTest.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/lib/Frontend/Rewrite -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRewriteFrontend.dir/RewriteTest.cpp.o -c /<>/tools/clang/lib/Frontend/Rewrite/RewriteTest.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/Support/MemoryBuffer.h:18, from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:15, from /<>/tools/clang/include/clang/Frontend/CompilerInstance.h:14, from /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGException.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGException.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGException.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::CaptureFinder; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGException.cpp:1454:38: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::CaptureFinder; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGException.cpp:1454:38: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGException.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGException.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGException.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::CaptureFinder; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGException.cpp:1454:38: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::CaptureFinder; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGException.cpp:1454:38: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Builtins.h:19, from /<>/tools/clang/include/clang/Lex/Preprocessor.h:18, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteTest.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Rewrite/Frontend/Rewriters.h:17, from /<>/tools/clang/lib/Frontend/Rewrite/RewriteTest.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Linking CXX static library ../../../../../lib/libclangRewriteFrontend.a cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/cmake -P CMakeFiles/clangRewriteFrontend.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Frontend/Rewrite && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangRewriteFrontend.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../lib/libclangRewriteFrontend.a CMakeFiles/clangRewriteFrontend.dir/FixItRewriter.cpp.o CMakeFiles/clangRewriteFrontend.dir/FrontendActions.cpp.o CMakeFiles/clangRewriteFrontend.dir/HTMLPrint.cpp.o CMakeFiles/clangRewriteFrontend.dir/InclusionRewriter.cpp.o CMakeFiles/clangRewriteFrontend.dir/RewriteMacros.cpp.o CMakeFiles/clangRewriteFrontend.dir/RewriteModernObjC.cpp.o CMakeFiles/clangRewriteFrontend.dir/RewriteObjC.cpp.o CMakeFiles/clangRewriteFrontend.dir/RewriteTest.cpp.o /usr/bin/ranlib ../../../../../lib/libclangRewriteFrontend.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangRewriteFrontend [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransGCAttrs.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransGCAttrs.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:13, from /<>/tools/clang/include/clang/Frontend/CompilerInstance.h:14, from /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:1687:78: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/CompilerInstance.h:13, from /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/Support/MemoryBuffer.h:18, from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:15, from /<>/tools/clang/include/clang/Frontend/CompilerInstance.h:14, from /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:13, from /<>/tools/clang/include/clang/Frontend/CompilerInstance.h:14, from /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/CompilerInstance.h:13, from /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:13, from /<>/tools/clang/include/clang/Frontend/CompilerInstance.h:14, from /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/CompilerInstance.h:13, from /<>/tools/clang/lib/Frontend/CompilerInstance.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTWriter.cpp:3716:72: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Serialization/ASTWriter.cpp:5035:28: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/bin/make -f tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/build.make tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Tooling /<>/build-llvm /<>/build-llvm/tools/clang/lib/Tooling /<>/build-llvm/tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Tooling/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/depend.internal". In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ Scanning dependencies of target clangTooling make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/build.make tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/ArgumentsAdjusters.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling -I/<>/tools/clang/lib/Tooling -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTooling.dir/ArgumentsAdjusters.cpp.o -c /<>/tools/clang/lib/Tooling/ArgumentsAdjusters.cpp [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGExpr.cpp.o -c /<>/tools/clang/lib/CodeGen/CGExpr.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp:249:45: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCAttrs.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/CommonOptionsParser.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling -I/<>/tools/clang/lib/Tooling -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTooling.dir/CommonOptionsParser.cpp.o -c /<>/tools/clang/lib/Tooling/CommonOptionsParser.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExpr.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/CompilationDatabase.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling -I/<>/tools/clang/lib/Tooling -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTooling.dir/CompilationDatabase.cpp.o -c /<>/tools/clang/lib/Tooling/CompilationDatabase.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Tooling/ArgumentsAdjusters.h:20, from /<>/tools/clang/lib/Tooling/CommonOptionsParser.cpp:28: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/tools/clang/lib/Tooling/CommonOptionsParser.cpp:27: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/CommandLine.h:23, from /<>/tools/clang/lib/Tooling/CommonOptionsParser.cpp:27: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Tooling/CompilationDatabase.h:31, from /<>/tools/clang/lib/Tooling/CompilationDatabase.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Tooling/CompilationDatabase.h:32, from /<>/tools/clang/lib/Tooling/CompilationDatabase.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Tooling/CompilationDatabase.h:31, from /<>/tools/clang/lib/Tooling/CompilationDatabase.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExpr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGExpr.cpp:539:70: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExpr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExpr.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExpr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExpr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/FileMatchTrie.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling -I/<>/tools/clang/lib/Tooling -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTooling.dir/FileMatchTrie.cpp.o -c /<>/tools/clang/lib/Tooling/FileMatchTrie.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/CompilerInvocation.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/CompilerInvocation.cpp.o -c /<>/tools/clang/lib/Frontend/CompilerInvocation.cpp [ 25%] Building CXX object tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/JSONCompilationDatabase.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling -I/<>/tools/clang/lib/Tooling -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTooling.dir/JSONCompilationDatabase.cpp.o -c /<>/tools/clang/lib/Tooling/JSONCompilationDatabase.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriter.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {long long unsigned int}; _Tp = long long unsigned int; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator > >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/Refactoring.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling -I/<>/tools/clang/lib/Tooling -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTooling.dir/Refactoring.cpp.o -c /<>/tools/clang/lib/Tooling/Refactoring.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.h:13, from /<>/tools/clang/lib/Frontend/CompilerInvocation.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /usr/include/c++/8/bits/vector.tcc: In member function 'void clang::ASTWriter::WriteInputFiles(clang::SourceManager&, clang::HeaderSearchOptions&, bool)': /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator > >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Tooling/JSONCompilationDatabase.h:18, from /<>/tools/clang/lib/Tooling/JSONCompilationDatabase.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticOptions.h:13, from /<>/tools/clang/lib/Tooling/Refactoring.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransGCCalls.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransGCCalls.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransGCCalls.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Tooling/CompilationDatabase.h:32, from /<>/tools/clang/include/clang/Tooling/JSONCompilationDatabase.h:19, from /<>/tools/clang/lib/Tooling/JSONCompilationDatabase.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/YAMLParser.h:149:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Tooling/JSONCompilationDatabase.h:18, from /<>/tools/clang/lib/Tooling/JSONCompilationDatabase.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Tooling/JSONCompilationDatabase.h:18, from /<>/tools/clang/lib/Tooling/JSONCompilationDatabase.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/lib/Tooling/Refactoring.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticOptions.h:13, from /<>/tools/clang/lib/Tooling/Refactoring.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Bitcode/BitCodes.h:22, from /<>/include/llvm/Bitcode/BitstreamReader.h:18, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.h:15, from /<>/tools/clang/lib/Frontend/CompilerInvocation.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from /<>/tools/clang/include/clang/Serialization/ModuleFileExtension.h:14, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.h:12, from /<>/tools/clang/lib/Frontend/CompilerInvocation.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.h:13, from /<>/tools/clang/lib/Frontend/CompilerInvocation.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCCalls.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ASTWriterDecl.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ASTWriterDecl.cpp.o -c /<>/tools/clang/lib/Serialization/ASTWriterDecl.cpp /<>/tools/clang/lib/Frontend/CompilerInvocation.cpp:2150:13: warning: 'llvm::APInt {anonymous}::ModuleSignature::getAsInteger() const' defined but not used [-Wunused-function] llvm::APInt ModuleSignature::getAsInteger() const { ^~~~~~~~~~~~~~~ /<>/tools/clang/lib/Frontend/CompilerInvocation.cpp:2145:6: warning: 'void {anonymous}::ModuleSignature::add(llvm::StringRef)' defined but not used [-Wunused-function] void ModuleSignature::add(StringRef Value) { ^~~~~~~~~~~~~~~ /<>/tools/clang/lib/Frontend/CompilerInvocation.cpp:2136:6: warning: 'void {anonymous}::ModuleSignature::flush()' defined but not used [-Wunused-function] void ModuleSignature::flush() { ^~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/RefactoringCallbacks.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling -I/<>/tools/clang/lib/Tooling -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTooling.dir/RefactoringCallbacks.cpp.o -c /<>/tools/clang/lib/Tooling/RefactoringCallbacks.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriterDecl.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ExprCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ExprCXX.cpp.o -c /<>/tools/clang/lib/AST/ExprCXX.cpp In file included from /<>/tools/clang/lib/Sema/SemaExpr.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocInventIterator<{anonymous}::TransformToPE, const clang::TemplateArgument*>; Derived = {anonymous}::TransformToPE]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformToPE, const clang::TemplateArgument*>' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformToPE, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/lib/Sema/SemaExpr.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::ExprResult clang::TreeTransform::TransformSizeOfPackExpr(clang::SizeOfPackExpr*) [with Derived = {anonymous}::TransformToPE]': /<>/tools/clang/lib/Sema/TreeTransform.h:10407:5: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformToPE, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, PackArgs.begin()), ^~ In file included from /<>/tools/clang/lib/Sema/SemaExpr.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocContainerIterator; Derived = {anonymous}::TransformToPE]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformToPE, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCCalls.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransGCCalls.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/lib/Sema/SemaExpr.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformDependentTemplateSpecializationType(clang::TypeLocBuilder&, clang::DependentTemplateSpecializationTypeLoc, clang::NestedNameSpecifierLoc) [with Derived = {anonymous}::TransformToPE]': /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 In file included from /<>/tools/clang/lib/Sema/SemaExpr.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = const clang::TemplateArgumentLoc*; Derived = {anonymous}::TransformToPE]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformToPE, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformTemplateSpecializationType(clang::TypeLocBuilder&, clang::TemplateSpecializationTypeLoc, clang::TemplateName) [with Derived = {anonymous}::TransformToPE]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformToPE, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/LangOptions.h:19, from /<>/tools/clang/include/clang/Lex/Lexer.h:17, from /<>/tools/clang/lib/Tooling/RefactoringCallbacks.cpp:12: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExprAgg.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGExprAgg.cpp.o -c /<>/tools/clang/lib/CodeGen/CGExprAgg.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ExprCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/lib/Sema/SemaExpr.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'clang::TypeSourceInfo* clang::TreeTransform::TransformTSIInObjectScope(clang::TypeLoc, clang::QualType, clang::NamedDecl*, clang::CXXScopeSpec&) [with Derived = {anonymous}::TransformToPE]': /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriterDecl.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriterDecl.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ExprCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/ExprCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprAgg.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ASTWriterStmt.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ASTWriterStmt.cpp.o -c /<>/tools/clang/lib/Serialization/ASTWriterStmt.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Lex/Lexer.h:17, from /<>/tools/clang/lib/Tooling/RefactoringCallbacks.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Lex/Lexer.h:17, from /<>/tools/clang/lib/Tooling/RefactoringCallbacks.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriterStmt.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/LangOptions.h:19, from /<>/tools/clang/include/clang/Lex/Lexer.h:17, from /<>/tools/clang/lib/Tooling/RefactoringCallbacks.cpp:12: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:87:27: required from 'const T* clang::ast_matchers::BoundNodes::getStmtAs(llvm::StringRef) const [with T = clang::Stmt]' /<>/tools/clang/lib/Tooling/RefactoringCallbacks.cpp:42:66: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:87:27: required from 'const T* clang::ast_matchers::BoundNodes::getStmtAs(llvm::StringRef) const [with T = clang::IfStmt]' /<>/tools/clang/lib/Tooling/RefactoringCallbacks.cpp:68:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ExprObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ExprObjC.cpp.o -c /<>/tools/clang/lib/AST/ExprObjC.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprAgg.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprAgg.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriterStmt.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/ASTWriterStmt.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o -c /<>/tools/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/AST/ExprObjC.h:17, from /<>/tools/clang/lib/AST/ExprObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransProperties.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransProperties.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransProperties.cpp [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransProtectedScope.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransProtectedScope.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransProtectedScope.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/AST/ExprObjC.h:17, from /<>/tools/clang/lib/AST/ExprObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/DeclObjC.h:17, from /<>/tools/clang/include/clang/AST/ExprObjC.h:17, from /<>/tools/clang/lib/AST/ExprObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Tooling/CMakeFiles/clangTooling.dir/Tooling.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling -I/<>/tools/clang/lib/Tooling -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTooling.dir/Tooling.cpp.o -c /<>/tools/clang/lib/Tooling/Tooling.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransProperties.cpp:33: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ExternalASTSource.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ExternalASTSource.cpp.o -c /<>/tools/clang/lib/AST/ExternalASTSource.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransProtectedScope.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/Support/MemoryBuffer.h:18, from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:15, from /<>/tools/clang/include/clang/Tooling/Tooling.h:34, from /<>/tools/clang/lib/Tooling/Tooling.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/DependencyFile.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/DependencyFile.cpp.o -c /<>/tools/clang/lib/Frontend/DependencyFile.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:18, from /<>/tools/clang/lib/AST/ExternalASTSource.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:17, from /<>/tools/clang/lib/AST/ExternalASTSource.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:17, from /<>/tools/clang/lib/AST/ExternalASTSource.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:13, from /<>/tools/clang/include/clang/Tooling/Tooling.h:34, from /<>/tools/clang/lib/Tooling/Tooling.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Tooling/Tooling.h:33, from /<>/tools/clang/lib/Tooling/Tooling.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransProperties.cpp:33: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransProperties.cpp:33: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/GeneratePCH.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/GeneratePCH.cpp.o -c /<>/tools/clang/lib/Serialization/GeneratePCH.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExprCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGExprCXX.cpp.o -c /<>/tools/clang/lib/CodeGen/CGExprCXX.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransProtectedScope.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransProtectedScope.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/InheritViz.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/InheritViz.cpp.o -c /<>/tools/clang/lib/AST/InheritViz.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/DependencyFile.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/InheritViz.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/GeneratePCH.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaExprCXX.cpp.o -c /<>/tools/clang/lib/Sema/SemaExprCXX.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/DependencyFile.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/DependencyFile.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/DependencyFile.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/GeneratePCH.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Serialization/ASTWriter.h:18, from /<>/tools/clang/lib/Serialization/GeneratePCH.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/InheritViz.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/InheritViz.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Linking CXX static library ../../../../lib/libclangTooling.a cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/cmake -P CMakeFiles/clangTooling.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Tooling && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTooling.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangTooling.a CMakeFiles/clangTooling.dir/ArgumentsAdjusters.cpp.o CMakeFiles/clangTooling.dir/CommonOptionsParser.cpp.o CMakeFiles/clangTooling.dir/CompilationDatabase.cpp.o CMakeFiles/clangTooling.dir/FileMatchTrie.cpp.o CMakeFiles/clangTooling.dir/JSONCompilationDatabase.cpp.o CMakeFiles/clangTooling.dir/Refactoring.cpp.o CMakeFiles/clangTooling.dir/RefactoringCallbacks.cpp.o CMakeFiles/clangTooling.dir/Tooling.cpp.o /usr/bin/ranlib ../../../../lib/libclangTooling.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangTooling /usr/bin/make -f tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/build.make tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Tooling/Core /<>/build-llvm /<>/build-llvm/tools/clang/lib/Tooling/Core /<>/build-llvm/tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Tooling/Core/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/depend.internal". In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ Scanning dependencies of target clangToolingCore make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/build.make tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/Lookup.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling/Core -I/<>/tools/clang/lib/Tooling/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangToolingCore.dir/Lookup.cpp.o -c /<>/tools/clang/lib/Tooling/Core/Lookup.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/DependencyGraph.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/DependencyGraph.cpp.o -c /<>/tools/clang/lib/Frontend/DependencyGraph.cpp [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/GlobalModuleIndex.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/GlobalModuleIndex.cpp.o -c /<>/tools/clang/lib/Serialization/GlobalModuleIndex.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumCXXABI.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ItaniumCXXABI.cpp.o -c /<>/tools/clang/lib/AST/ItaniumCXXABI.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/Tooling/Core/Lookup.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Tooling/Core/Lookup.h:17, from /<>/tools/clang/lib/Tooling/Core/Lookup.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Tooling/Core/CMakeFiles/clangToolingCore.dir/Replacement.cpp.o cd /<>/build-llvm/tools/clang/lib/Tooling/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Tooling/Core -I/<>/tools/clang/lib/Tooling/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangToolingCore.dir/Replacement.cpp.o -c /<>/tools/clang/lib/Tooling/Core/Replacement.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/DependencyGraph.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/DependencyGraph.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/lib/Serialization/ASTReaderInternals.h:16, from /<>/tools/clang/lib/Serialization/GlobalModuleIndex.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/lib/Serialization/ASTReaderInternals.h:16, from /<>/tools/clang/lib/Serialization/GlobalModuleIndex.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/AST/CXXABI.h:18, from /<>/tools/clang/lib/AST/ItaniumCXXABI.cpp:20: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/DiagnosticRenderer.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/DiagnosticRenderer.cpp.o -c /<>/tools/clang/lib/Frontend/DiagnosticRenderer.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:1879:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:2587:61: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:5178:63: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/AST/CXXABI.h:18, from /<>/tools/clang/lib/AST/ItaniumCXXABI.cpp:20: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/AST/CXXABI.h:18, from /<>/tools/clang/lib/AST/ItaniumCXXABI.cpp:20: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/Module.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/Module.cpp.o -c /<>/tools/clang/lib/Serialization/Module.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = clang::ObjCDictionaryElement]': /<>/tools/clang/lib/Sema/TreeTransform.h:10688:27: required from 'clang::ExprResult clang::TreeTransform::TransformObjCDictionaryLiteral(clang::ObjCDictionaryLiteral*) [with Derived = {anonymous}::TransformTypos; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:609:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::TransformTypos; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:6537:37: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct clang::ObjCDictionaryElement' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Sema/Sema.h:21, from /<>/tools/clang/include/clang/Sema/Lookup.h:19, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:19, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/tools/clang/include/clang/AST/ExprObjC.h:212:8: note: 'struct clang::ObjCDictionaryElement' declared here struct ObjCDictionaryElement { ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/DiagnosticRenderer.h:19, from /<>/tools/clang/lib/Frontend/DiagnosticRenderer.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/DiagnosticRenderer.h:19, from /<>/tools/clang/lib/Frontend/DiagnosticRenderer.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair*; It2 = std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair; unsigned int N = 4]' /usr/include/c++/8/bits/stl_pair.h:304:17: required from 'constexpr std::pair::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = clang::FieldDecl* const&; _T2 = llvm::SmallVector, 4>; typename std::__decay_and_strip<_T2>::__type = llvm::SmallVector, 4>; typename std::__decay_and_strip<_Tp>::__type = clang::FieldDecl*]' /<>/include/llvm/ADT/MapVector.h:80:38: required from 'ValueT& llvm::MapVector::operator[](const KeyT&) [with KeyT = clang::FieldDecl*; ValueT = llvm::SmallVector, 4>; MapType = llvm::DenseMap, llvm::detail::DenseMapPair >; VectorType = std::vector, 4> >, std::allocator, 4> > > >]' /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:2586:31: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/TreeTransform.h:11608:14: required from 'clang::StmtResult clang::TreeTransform::TransformCapturedStmt(clang::CapturedStmt*) [with Derived = {anonymous}::TransformTypos; clang::StmtResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:73:1: required from 'clang::StmtResult clang::TreeTransform::TransformStmt(clang::Stmt*) [with Derived = {anonymous}::TransformTypos; clang::StmtResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/TreeTransform.h:5981:16: required from 'clang::StmtResult clang::TreeTransform::TransformCompoundStmt(clang::CompoundStmt*, bool) [with Derived = {anonymous}::TransformTypos; clang::StmtResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/TreeTransform.h:8732:14: required from 'clang::ExprResult clang::TreeTransform::TransformStmtExpr(clang::StmtExpr*) [with Derived = {anonymous}::TransformTypos; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:749:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::TransformTypos; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:6537:37: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Linking CXX static library ../../../../../lib/libclangToolingCore.a cd /<>/build-llvm/tools/clang/lib/Tooling/Core && /usr/bin/cmake -P CMakeFiles/clangToolingCore.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Tooling/Core && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangToolingCore.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../lib/libclangToolingCore.a CMakeFiles/clangToolingCore.dir/Lookup.cpp.o CMakeFiles/clangToolingCore.dir/Replacement.cpp.o /usr/bin/ranlib ../../../../../lib/libclangToolingCore.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangToolingCore /usr/bin/make -f tools/clang/lib/Index/CMakeFiles/clangIndex.dir/build.make tools/clang/lib/Index/CMakeFiles/clangIndex.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Index /<>/build-llvm /<>/build-llvm/tools/clang/lib/Index /<>/build-llvm/tools/clang/lib/Index/CMakeFiles/clangIndex.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/Index/CMakeFiles/clangIndex.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Index/CMakeFiles/clangIndex.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Index/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Index/CMakeFiles/clangIndex.dir/depend.internal". [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o -c /<>/tools/clang/lib/AST/ItaniumMangle.cpp Scanning dependencies of target clangIndex make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Index/CMakeFiles/clangIndex.dir/build.make tools/clang/lib/Index/CMakeFiles/clangIndex.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/Index/CMakeFiles/clangIndex.dir/CommentToXML.cpp.o cd /<>/build-llvm/tools/clang/lib/Index && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Index -I/<>/tools/clang/lib/Index -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangIndex.dir/CommentToXML.cpp.o -c /<>/tools/clang/lib/Index/CommentToXML.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:778:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:897:36: required from 'llvm::SmallVector::SmallVector(const llvm::SmallVector&) [with T = std::pair; unsigned int N = 4]' /usr/include/c++/8/bits/stl_pair.h:303:17: required from 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = std::pair, 4> >; _Args = {const std::pair, 4> >&}]' /usr/include/c++/8/bits/stl_uninitialized.h:83:18: required from 'static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = const std::pair, 4> >*; _ForwardIterator = std::pair, 4> >*; bool _TrivialValueTypes = false]' /usr/include/c++/8/bits/stl_uninitialized.h:134:15: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/8/bits/stl_uninitialized.h:311:2: required from '_ForwardIterator std::__uninitialized_move_if_noexcept_a(_InputIterator, _InputIterator, _ForwardIterator, _Allocator&) [with _InputIterator = std::pair, 4> >*; _ForwardIterator = std::pair, 4> >*; _Allocator = std::allocator, 4> > >]' /usr/include/c++/8/bits/vector.tcc:447:6: required from 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::pair, 4> >}; _Tp = std::pair, 4> >; _Alloc = std::allocator, 4> > >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator, 4> >*, std::vector, 4> >, std::allocator, 4> > > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = std::pair, 4> >*]' /usr/include/c++/8/bits/vector.tcc:109:4: required from 'void std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {std::pair, 4> >}; _Tp = std::pair, 4> >; _Alloc = std::allocator, 4> > >]' /usr/include/c++/8/bits/stl_vector.h:1091:9: required from 'void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair, 4> >; _Alloc = std::allocator, 4> > >; std::vector<_Tp, _Alloc>::value_type = std::pair, 4> >]' /<>/include/llvm/ADT/MapVector.h:80:7: required from 'ValueT& llvm::MapVector::operator[](const KeyT&) [with KeyT = clang::FieldDecl*; ValueT = llvm::SmallVector, 4>; MapType = llvm::DenseMap, llvm::detail::DenseMapPair >; VectorType = std::vector, 4> >, std::allocator, 4> > > >]' /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:2586:31: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Serialization/Module.h:18, from /<>/tools/clang/lib/Serialization/Module.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/FileSystemOptions.h:18, from /<>/tools/clang/include/clang/Basic/FileManager.h:18, from /<>/tools/clang/include/clang/Serialization/Module.h:18, from /<>/tools/clang/lib/Serialization/Module.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /usr/bin/make -f tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/build.make tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/StaticAnalyzer/Core /<>/build-llvm /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/depend.internal". [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ModuleFileExtension.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ModuleFileExtension.cpp.o -c /<>/tools/clang/lib/Serialization/ModuleFileExtension.cpp Scanning dependencies of target clangStaticAnalyzerCore make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/build.make tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/APSIntType.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/APSIntType.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/APSIntType.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/Mangle.h:17, from /<>/tools/clang/lib/AST/ItaniumMangle.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/FrontendAction.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/FrontendAction.cpp.o -c /<>/tools/clang/lib/Frontend/FrontendAction.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Index/CommentToXML.h:13, from /<>/tools/clang/lib/Index/CommentToXML.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Serialization/CMakeFiles/clangSerialization.dir/ModuleManager.cpp.o cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Serialization -I/<>/tools/clang/lib/Serialization -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSerialization.dir/ModuleManager.cpp.o -c /<>/tools/clang/lib/Serialization/ModuleManager.cpp [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/lib/Index/SimpleFormatContext.h:19, from /<>/tools/clang/lib/Index/CommentToXML.cpp:11: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Index/CommentToXML.h:13, from /<>/tools/clang/lib/Index/CommentToXML.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExprComplex.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGExprComplex.cpp.o -c /<>/tools/clang/lib/CodeGen/CGExprComplex.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:22, from /<>/tools/clang/lib/Frontend/FrontendAction.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/Mangle.h:17, from /<>/tools/clang/lib/AST/ItaniumMangle.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/Mangle.h:17, from /<>/tools/clang/lib/AST/ItaniumMangle.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:13, from /<>/tools/clang/lib/Serialization/ModuleManager.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/tools/clang/include/clang/Frontend/PCHContainerOperations.h:13, from /<>/tools/clang/lib/Serialization/ModuleManager.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/AST/ItaniumMangle.cpp: In member function 'void {anonymous}::CXXNameMangler::mangleExpression(const clang::Expr*, unsigned int)': /<>/tools/clang/lib/AST/ItaniumMangle.cpp:3569:40: warning: this statement may fall through [-Wimplicit-fallthrough=] Out << "v1U" << Kind.size() << Kind; ^ /<>/tools/clang/lib/AST/ItaniumMangle.cpp:3573:3: note: here case Expr::CStyleCastExprClass: ^~~~ /<>/tools/clang/lib/AST/ItaniumMangle.cpp: At global scope: /<>/tools/clang/lib/AST/ItaniumMangle.cpp:4090:6: warning: 'void {anonymous}::CXXNameMangler::mangleExistingSubstitution(clang::QualType)' defined but not used [-Wunused-function] void CXXNameMangler::mangleExistingSubstitution(QualType type) { ^~~~~~~~~~~~~~ [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprComplex.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Linking CXX static library ../../../../lib/libclangSerialization.a cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/cmake -P CMakeFiles/clangSerialization.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Serialization && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangSerialization.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangSerialization.a CMakeFiles/clangSerialization.dir/ASTCommon.cpp.o CMakeFiles/clangSerialization.dir/ASTReader.cpp.o CMakeFiles/clangSerialization.dir/ASTReaderDecl.cpp.o CMakeFiles/clangSerialization.dir/ASTReaderStmt.cpp.o CMakeFiles/clangSerialization.dir/ASTWriter.cpp.o CMakeFiles/clangSerialization.dir/ASTWriterDecl.cpp.o CMakeFiles/clangSerialization.dir/ASTWriterStmt.cpp.o CMakeFiles/clangSerialization.dir/GeneratePCH.cpp.o CMakeFiles/clangSerialization.dir/GlobalModuleIndex.cpp.o CMakeFiles/clangSerialization.dir/Module.cpp.o CMakeFiles/clangSerialization.dir/ModuleFileExtension.cpp.o CMakeFiles/clangSerialization.dir/ModuleManager.cpp.o /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/bin/ranlib ../../../../lib/libclangSerialization.a make[4]: Leaving directory '/<>/build-llvm' In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Built target clangSerialization /usr/bin/make -f tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/ClangSACheckers.dir/build.make tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/ClangSACheckers.dir/depend In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:23, from /<>/tools/clang/lib/Frontend/FrontendAction.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/StaticAnalyzer/Checkers /<>/build-llvm /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/ClangSACheckers.dir/DependInfo.cmake --color= In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:21, from /<>/tools/clang/lib/Frontend/FrontendAction.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ Dependee "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/ClangSACheckers.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/ClangSACheckers.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/ClangSACheckers.dir/depend.internal". Scanning dependencies of target ClangSACheckers make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/ClangSACheckers.dir/build.make tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/ClangSACheckers.dir/build make[4]: Entering directory '/<>/build-llvm' In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building Checkers.inc... cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers && ../../../../../bin/clang-tblgen -gen-clang-sa-checkers -I /<>/tools/clang/lib/StaticAnalyzer/Checkers/../../../include -I /<>/tools/clang/lib/StaticAnalyzer/Checkers -I /<>/lib/Target -I /<>/include /<>/tools/clang/lib/StaticAnalyzer/Checkers/Checkers.td -o /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers/Checkers.inc.tmp [ 25%] Updating Checkers.inc... cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers && /usr/bin/cmake -E copy_if_different /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers/Checkers.inc.tmp /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers/Checkers.inc In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target ClangSACheckers [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransUnbridgedCasts.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransUnbridgedCasts.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp:20: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Index/CMakeFiles/clangIndex.dir/USRGeneration.cpp.o cd /<>/build-llvm/tools/clang/lib/Index && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Index -I/<>/tools/clang/lib/Index -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangIndex.dir/USRGeneration.cpp.o -c /<>/tools/clang/lib/Index/USRGeneration.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp:43: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Index/USRGeneration.h:13, from /<>/tools/clang/lib/Index/USRGeneration.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprComplex.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprComplex.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/FrontendActions.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/FrontendActions.cpp.o -c /<>/tools/clang/lib/Frontend/FrontendActions.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Index/USRGeneration.cpp:11: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Index/USRGeneration.h:13, from /<>/tools/clang/lib/Index/USRGeneration.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp:20: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp:20: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Mangle.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/Mangle.cpp.o -c /<>/tools/clang/lib/AST/Mangle.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp:43: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp:43: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:22, from /<>/tools/clang/include/clang/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/FrontendActions.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp: In member function 'bool {anonymous}::RetainReleaseDeallocRemover::VisitObjCMessageExpr(clang::ObjCMessageExpr*)': /<>/tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp:68:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (isRemovable(E)) { ^~ /<>/tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp:81:5: note: here case OMF_retain: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:21, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/AST/Mangle.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Linking CXX static library ../../../../lib/libclangIndex.a cd /<>/build-llvm/tools/clang/lib/Index && /usr/bin/cmake -P CMakeFiles/clangIndex.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Index && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangIndex.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangIndex.a CMakeFiles/clangIndex.dir/CommentToXML.cpp.o CMakeFiles/clangIndex.dir/USRGeneration.cpp.o /usr/bin/ranlib ../../../../lib/libclangIndex.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangIndex [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp /usr/bin/make -f tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/build.make tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/StaticAnalyzer/Frontend /<>/build-llvm /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/depend.internal". Scanning dependencies of target clangStaticAnalyzerFrontend make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/build.make tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/../Checkers -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/lib/AST/Mangle.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/AST/Mangle.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExprConstant.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGExprConstant.cpp.o -c /<>/tools/clang/lib/CodeGen/CGExprConstant.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:23, from /<>/tools/clang/include/clang/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/FrontendActions.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:21, from /<>/tools/clang/include/clang/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/FrontendActions.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:23, from /<>/tools/clang/include/clang/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/FrontendActions.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:21, from /<>/tools/clang/include/clang/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/Frontend/FrontendActions.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/MicrosoftCXXABI.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/MicrosoftCXXABI.cpp.o -c /<>/tools/clang/lib/AST/MicrosoftCXXABI.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprConstant.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:16: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocInventIterator<{anonymous}::TransformTypos, const clang::TemplateArgument*>; Derived = {anonymous}::TransformTypos]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformTypos, const clang::TemplateArgument*>' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformTypos, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:16: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::ExprResult clang::TreeTransform::TransformSizeOfPackExpr(clang::SizeOfPackExpr*) [with Derived = {anonymous}::TransformTypos]': /<>/tools/clang/lib/Sema/TreeTransform.h:10407:5: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformTypos, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, PackArgs.begin()), ^~ In file included from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:16: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = const clang::TemplateArgumentLoc*; Derived = {anonymous}::TransformTypos]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformTypos, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocContainerIterator; Derived = {anonymous}::TransformTypos]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformTypos, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:16: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformDependentTemplateSpecializationType(clang::TypeLocBuilder&, clang::DependentTemplateSpecializationTypeLoc, clang::NestedNameSpecifierLoc) [with Derived = {anonymous}::TransformTypos]': /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 In file included from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:16: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformTemplateSpecializationType(clang::TypeLocBuilder&, clang::TemplateSpecializationTypeLoc, clang::TemplateName) [with Derived = {anonymous}::TransformTypos]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TransformTypos, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/AST/CXXABI.h:18, from /<>/tools/clang/lib/AST/MicrosoftCXXABI.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/BlockCounter.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/BlockCounter.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/BlockCounter.cpp In file included from /<>/tools/clang/lib/Sema/SemaExprCXX.cpp:16: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'clang::TypeSourceInfo* clang::TreeTransform::TransformTSIInObjectScope(clang::TypeLoc, clang::QualType, clang::NamedDecl*, clang::CXXScopeSpec&) [with Derived = {anonymous}::TransformTypos]': /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/AST/CXXABI.h:18, from /<>/tools/clang/lib/AST/MicrosoftCXXABI.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/AST/CXXABI.h:18, from /<>/tools/clang/lib/AST/MicrosoftCXXABI.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/BlockCounter.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:55:67: required from 'void* llvm::AllocatorBase::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:77:12: required from 'T* llvm::AllocatorBase::Allocate(size_t) [with T = llvm::ImutAVLTree >; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = unsigned int]' /<>/include/llvm/ADT/ImmutableSet.h:470:11: required from 'llvm::ImutAVLFactory::TreeTy* llvm::ImutAVLFactory::createNode(llvm::ImutAVLFactory::TreeTy*, llvm::ImutAVLFactory::value_type_ref, llvm::ImutAVLFactory::TreeTy*) [with ImutInfo = llvm::ImutKeyValueInfo<{anonymous}::CountKey, unsigned int>; llvm::ImutAVLFactory::TreeTy = llvm::ImutAVLTree >; llvm::ImutAVLFactory::value_type_ref = const std::pair<{anonymous}::CountKey, unsigned int>&]' /<>/include/llvm/ADT/ImmutableSet.h:538:32: required from 'llvm::ImutAVLFactory::TreeTy* llvm::ImutAVLFactory::add_internal(llvm::ImutAVLFactory::value_type_ref, llvm::ImutAVLFactory::TreeTy*) [with ImutInfo = llvm::ImutKeyValueInfo<{anonymous}::CountKey, unsigned int>; llvm::ImutAVLFactory::TreeTy = llvm::ImutAVLTree >; llvm::ImutAVLFactory::value_type_ref = const std::pair<{anonymous}::CountKey, unsigned int>&]' /<>/include/llvm/ADT/ImmutableSet.h:401:9: required from 'llvm::ImutAVLFactory::TreeTy* llvm::ImutAVLFactory::add(llvm::ImutAVLFactory::TreeTy*, llvm::ImutAVLFactory::value_type_ref) [with ImutInfo = llvm::ImutKeyValueInfo<{anonymous}::CountKey, unsigned int>; llvm::ImutAVLFactory::TreeTy = llvm::ImutAVLTree >; llvm::ImutAVLFactory::value_type_ref = const std::pair<{anonymous}::CountKey, unsigned int>&]' /<>/include/llvm/ADT/ImmutableMap.h:112:15: required from 'llvm::ImmutableMap llvm::ImmutableMap::Factory::add(llvm::ImmutableMap, llvm::ImmutableMap::key_type_ref, llvm::ImmutableMap::data_type_ref) [with KeyT = {anonymous}::CountKey; ValT = unsigned int; ValInfo = llvm::ImutKeyValueInfo<{anonymous}::CountKey, unsigned int>; llvm::ImmutableMap::key_type_ref = const {anonymous}::CountKey&; llvm::ImmutableMap::data_type_ref = const unsigned int&]' /<>/tools/clang/lib/StaticAnalyzer/Core/BlockCounter.cpp:79:67: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/BlockCounter.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:21, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h:20, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:21, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h:20, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprConstant.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprConstant.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/CheckerRegistration.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/../Checkers -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerFrontend.dir/CheckerRegistration.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/FrontendOptions.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/FrontendOptions.cpp.o -c /<>/tools/clang/lib/Frontend/FrontendOptions.cpp [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/IssueHash.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/IssueHash.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/MicrosoftMangle.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/MicrosoftMangle.cpp.o -c /<>/tools/clang/lib/AST/MicrosoftMangle.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/HeaderIncludeGen.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/HeaderIncludeGen.cpp.o -c /<>/tools/clang/lib/Frontend/HeaderIncludeGen.cpp [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h:13, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/Mangle.h:17, from /<>/tools/clang/lib/AST/MicrosoftMangle.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp:23: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/HeaderIncludeGen.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/HeaderIncludeGen.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/IssueHash.h:12, from /<>/tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp:9: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/iterator_range.h:22, from /<>/include/llvm/ADT/SmallVector.h:17, from /<>/include/llvm/ADT/SmallString.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/IssueHash.h:12, from /<>/tools/clang/lib/StaticAnalyzer/Core/IssueHash.cpp:9: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/InitHeaderSearch.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/InitHeaderSearch.cpp.o -c /<>/tools/clang/lib/Frontend/InitHeaderSearch.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h:13, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/Mangle.h:17, from /<>/tools/clang/lib/AST/MicrosoftMangle.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/include/clang/AST/Mangle.h:17, from /<>/tools/clang/lib/AST/MicrosoftMangle.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/BugReporter.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/BugReporter.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGExprScalar.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGExprScalar.cpp.o -c /<>/tools/clang/lib/CodeGen/CGExprScalar.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp:23: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp:23: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/InitHeaderSearch.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = std::__cxx11::basic_string; ValueTy = std::__cxx11::basic_string]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = std::__cxx11::basic_string; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/include/llvm/ADT/StringMap.h:299:51: required from 'ValueTy& llvm::StringMap::operator[](llvm::StringRef) [with ValueTy = std::__cxx11::basic_string; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Lex/HeaderSearch.h:301:29: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/InitHeaderSearch.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Frontend/InitHeaderSearch.cpp: In member function 'void {anonymous}::InitHeaderSearch::AddDefaultCIncludePaths(const llvm::Triple&, const clang::HeaderSearchOptions&)': /<>/tools/clang/lib/Frontend/InitHeaderSearch.cpp:223:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (triple.getEnvironment() != llvm::Triple::Cygnus) ^~ /<>/tools/clang/lib/Frontend/InitHeaderSearch.cpp:225:5: note: here default: ^~~~~~~ /<>/tools/clang/lib/Frontend/InitHeaderSearch.cpp:345:69: warning: this statement may fall through [-Wimplicit-fallthrough=] AddPath(BaseSDKPath + "/target/include_common", System, false); ^ /<>/tools/clang/lib/Frontend/InitHeaderSearch.cpp:347:3: note: here default: ^~~~~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/../Checkers -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelConsumer.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/InitPreprocessor.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/InitPreprocessor.cpp.o -c /<>/tools/clang/lib/Frontend/InitPreprocessor.cpp [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprMember.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaExprMember.cpp.o -c /<>/tools/clang/lib/Sema/SemaExprMember.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprScalar.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/ModelConsumer.h:20, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelConsumer.cpp:22: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/ModelConsumer.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelConsumer.cpp:22: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/../Checkers -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:434:62: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ChooseExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:445:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::AbstractConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:454:53: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:459:41: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:465:33: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:469:32: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCForCollectionStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:473:47: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:477:35: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1919:28: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IndirectGotoStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1923:38: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1925:32: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1927:47: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1929:66: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaExprMember.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXDefaultInitExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:265:49: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:404:18: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:21, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:583:48: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1177:33: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/InitPreprocessor.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ObjCForCollectionStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1752:54: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1824:53: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BreakStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1843:41: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ContinueStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1843:68: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::GotoStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1844:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1893:32: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1894:36: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SubstNonTypeTemplateParmExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1895:44: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:2094:31: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:2094:58: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:2095:30: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:21, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:2861:55: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:21, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h:21, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/SourceLocation.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp:1276:63: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/NestedNameSpecifier.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/NestedNameSpecifier.cpp.o -c /<>/tools/clang/lib/AST/NestedNameSpecifier.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/InitPreprocessor.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/InitPreprocessor.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/InitPreprocessor.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprScalar.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGExprScalar.cpp:2245:72: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprScalar.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:23, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:21, from /<>/tools/clang/include/clang/StaticAnalyzer/Frontend/FrontendActions.h:13, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprScalar.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprScalar.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGExprScalar.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/lib/AST/NestedNameSpecifier.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaExprMember.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaExprMember.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/lib/StaticAnalyzer/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend/../Checkers -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaExprMember.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaExprMember.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/lib/AST/NestedNameSpecifier.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/lib/AST/NestedNameSpecifier.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/AST/NestedNameSpecifier.cpp: In member function 'void clang::NestedNameSpecifier::print(llvm::raw_ostream&, const clang::PrintingPolicy&) const': /<>/tools/clang/lib/AST/NestedNameSpecifier.cpp:283:11: warning: this statement may fall through [-Wimplicit-fallthrough=] OS << "template "; ^~~~~~~~~~~ /<>/tools/clang/lib/AST/NestedNameSpecifier.cpp:286:3: note: here case TypeSpec: { ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/NSAPI.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/NSAPI.cpp.o -c /<>/tools/clang/lib/AST/NSAPI.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp:11: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/NSAPI.h:13, from /<>/tools/clang/lib/AST/NSAPI.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/LangStandards.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/LangStandards.cpp.o -c /<>/tools/clang/lib/Frontend/LangStandards.cpp [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/OpenMPClause.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/OpenMPClause.cpp.o -c /<>/tools/clang/lib/AST/OpenMPClause.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/LayoutOverrideSource.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/LayoutOverrideSource.cpp.o -c /<>/tools/clang/lib/Frontend/LayoutOverrideSource.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/NSAPI.h:13, from /<>/tools/clang/lib/AST/NSAPI.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/NSAPI.h:13, from /<>/tools/clang/lib/AST/NSAPI.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/AST/OpenMPClause.h:19, from /<>/tools/clang/lib/AST/OpenMPClause.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.h:29, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.h:29, from /<>/tools/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:17, from /<>/tools/clang/include/clang/Frontend/LayoutOverrideSource.h:13, from /<>/tools/clang/lib/Frontend/LayoutOverrideSource.cpp:9: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/ExternalASTSource.h:17, from /<>/tools/clang/include/clang/Frontend/LayoutOverrideSource.h:13, from /<>/tools/clang/lib/Frontend/LayoutOverrideSource.cpp:9: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/AST/OpenMPClause.h:19, from /<>/tools/clang/lib/AST/OpenMPClause.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/AST/OpenMPClause.h:19, from /<>/tools/clang/lib/AST/OpenMPClause.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o -c /<>/tools/clang/lib/Sema/SemaExprObjC.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/LogDiagnosticPrinter.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/LogDiagnosticPrinter.cpp.o -c /<>/tools/clang/lib/Frontend/LogDiagnosticPrinter.cpp [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGLoopInfo.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGLoopInfo.cpp.o -c /<>/tools/clang/lib/CodeGen/CGLoopInfo.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/TransformActions.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/TransformActions.cpp.o -c /<>/tools/clang/lib/ARCMigrate/TransformActions.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/ParentMap.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/ParentMap.cpp.o -c /<>/tools/clang/lib/AST/ParentMap.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/ModuleDependencyCollector.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/ModuleDependencyCollector.cpp.o -c /<>/tools/clang/lib/Frontend/ModuleDependencyCollector.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/tools/clang/lib/CodeGen/CGLoopInfo.h:21, from /<>/tools/clang/lib/CodeGen/CGLoopInfo.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMT.h:13, from /<>/tools/clang/lib/ARCMigrate/Internals.h:13, from /<>/tools/clang/lib/ARCMigrate/TransformActions.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/AST/ParentMap.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Linking CXX static library ../../../../../lib/libclangStaticAnalyzerFrontend.a cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend && /usr/bin/cmake -P CMakeFiles/clangStaticAnalyzerFrontend.dir/cmake_clean_target.cmake /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Frontend && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangStaticAnalyzerFrontend.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../lib/libclangStaticAnalyzerFrontend.a CMakeFiles/clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o CMakeFiles/clangStaticAnalyzerFrontend.dir/CheckerRegistration.cpp.o CMakeFiles/clangStaticAnalyzerFrontend.dir/ModelConsumer.cpp.o CMakeFiles/clangStaticAnalyzerFrontend.dir/FrontendActions.cpp.o CMakeFiles/clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o /usr/bin/ranlib ../../../../../lib/libclangStaticAnalyzerFrontend.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangStaticAnalyzerFrontend /usr/bin/make -f tools/clang/lib/Format/CMakeFiles/clangFormat.dir/build.make tools/clang/lib/Format/CMakeFiles/clangFormat.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/lib/Format /<>/build-llvm /<>/build-llvm/tools/clang/lib/Format /<>/build-llvm/tools/clang/lib/Format/CMakeFiles/clangFormat.dir/DependInfo.cmake --color= In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ Dependee "/<>/build-llvm/tools/clang/lib/Format/CMakeFiles/clangFormat.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Format/CMakeFiles/clangFormat.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/lib/Format/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/lib/Format/CMakeFiles/clangFormat.dir/depend.internal". Scanning dependencies of target clangFormat make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/lib/Format/CMakeFiles/clangFormat.dir/build.make tools/clang/lib/Format/CMakeFiles/clangFormat.dir/build /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] make[4]: Entering directory '/<>/build-llvm' /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Format/CMakeFiles/clangFormat.dir/BreakableToken.cpp.o cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Format -I/<>/tools/clang/lib/Format -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFormat.dir/BreakableToken.cpp.o -c /<>/tools/clang/lib/Format/BreakableToken.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/AST/ParentMap.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/AST/ParentMap.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/include/llvm/ADT/DenseMap.h:17, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:14, from /<>/tools/clang/include/clang/ARCMigrate/ARCMT.h:13, from /<>/tools/clang/lib/ARCMigrate/Internals.h:13, from /<>/tools/clang/lib/ARCMigrate/TransformActions.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/ARCMigrate/FileRemapper.h:13, from /<>/tools/clang/include/clang/ARCMigrate/ARCMT.h:13, from /<>/tools/clang/lib/ARCMigrate/Internals.h:13, from /<>/tools/clang/lib/ARCMigrate/TransformActions.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/lib/CodeGen/CGLoopInfo.h:18, from /<>/tools/clang/lib/CodeGen/CGLoopInfo.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/lib/CodeGen/CGLoopInfo.h:18, from /<>/tools/clang/lib/CodeGen/CGLoopInfo.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/ModuleDependencyCollector.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/ARCMigrate/TransformActions.cpp: In member function 'void {anonymous}::TransformActionsImpl::addRemoval(clang::CharSourceRange)': /<>/tools/clang/lib/ARCMigrate/TransformActions.cpp:541:15: warning: this statement may fall through [-Wimplicit-fallthrough=] RI->End = newRange.End; ~~~~~~~~^~~~~~~~~~~~~~ /<>/tools/clang/lib/ARCMigrate/TransformActions.cpp:542:5: note: here case Range_ExtendsBegin: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:87:60: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:94:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:550:46: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/ConvertUTF.h:183, from /<>/tools/clang/lib/Format/Encoding.h:20, from /<>/tools/clang/lib/Format/BreakableToken.h:20, from /<>/tools/clang/lib/Format/BreakableToken.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Format/Encoding.h:19, from /<>/tools/clang/lib/Format/BreakableToken.h:20, from /<>/tools/clang/lib/Format/BreakableToken.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1053:58: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1117:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1220:29: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1223:42: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaExprObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGObjC.cpp.o -c /<>/tools/clang/lib/CodeGen/CGObjC.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BlockExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:556:32: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/ModuleDependencyCollector.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/ModuleDependencyCollector.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/ModuleDependencyCollector.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/RawCommentList.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/RawCommentList.cpp.o -c /<>/tools/clang/lib/AST/RawCommentList.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitor.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:87:60: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ReturnStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ReturnStmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:94:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DeclStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclStmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:550:46: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Format/CMakeFiles/clangFormat.dir/ContinuationIndenter.cpp.o cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Format -I/<>/tools/clang/lib/Format -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFormat.dir/ContinuationIndenter.cpp.o -c /<>/tools/clang/lib/Format/ContinuationIndenter.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCMessageExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1053:58: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DeclRefExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclRefExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp:1117:59: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/ARCMigrate/CMakeFiles/clangARCMigrate.dir/Transforms.cpp.o cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/ARCMigrate -I/<>/tools/clang/lib/ARCMigrate -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangARCMigrate.dir/Transforms.cpp.o -c /<>/tools/clang/lib/ARCMigrate/Transforms.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/MultiplexConsumer.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/MultiplexConsumer.cpp.o -c /<>/tools/clang/lib/Frontend/MultiplexConsumer.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/FileManager.h:19, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/include/clang/AST/RawCommentList.h:14, from /<>/tools/clang/lib/AST/RawCommentList.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/ConvertUTF.h:183, from /<>/tools/clang/lib/Format/Encoding.h:20, from /<>/tools/clang/lib/Format/BreakableToken.h:20, from /<>/tools/clang/lib/Format/ContinuationIndenter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Format/Encoding.h:19, from /<>/tools/clang/lib/Format/BreakableToken.h:20, from /<>/tools/clang/lib/Format/ContinuationIndenter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.h:17, from /<>/tools/clang/lib/CodeGen/CGObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/include/clang/Basic/SourceManager.h:38, from /<>/tools/clang/include/clang/AST/RawCommentList.h:14, from /<>/tools/clang/lib/AST/RawCommentList.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/AST/RawCommentList.h:13, from /<>/tools/clang/lib/AST/RawCommentList.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/Serialization/ASTDeserializationListener.h:18, from /<>/tools/clang/lib/Frontend/MultiplexConsumer.cpp:19: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Frontend/MultiplexConsumer.h:18, from /<>/tools/clang/lib/Frontend/MultiplexConsumer.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/Transforms.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Format/CMakeFiles/clangFormat.dir/Format.cpp.o cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Format -I/<>/tools/clang/lib/Format -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFormat.dir/Format.cpp.o -c /<>/tools/clang/lib/Format/Format.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/PCHContainerOperations.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/PCHContainerOperations.cpp.o -c /<>/tools/clang/lib/Frontend/PCHContainerOperations.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/RecordLayout.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/RecordLayout.cpp.o -c /<>/tools/clang/lib/AST/RecordLayout.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGObjC.cpp:1473:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGObjC.cpp:1641:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGObjC.cpp:2854:54: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGObjC.cpp:2854:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Format/Format.h:18, from /<>/tools/clang/lib/Format/Format.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/YAMLParser.h:149:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Format/Format.h:18, from /<>/tools/clang/lib/Format/Format.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CompoundStmt&]': /<>/tools/clang/lib/CodeGen/CGObjC.cpp:2854:54: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] return cast_convert_val::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/RecordLayout.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.h:17, from /<>/tools/clang/lib/CodeGen/CGObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.h:17, from /<>/tools/clang/lib/CodeGen/CGObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGDebugInfo.h:17, from /<>/tools/clang/lib/CodeGen/CGObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DeclStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclStmt*]' /<>/tools/clang/lib/CodeGen/CGObjC.cpp:1473:61: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/PrintPreprocessedOutput.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/PrintPreprocessedOutput.cpp.o -c /<>/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/CallEvent.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/CallEvent.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp [ 25%] Building CXX object tools/clang/lib/Format/CMakeFiles/clangFormat.dir/FormatToken.cpp.o cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Format -I/<>/tools/clang/lib/Format -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFormat.dir/FormatToken.cpp.o -c /<>/tools/clang/lib/Format/FormatToken.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/RecordLayout.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/RecordLayout.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/Basic/PartialDiagnostic.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:18, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/RecordLayout.cpp:14: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = const clang::CXXRecordDecl*; ValueT = clang::CharUnits; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = const clang::CXXRecordDecl*; ValueT = clang::CharUnits; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:589:7: required from 'llvm::DenseMap& llvm::DenseMap::operator=(const llvm::DenseMap&) [with KeyT = const clang::CXXRecordDecl*; ValueT = clang::CharUnits; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/AST/RecordLayout.cpp:79:26: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = const clang::CXXRecordDecl*; ValueT = clang::ASTRecordLayout::VBaseInfo; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = const clang::CXXRecordDecl*; ValueT = clang::ASTRecordLayout::VBaseInfo; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:589:7: required from 'llvm::DenseMap& llvm::DenseMap::operator=(const llvm::DenseMap&) [with KeyT = const clang::CXXRecordDecl*; ValueT = clang::ASTRecordLayout::VBaseInfo; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/AST/RecordLayout.cpp:80:27: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/ConvertUTF.h:183, from /<>/tools/clang/lib/Format/Encoding.h:20, from /<>/tools/clang/lib/Format/ContinuationIndenter.h:19, from /<>/tools/clang/lib/Format/FormatToken.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Format/Encoding.h:19, from /<>/tools/clang/lib/Format/ContinuationIndenter.h:19, from /<>/tools/clang/lib/Format/FormatToken.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp:703:71: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/Transforms.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/Transforms.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/Transforms.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/AST/RecursiveASTVisitor.h:19, from /<>/tools/clang/lib/ARCMigrate/Transforms.h:14, from /<>/tools/clang/lib/ARCMigrate/Transforms.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /usr/bin/make -f tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/build.make tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/extra/clang-apply-replacements /<>/build-llvm /<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements /<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/DependInfo.cmake --color= In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/Utils.h:17, from /<>/tools/clang/lib/Frontend/PrintPreprocessedOutput.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/depend.internal". Scanning dependencies of target clangApplyReplacements make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/build.make tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/tools/extra/clang-apply-replacements/CMakeFiles/clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements -I/<>/tools/clang/tools/extra/clang-apply-replacements -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -I/<>/tools/clang/tools/extra/clang-apply-replacements/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o -c /<>/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/RecordLayoutBuilder.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/RecordLayoutBuilder.cpp.o -c /<>/tools/clang/lib/AST/RecordLayoutBuilder.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o -c /<>/tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/LangOptions.h:19, from /<>/tools/clang/include/clang/Tooling/Core/Replacement.h:22, from /<>/tools/clang/include/clang/Tooling/Refactoring.h:22, from /<>/tools/clang/tools/extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h:19, from /<>/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/RecordLayout.h:18, from /<>/tools/clang/lib/AST/RecordLayoutBuilder.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaFixItUtils.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaFixItUtils.cpp.o -c /<>/tools/clang/lib/Sema/SemaFixItUtils.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::PseudoObjectExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:741:75: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:1001:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXNewExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:1005:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:1007:62: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:256:25: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:256:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:257:53: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXNewExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:258:47: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:322:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::PseudoObjectExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::PseudoObjectExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::PseudoObjectExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:741:75: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 25%] Building CXX object tools/clang/lib/Format/CMakeFiles/clangFormat.dir/TokenAnnotator.cpp.o cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Format -I/<>/tools/clang/lib/Format -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFormat.dir/TokenAnnotator.cpp.o -c /<>/tools/clang/lib/Format/TokenAnnotator.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Tooling/Core/Replacement.h:22, from /<>/tools/clang/include/clang/Tooling/Refactoring.h:22, from /<>/tools/clang/tools/extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h:19, from /<>/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Tooling/Core/Replacement.h:22, from /<>/tools/clang/include/clang/Tooling/Refactoring.h:22, from /<>/tools/clang/tools/extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h:19, from /<>/tools/clang/tools/extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/RecordLayout.h:17, from /<>/tools/clang/lib/AST/RecordLayoutBuilder.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/RecordLayout.h:17, from /<>/tools/clang/lib/AST/RecordLayoutBuilder.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/SemaFixItUtils.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/lib/Format/FormatToken.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineParser.h:19, from /<>/tools/clang/lib/Format/TokenAnnotator.h:19, from /<>/tools/clang/lib/Format/TokenAnnotator.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/lib/Format/FormatToken.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineParser.h:19, from /<>/tools/clang/lib/Format/TokenAnnotator.h:19, from /<>/tools/clang/lib/Format/TokenAnnotator.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCGNU.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGObjCGNU.cpp.o -c /<>/tools/clang/lib/CodeGen/CGObjCGNU.cpp [ 25%] Linking CXX static library ../../../../../lib/libclangApplyReplacements.a cd /<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements && /usr/bin/cmake -P CMakeFiles/clangApplyReplacements.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/tools/extra/clang-apply-replacements && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangApplyReplacements.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../lib/libclangApplyReplacements.a CMakeFiles/clangApplyReplacements.dir/lib/Tooling/ApplyReplacements.cpp.o /usr/bin/ranlib ../../../../../lib/libclangApplyReplacements.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangApplyReplacements /usr/bin/make -f tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/build.make tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/extra/clang-rename /<>/build-llvm /<>/build-llvm/tools/clang/tools/extra/clang-rename /<>/build-llvm/tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-rename/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/depend.internal". Scanning dependencies of target clangRename make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/build.make tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/USRFinder.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-rename && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-rename -I/<>/tools/clang/tools/extra/clang-rename -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRename.dir/USRFinder.cpp.o -c /<>/tools/clang/tools/extra/clang-rename/USRFinder.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/SemaFixItUtils.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/SemaFixItUtils.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/SemaFixItUtils.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/SemaFixItUtils.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/Checker.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/Checker.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/Checker.cpp [ 25%] Building CXX object tools/clang/lib/Format/CMakeFiles/clangFormat.dir/UnwrappedLineFormatter.cpp.o cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Format -I/<>/tools/clang/lib/Format -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFormat.dir/UnwrappedLineFormatter.cpp.o -c /<>/tools/clang/lib/Format/UnwrappedLineFormatter.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/SerializedDiagnosticReader.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/SerializedDiagnosticReader.cpp.o -c /<>/tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCGNU.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/AST/AST.h:18, from /<>/tools/clang/tools/extra/clang-rename/USRFinder.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/Checker.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp: In member function 'std::error_code clang::serialized_diags::SerializedDiagnosticReader::readMetaBlock(llvm::BitstreamCursor&)': /<>/tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp:127:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Stream.SkipBlock()) ^~ /<>/tools/clang/lib/Frontend/SerializedDiagnosticReader.cpp:129:5: note: here case Cursor::BlockEnd: ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/Support/ConvertUTF.h:183, from /<>/tools/clang/lib/Format/Encoding.h:20, from /<>/tools/clang/lib/Format/ContinuationIndenter.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineFormatter.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineFormatter.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Format/Encoding.h:19, from /<>/tools/clang/lib/Format/ContinuationIndenter.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineFormatter.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineFormatter.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/SelectorLocationsKind.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/SelectorLocationsKind.cpp.o -c /<>/tools/clang/lib/AST/SelectorLocationsKind.cpp [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/TestModuleFileExtension.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/TestModuleFileExtension.cpp.o -c /<>/tools/clang/lib/Frontend/TestModuleFileExtension.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaInit.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaInit.cpp.o -c /<>/tools/clang/lib/Sema/SemaInit.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/Checker.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/Checker.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCGNU.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCGNU.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/Checker.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/AST/AST.h:18, from /<>/tools/clang/tools/extra/clang-rename/USRFinder.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/tools/extra/clang-rename/USRFinder.h:18, from /<>/tools/clang/tools/extra/clang-rename/USRFinder.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCGNU.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCGNU.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCGNU.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/SelectorLocationsKind.h:18, from /<>/tools/clang/lib/AST/SelectorLocationsKind.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Format/CMakeFiles/clangFormat.dir/UnwrappedLineParser.cpp.o cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Format -I/<>/tools/clang/lib/Format -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFormat.dir/UnwrappedLineParser.cpp.o -c /<>/tools/clang/lib/Format/UnwrappedLineParser.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/Initialization.h:16, from /<>/tools/clang/lib/Sema/SemaInit.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/lib/AST/SelectorLocationsKind.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/SelectorLocationsKind.h:18, from /<>/tools/clang/lib/AST/SelectorLocationsKind.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.h:13, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.cpp:9: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/CheckerContext.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/CheckerContext.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Stmt.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/Stmt.cpp.o -c /<>/tools/clang/lib/AST/Stmt.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/lib/Format/FormatToken.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineParser.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineParser.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/lib/Format/FormatToken.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineParser.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineParser.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Bitcode/BitCodes.h:22, from /<>/include/llvm/Bitcode/BitstreamReader.h:18, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.h:15, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.cpp:9: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/PreprocessingRecord.h:371:44: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/memory:62, from /<>/tools/clang/include/clang/Serialization/ModuleFileExtension.h:14, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.h:12, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.cpp:9: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.h:13, from /<>/tools/clang/lib/Frontend/TestModuleFileExtension.cpp:9: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Stmt.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/Format/CMakeFiles/clangFormat.dir/WhitespaceManager.cpp.o cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Format -I/<>/tools/clang/lib/Format -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFormat.dir/WhitespaceManager.cpp.o -c /<>/tools/clang/lib/Format/WhitespaceManager.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/Initialization.h:16, from /<>/tools/clang/lib/Sema/SemaInit.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/Initialization.h:16, from /<>/tools/clang/lib/Sema/SemaInit.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/Initialization.h:16, from /<>/tools/clang/lib/Sema/SemaInit.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/Initialization.h:16, from /<>/tools/clang/lib/Sema/SemaInit.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/Stmt.cpp:141:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::SwitchCase; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/Stmt.cpp:143:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::AttributedStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/AST/Stmt.cpp:145:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/lib/Format/FormatToken.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineParser.h:19, from /<>/tools/clang/lib/Format/TokenAnnotator.h:19, from /<>/tools/clang/lib/Format/WhitespaceManager.h:19, from /<>/tools/clang/lib/Format/WhitespaceManager.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/lib/Format/FormatToken.h:19, from /<>/tools/clang/lib/Format/UnwrappedLineParser.h:19, from /<>/tools/clang/lib/Format/TokenAnnotator.h:19, from /<>/tools/clang/lib/Format/WhitespaceManager.h:19, from /<>/tools/clang/lib/Format/WhitespaceManager.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Stmt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Stmt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Stmt.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::LabelStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::LabelStmt*]' /<>/tools/clang/lib/AST/Stmt.cpp:141:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SwitchCase; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::SwitchCase; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::SwitchCase*]' /<>/tools/clang/lib/AST/Stmt.cpp:143:59: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::AttributedStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::AttributedStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::AttributedStmt*]' /<>/tools/clang/lib/AST/Stmt.cpp:145:67: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/TextDiagnostic.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/TextDiagnostic.cpp.o -c /<>/tools/clang/lib/Frontend/TextDiagnostic.cpp [ 25%] Linking CXX static library ../../../../lib/libclangFormat.a cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/cmake -P CMakeFiles/clangFormat.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Format && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangFormat.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangFormat.a CMakeFiles/clangFormat.dir/BreakableToken.cpp.o CMakeFiles/clangFormat.dir/ContinuationIndenter.cpp.o CMakeFiles/clangFormat.dir/Format.cpp.o CMakeFiles/clangFormat.dir/FormatToken.cpp.o CMakeFiles/clangFormat.dir/TokenAnnotator.cpp.o CMakeFiles/clangFormat.dir/UnwrappedLineFormatter.cpp.o CMakeFiles/clangFormat.dir/UnwrappedLineParser.cpp.o CMakeFiles/clangFormat.dir/WhitespaceManager.cpp.o /usr/bin/ranlib ../../../../lib/libclangFormat.a make[4]: Leaving directory '/<>/build-llvm' [ 25%] Built target clangFormat /usr/bin/make -f tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/build.make tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/extra/clang-tidy /<>/build-llvm /<>/build-llvm/tools/clang/tools/extra/clang-tidy /<>/build-llvm/tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/depend.internal". Scanning dependencies of target clangTidy make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/build.make tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/build make[4]: Entering directory '/<>/build-llvm' [ 25%] Building CXX object tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/ClangTidy.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy -I/<>/tools/clang/tools/extra/clang-tidy -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidy.dir/ClangTidy.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGObjCMac.cpp.o -c /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp:18: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 25%] Building CXX object tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/USRFindingAction.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-rename && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-rename -I/<>/tools/clang/tools/extra/clang-rename -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRename.dir/USRFindingAction.cpp.o -c /<>/tools/clang/tools/extra/clang-rename/USRFindingAction.cpp [ 25%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/StmtCXX.cpp.o -c /<>/tools/clang/lib/AST/StmtCXX.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:35:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:81:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:88:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 25%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/TextDiagnosticBuffer.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/TextDiagnosticBuffer.cpp.o -c /<>/tools/clang/lib/Frontend/TextDiagnosticBuffer.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::OffsetOfExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:65:26: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DeclRefExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclRefExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:35:50: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:81:55: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::DeclStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclStmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:88:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/include/clang/AST/Stmt.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 25%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/CheckerManager.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/CheckerManager.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:22, from /<>/tools/clang/tools/extra/clang-rename/USRFindingAction.h:18, from /<>/tools/clang/tools/extra/clang-rename/USRFindingAction.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 26%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/TextDiagnosticPrinter.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/TextDiagnosticPrinter.cpp.o -c /<>/tools/clang/lib/Frontend/TextDiagnosticPrinter.cpp In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/StmtCXX.h:17, from /<>/tools/clang/lib/AST/StmtCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/StmtCXX.h:17, from /<>/tools/clang/lib/AST/StmtCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:16, from /<>/tools/clang/include/clang/AST/StmtCXX.h:17, from /<>/tools/clang/lib/AST/StmtCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 26%] Building CXX object tools/clang/lib/Frontend/CMakeFiles/clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Frontend -I/<>/tools/clang/lib/Frontend -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o -c /<>/tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp [ 26%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtIterator.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/StmtIterator.cpp.o -c /<>/tools/clang/lib/AST/StmtIterator.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAtTryStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:3667:36: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAtTryStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:3667:36: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAtSynchronizedStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:3981:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAtTryStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:4082:60: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:23, from /<>/tools/clang/tools/extra/clang-rename/USRFindingAction.h:18, from /<>/tools/clang/tools/extra/clang-rename/USRFindingAction.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/tools/clang/include/clang/AST/ASTConsumer.h:17, from /<>/tools/clang/include/clang/Frontend/FrontendAction.h:21, from /<>/tools/clang/tools/extra/clang-rename/USRFindingAction.h:18, from /<>/tools/clang/tools/extra/clang-rename/USRFindingAction.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/AST/StmtIterator.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/ios:40, from /usr/include/c++/8/ostream:38, from /usr/include/c++/8/iterator:64, from /<>/tools/clang/include/clang/AST/StmtIterator.h:21, from /<>/tools/clang/lib/AST/StmtIterator.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ObjCAtTryStmt; Y = clang::Stmt]': /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:3665:31: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ObjCAtTryStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCAtTryStmt&]': /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:3667:36: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] return cast_convert_val::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ObjCAtSynchronizedStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCAtSynchronizedStmt&]': /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:3981:56: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCMac.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp:18: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp:129:65: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp:18: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:13, from /<>/tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/Frontend/VerifyDiagnosticConsumer.h:13, from /<>/tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 26%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/StmtObjC.cpp.o -c /<>/tools/clang/lib/AST/StmtObjC.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp:18: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp:18: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp:18: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 26%] Linking CXX static library ../../../../lib/libclangARCMigrate.a cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/cmake -P CMakeFiles/clangARCMigrate.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/ARCMigrate && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangARCMigrate.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangARCMigrate.a CMakeFiles/clangARCMigrate.dir/ARCMT.cpp.o CMakeFiles/clangARCMigrate.dir/ARCMTActions.cpp.o CMakeFiles/clangARCMigrate.dir/FileRemapper.cpp.o CMakeFiles/clangARCMigrate.dir/ObjCMT.cpp.o CMakeFiles/clangARCMigrate.dir/PlistReporter.cpp.o CMakeFiles/clangARCMigrate.dir/TransAPIUses.cpp.o CMakeFiles/clangARCMigrate.dir/TransARCAssign.cpp.o CMakeFiles/clangARCMigrate.dir/TransAutoreleasePool.cpp.o CMakeFiles/clangARCMigrate.dir/TransBlockObjCVariable.cpp.o CMakeFiles/clangARCMigrate.dir/TransEmptyStatementsAndDealloc.cpp.o CMakeFiles/clangARCMigrate.dir/TransGCAttrs.cpp.o CMakeFiles/clangARCMigrate.dir/TransGCCalls.cpp.o CMakeFiles/clangARCMigrate.dir/TransProperties.cpp.o CMakeFiles/clangARCMigrate.dir/TransProtectedScope.cpp.o CMakeFiles/clangARCMigrate.dir/TransRetainReleaseDealloc.cpp.o CMakeFiles/clangARCMigrate.dir/TransUnbridgedCasts.cpp.o CMakeFiles/clangARCMigrate.dir/TransUnusedInitDelegate.cpp.o CMakeFiles/clangARCMigrate.dir/TransZeroOutPropsInDealloc.cpp.o CMakeFiles/clangARCMigrate.dir/TransformActions.cpp.o CMakeFiles/clangARCMigrate.dir/Transforms.cpp.o /usr/bin/ranlib ../../../../lib/libclangARCMigrate.a [ 26%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaLambda.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaLambda.cpp.o -c /<>/tools/clang/lib/Sema/SemaLambda.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/AST/StmtObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ make[4]: Leaving directory '/<>/build-llvm' [ 26%] Built target clangARCMigrate /usr/bin/make -f tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/build.make tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/extra/clang-tidy/cert /<>/build-llvm /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/depend.internal". Scanning dependencies of target clangTidyCERTModule make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/build.make tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/build make[4]: Entering directory '/<>/build-llvm' [ 26%] Building CXX object tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/CERTTidyModule.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCERTModule.dir/CERTTidyModule.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cert/CERTTidyModule.cpp [ 26%] Building CXX object tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/USRLocFinder.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-rename && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-rename -I/<>/tools/clang/tools/extra/clang-rename -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRename.dir/USRLocFinder.cpp.o -c /<>/tools/clang/tools/extra/clang-rename/USRLocFinder.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/SemaLambda.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.cpp:18: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 26%] Linking CXX static library ../../../../lib/libclangFrontend.a cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/cmake -P CMakeFiles/clangFrontend.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Frontend && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangFrontend.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangFrontend.a CMakeFiles/clangFrontend.dir/ASTConsumers.cpp.o CMakeFiles/clangFrontend.dir/ASTMerge.cpp.o CMakeFiles/clangFrontend.dir/ASTUnit.cpp.o CMakeFiles/clangFrontend.dir/CacheTokens.cpp.o CMakeFiles/clangFrontend.dir/ChainedDiagnosticConsumer.cpp.o CMakeFiles/clangFrontend.dir/ChainedIncludesSource.cpp.o CMakeFiles/clangFrontend.dir/CodeGenOptions.cpp.o CMakeFiles/clangFrontend.dir/CompilerInstance.cpp.o CMakeFiles/clangFrontend.dir/CompilerInvocation.cpp.o CMakeFiles/clangFrontend.dir/CreateInvocationFromCommandLine.cpp.o CMakeFiles/clangFrontend.dir/DependencyFile.cpp.o CMakeFiles/clangFrontend.dir/DependencyGraph.cpp.o CMakeFiles/clangFrontend.dir/DiagnosticRenderer.cpp.o CMakeFiles/clangFrontend.dir/FrontendAction.cpp.o CMakeFiles/clangFrontend.dir/FrontendActions.cpp.o CMakeFiles/clangFrontend.dir/FrontendOptions.cpp.o CMakeFiles/clangFrontend.dir/HeaderIncludeGen.cpp.o CMakeFiles/clangFrontend.dir/InitHeaderSearch.cpp.o CMakeFiles/clangFrontend.dir/InitPreprocessor.cpp.o CMakeFiles/clangFrontend.dir/LangStandards.cpp.o CMakeFiles/clangFrontend.dir/LayoutOverrideSource.cpp.o CMakeFiles/clangFrontend.dir/LogDiagnosticPrinter.cpp.o CMakeFiles/clangFrontend.dir/ModuleDependencyCollector.cpp.o CMakeFiles/clangFrontend.dir/MultiplexConsumer.cpp.o CMakeFiles/clangFrontend.dir/PCHContainerOperations.cpp.o CMakeFiles/clangFrontend.dir/PrintPreprocessedOutput.cpp.o CMakeFiles/clangFrontend.dir/SerializedDiagnosticPrinter.cpp.o CMakeFiles/clangFrontend.dir/SerializedDiagnosticReader.cpp.o CMakeFiles/clangFrontend.dir/TestModuleFileExtension.cpp.o CMakeFiles/clangFrontend.dir/TextDiagnostic.cpp.o CMakeFiles/clangFrontend.dir/TextDiagnosticBuffer.cpp.o CMakeFiles/clangFrontend.dir/TextDiagnosticPrinter.cpp.o CMakeFiles/clangFrontend.dir/VerifyDiagnosticConsumer.cpp.o In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/AST/StmtObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/include/clang/AST/Stmt.h:17, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/AST/StmtObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /usr/bin/ranlib ../../../../lib/libclangFrontend.a make[4]: Leaving directory '/<>/build-llvm' [ 26%] Built target clangFrontend [ 26%] Building CXX object tools/clang/tools/extra/clang-rename/CMakeFiles/clangRename.dir/RenamingAction.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-rename && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-rename -I/<>/tools/clang/tools/extra/clang-rename -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangRename.dir/RenamingAction.cpp.o -c /<>/tools/clang/tools/extra/clang-rename/RenamingAction.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/CERTTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/tools/extra/clang-rename/USRLocFinder.cpp:19: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 26%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtOpenMP.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/StmtOpenMP.cpp.o -c /<>/tools/clang/lib/AST/StmtOpenMP.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/LangOptions.h:19, from /<>/tools/clang/include/clang/Tooling/Core/Replacement.h:22, from /<>/tools/clang/include/clang/Tooling/Refactoring.h:22, from /<>/tools/clang/tools/extra/clang-rename/RenamingAction.h:18, from /<>/tools/clang/tools/extra/clang-rename/RenamingAction.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/AST/StmtOpenMP.h:18, from /<>/tools/clang/lib/AST/StmtOpenMP.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 26%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/CheckerRegistry.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/CheckerRegistry.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerRegistry.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/SemaLambda.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/SemaLambda.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/SemaLambda.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/SemaLambda.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/Sema/DeclSpec.h:26, from /<>/tools/clang/lib/Sema/SemaLambda.cpp:13: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::SmallDenseMap, 8, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo>; DerivedT = llvm::SmallDenseMap, 8, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo>; KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]': /<>/include/llvm/ADT/DenseMap.h:835:5: required from 'void llvm::SmallDenseMap::copyFrom(const llvm::SmallDenseMap&) [with KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; unsigned int InlineBuckets = 8; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /<>/include/llvm/ADT/DenseMap.h:722:5: required from 'llvm::SmallDenseMap::SmallDenseMap(const llvm::SmallDenseMap&) [with KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; unsigned int InlineBuckets = 8; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /<>/tools/clang/include/clang/Sema/ScopeInfo.h:306:3: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair >' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/include/clang/Sema/ScopeInfo.h:382:3: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/tools/extra/clang-rename/USRLocFinder.cpp:19: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/tools/extra/clang-rename/USRLocFinder.h:19, from /<>/tools/clang/tools/extra/clang-rename/USRLocFinder.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/Tooling/Core/Replacement.h:22, from /<>/tools/clang/include/clang/Tooling/Refactoring.h:22, from /<>/tools/clang/tools/extra/clang-rename/RenamingAction.h:18, from /<>/tools/clang/tools/extra/clang-rename/RenamingAction.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/CommentOptions.h:18, from /<>/tools/clang/include/clang/Basic/LangOptions.h:18, from /<>/tools/clang/include/clang/Tooling/Core/Replacement.h:22, from /<>/tools/clang/include/clang/Tooling/Refactoring.h:22, from /<>/tools/clang/tools/extra/clang-rename/RenamingAction.h:18, from /<>/tools/clang/tools/extra/clang-rename/RenamingAction.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/AST/StmtOpenMP.h:18, from /<>/tools/clang/lib/AST/StmtOpenMP.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/SemaLambda.cpp: In member function 'clang::MangleNumberingContext* clang::Sema::getCurrentMangleNumberContext(const clang::DeclContext*, clang::Decl*&)': /<>/tools/clang/lib/Sema/SemaLambda.cpp:329:5: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!IsInNonspecializedTemplate) { ^~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/AST/StmtOpenMP.h:18, from /<>/tools/clang/lib/AST/StmtOpenMP.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Sema/SemaLambda.cpp:335:3: note: here case DataMember: ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerRegistry.h:13, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerRegistry.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/CERTTidyModule.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/CERTTidyModule.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 26%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp [ 27%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerRegistry.h:14, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerRegistry.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/CheckerRegistry.h:13, from /<>/tools/clang/lib/StaticAnalyzer/Core/CheckerRegistry.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 27%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtPrinter.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/StmtPrinter.cpp.o -c /<>/tools/clang/lib/AST/StmtPrinter.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/CERTTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 27%] Building CXX object tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/ClangTidyModule.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy -I/<>/tools/clang/tools/extra/clang-tidy -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidy.dir/ClangTidyModule.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.cpp [ 27%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaLookup.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaLookup.cpp.o -c /<>/tools/clang/lib/Sema/SemaLookup.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/StmtPrinter.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 27%] Building CXX object tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 27%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/CoreEngine.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/CoreEngine.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 27%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGObjCRuntime.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGObjCRuntime.cpp.o -c /<>/tools/clang/lib/CodeGen/CGObjCRuntime.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/Sema/Lookup.h:18, from /<>/tools/clang/lib/Sema/SemaLookup.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 27%] Building CXX object tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/StmtPrinter.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/StmtPrinter.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 27%] Linking CXX static library ../../../../../lib/libclangRename.a cd /<>/build-llvm/tools/clang/tools/extra/clang-rename && /usr/bin/cmake -P CMakeFiles/clangRename.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/tools/extra/clang-rename && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangRename.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../lib/libclangRename.a CMakeFiles/clangRename.dir/USRFinder.cpp.o CMakeFiles/clangRename.dir/USRFindingAction.cpp.o CMakeFiles/clangRename.dir/USRLocFinder.cpp.o CMakeFiles/clangRename.dir/RenamingAction.cpp.o /usr/bin/ranlib ../../../../../lib/libclangRename.a make[4]: Leaving directory '/<>/build-llvm' [ 27%] Built target clangRename /usr/bin/make -f tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/build.make tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/extra/clang-tidy/llvm /<>/build-llvm /<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm /<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/depend.internal". /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] Scanning dependencies of target clangTidyLLVMModule make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/build.make tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/build make[4]: Entering directory '/<>/build-llvm' [ 27%] Building CXX object tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm -I/<>/tools/clang/tools/extra/clang-tidy/llvm -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:352:68: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:357:45: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:361:47: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::AbstractConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:366:60: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ChooseExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:374:43: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:391:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:395:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:399:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:408:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IndirectGotoStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:416:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:439:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:447:42: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/Sema/Lookup.h:18, from /<>/tools/clang/lib/Sema/SemaLookup.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/Sema/Lookup.h:18, from /<>/tools/clang/lib/Sema/SemaLookup.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/Sema/Lookup.h:18, from /<>/tools/clang/lib/Sema/SemaLookup.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/Sema/Lookup.h:18, from /<>/tools/clang/lib/Sema/SemaLookup.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/HeaderGuard.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Sema/SemaLookup.cpp: In function 'void addAssociatedClassesAndNamespaces({anonymous}::AssociatedLookup&, clang::QualType)': /<>/tools/clang/lib/Sema/SemaLookup.cpp:2561:42: warning: this statement may fall through [-Wimplicit-fallthrough=] Queue.push_back(Arg.getTypePtr()); ^ /<>/tools/clang/lib/Sema/SemaLookup.cpp:2564:5: note: here case Type::FunctionNoProto: { ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.h:18, from /<>/tools/clang/lib/CodeGen/CGObjCRuntime.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 27%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtProfile.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/StmtProfile.cpp.o -c /<>/tools/clang/lib/AST/StmtProfile.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 27%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/DynamicTypeMap.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/DynamicTypeMap.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/DynamicTypeMap.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/StmtProfile.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/SetLongJmpCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 27%] Building CXX object tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy -I/<>/tools/clang/tools/extra/clang-tidy -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp [ 28%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGOpenCLRuntime.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGOpenCLRuntime.cpp.o -c /<>/tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/HeaderGuard.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/HeaderGuard.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/DynamicTypeMap.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/StaticObjectExceptionCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::StmtProfiler; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/StmtProfile.cpp:75:20: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::StmtProfiler; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/StmtProfile.cpp:75:20: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/StmtProfile.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/StmtProfile.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp:19: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/StmtProfile.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::StmtProfiler; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/StmtProfile.cpp:75:20: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::StmtProfiler; RetTy = void; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/AST/StmtProfile.cpp:75:20: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/tools/clang/lib/AST/StmtProfile.cpp:95:6: warning: 'void {anonymous}::StmtProfiler::VisitSwitchCase(const clang::SwitchCase*)' defined but not used [-Wunused-function] void StmtProfiler::VisitSwitchCase(const SwitchCase *S) { ^~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenCLRuntime.h:19, from /<>/tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/DynamicTypeMap.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/DynamicTypeMap.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/DynamicTypeMap.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../utils/HeaderGuard.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/HeaderGuardCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp:19: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp:19: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 28%] Building CXX object tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm -I/<>/tools/clang/tools/extra/clang-tidy/llvm -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.cpp [ 28%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/StmtViz.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/StmtViz.cpp.o -c /<>/tools/clang/lib/AST/StmtViz.cpp [ 28%] Building CXX object tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 28%] Building CXX object tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm -I/<>/tools/clang/tools/extra/clang-tidy/llvm -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/llvm/LLVMTidyModule.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:18, from /<>/tools/clang/lib/AST/StmtViz.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/lib/AST/StmtViz.cpp:15: /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:57:47: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] typedef llvm::df_iterator nodes_iterator; ^ In file included from /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:19, from /<>/tools/clang/lib/AST/StmtViz.cpp:15: /<>/include/llvm/ADT/DepthFirstIterator.h: In instantiation of 'class llvm::df_iterator': /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:71:59: required from here /<>/include/llvm/ADT/DepthFirstIterator.h:69:59: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType' {aka 'const clang::Stmt'} [-Wignored-attributes] typename GT::NodeType, ptrdiff_t> super; ^~~~~ /<>/include/llvm/ADT/DepthFirstIterator.h:69:59: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:69:59: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType&' {aka 'const clang::Stmt&'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:73:42: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] typedef PointerIntPair PointerIntTy; ^~~~~~~~~~~~ /<>/include/llvm/ADT/DepthFirstIterator.h:73:42: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:73:42: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:73:42: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:78:51: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] std::vector> VisitStack; ^~~~~~~~~~ /<>/include/llvm/ADT/DepthFirstIterator.h:78:51: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:78:51: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:78:51: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:78:51: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:78:51: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:78:51: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:78:51: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:130:35: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType' {aka 'const clang::Stmt'} [-Wignored-attributes] typedef typename super::pointer pointer; ^~~~~~~ /<>/include/llvm/ADT/DepthFirstIterator.h:130:35: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/ADT/DepthFirstIterator.h:130:35: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType&' {aka 'const clang::Stmt&'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenCLRuntime.h:19, from /<>/tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenCLRuntime.h:19, from /<>/tools/clang/lib/CodeGen/CGOpenCLRuntime.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/ADT/DepthFirstIterator.h: In instantiation of 'llvm::df_iterator llvm::df_begin(const T&) [with T = const clang::Stmt*; typename llvm::GraphTraits::NodeType = const clang::Stmt]': /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:72:22: required from here /<>/include/llvm/ADT/DepthFirstIterator.h:202:31: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] return df_iterator::begin(G); ~~~~~~~~~~~~~~~~~~~~~^~~ /<>/include/llvm/ADT/DepthFirstIterator.h: In instantiation of 'llvm::df_iterator llvm::df_end(const T&) [with T = const clang::Stmt*; typename llvm::GraphTraits::NodeType = const clang::Stmt]': /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:76:20: required from here /<>/include/llvm/ADT/DepthFirstIterator.h:207:29: warning: ignoring attributes on template argument 'llvm::GraphTraits::NodeType*' {aka 'const clang::Stmt*'} [-Wignored-attributes] return df_iterator::end(G); ~~~~~~~~~~~~~~~~~~~^~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:18, from /<>/tools/clang/lib/AST/StmtViz.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:18, from /<>/tools/clang/lib/AST/StmtViz.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/include/clang/AST/Stmt.h:17, from /<>/tools/clang/include/clang/AST/StmtGraphTraits.h:18, from /<>/tools/clang/lib/AST/StmtViz.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/LLVMTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 28%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/TemplateBase.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/TemplateBase.cpp.o -c /<>/tools/clang/lib/AST/TemplateBase.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 28%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/Environment.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/Environment.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/Environment.cpp [ 28%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGOpenMPRuntime.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGOpenMPRuntime.cpp.o -c /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp [ 28%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaObjCProperty.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaObjCProperty.cpp.o -c /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/TemplateName.h:17, from /<>/tools/clang/include/clang/AST/TemplateBase.h:18, from /<>/tools/clang/lib/AST/TemplateBase.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/Environment.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/FoldingSet.h:19, from /<>/tools/clang/include/clang/AST/TemplateName.h:18, from /<>/tools/clang/include/clang/AST/TemplateBase.h:18, from /<>/tools/clang/lib/AST/TemplateBase.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/TemplateName.h:17, from /<>/tools/clang/include/clang/AST/TemplateBase.h:18, from /<>/tools/clang/lib/AST/TemplateBase.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 28%] Building CXX object tools/clang/tools/extra/clang-tidy/CMakeFiles/clangTidy.dir/ClangTidyOptions.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy -I/<>/tools/clang/tools/extra/clang-tidy -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidy.dir/ClangTidyOptions.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/Environment.cpp:98:46: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/LLVMTidyModule.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/LLVMTidyModule.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/Environment.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/Environment.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/Environment.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModuleRegistry.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp:11: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp: In member function 'void clang::Sema::AtomicPropertySetterGetterRules(clang::ObjCImplDecl*, clang::ObjCInterfaceDecl*)': /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp:1898:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for (const auto *Ext : IDecl->known_extensions()) ^~~ /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp:1902:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' for (ObjCContainerDecl::PropertyMap::iterator I = PM.begin(), E = PM.end(); ^~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/IncludeOrderCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/cert/ThrownExceptionTypeCheck.cpp:34:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXThrowExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXThrowExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXThrowExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXThrowExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CapturedStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:2891:50: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CapturedStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:2891:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaObjCProperty.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPExecutableDirective; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:4147:45: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::LambdaExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:4180:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/LLVMTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGCleanup.h:376:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:2776:55: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::OMPTargetDirective; Y = const clang::Stmt*]': /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:4144:53: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 28%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/TemplateName.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/TemplateName.cpp.o -c /<>/tools/clang/lib/AST/TemplateName.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGCXXABI.h:18, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::OMPExecutableDirective; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::OMPExecutableDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPExecutableDirective*]' /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:4169:75: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::LambdaExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::LambdaExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::LambdaExpr*]' /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:4180:39: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/TemplateName.h:17, from /<>/tools/clang/lib/AST/TemplateName.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 28%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGRecordLayoutBuilder.cpp.o -c /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp [ 28%] Building CXX object tools/clang/tools/extra/clang-tidy/llvm/CMakeFiles/clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm -I/<>/tools/clang/tools/extra/clang-tidy/llvm -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/ADT/FoldingSet.h:19, from /<>/tools/clang/include/clang/AST/TemplateName.h:18, from /<>/tools/clang/lib/AST/TemplateName.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/TemplateName.h:17, from /<>/tools/clang/lib/AST/TemplateName.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 28%] Building CXX object tools/clang/tools/extra/clang-tidy/cert/CMakeFiles/clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/tools/extra/clang-tidy/cert -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.cpp [ 28%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/lib/CodeGen/CGRecordLayout.h:14, from /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 28%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/Type.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/Type.cpp.o -c /<>/tools/clang/lib/AST/Type.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:22, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModule.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyModuleRegistry.h:13, from /<>/tools/clang/tools/extra/clang-tidy/ClangTidyOptions.cpp:11: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Type.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 28%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o -c /<>/tools/clang/lib/Sema/SemaOpenMP.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:22, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:22, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:22, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Type.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/AST/Type.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/lib/CodeGen/CGRecordLayout.h:13, from /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/lib/CodeGen/CGRecordLayout.h:13, from /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/AST/Type.cpp: In member function 'bool clang::Type::canHaveNullability() const': /<>/tools/clang/lib/AST/Type.cpp:3542:5: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (cast(type.getTypePtr())->getKind()) { ^~~~~~ /<>/tools/clang/lib/AST/Type.cpp:3589:3: note: here case Type::Complex: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/lib/CodeGen/CGRecordLayout.h:13, from /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:14: /usr/include/c++/8/bits/stl_algo.h: In function '_OutputIterator std::__move_merge(_InputIterator, _InputIterator, _InputIterator, _InputIterator, _OutputIterator, _Compare) [with _InputIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >; _OutputIterator = {anonymous}::CGRecordLowering::MemberInfo*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __move_merge(_InputIterator __first1, _InputIterator __last1, ^~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __insertion_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function '_OutputIterator std::__move_merge(_InputIterator, _InputIterator, _InputIterator, _InputIterator, _OutputIterator, _Compare) [with _InputIterator = {anonymous}::CGRecordLowering::MemberInfo*; _OutputIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __move_merge(_InputIterator __first1, _InputIterator __last1, ^~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__merge_sort_with_buffer(_RandomAccessIterator, _RandomAccessIterator, _Pointer, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >; _Pointer = {anonymous}::CGRecordLowering::MemberInfo*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2705:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __merge_sort_with_buffer(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2705:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2695:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__insertion_sort(__first, __first + __chunk_size, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2698:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2674:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __result = std::__move_merge(__first, __first + __step_size, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __first + __step_size, ~~~~~~~~~~~~~~~~~~~~~~ __first + __two_step, ~~~~~~~~~~~~~~~~~~~~~ __result, __comp); ~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2674:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2682:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__move_merge(__first, __first + __step_size, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __first + __step_size, __last, __result, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2682:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2674:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __result = std::__move_merge(__first, __first + __step_size, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __first + __step_size, ~~~~~~~~~~~~~~~~~~~~~~ __first + __two_step, ~~~~~~~~~~~~~~~~~~~~~ __result, __comp); ~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2682:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__move_merge(__first, __first + __step_size, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __first + __step_size, __last, __result, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2682:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2698:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function '_RandomAccessIterator std::_V2::__rotate(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >]': /usr/include/c++/8/bits/stl_algo.h:1328:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __rotate(_RandomAccessIterator __first, ^~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1328:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1328:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__merge_without_buffer(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Compare) [with _BidirectionalIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >; _Distance = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2476:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __merge_without_buffer(_BidirectionalIterator __first, ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2476:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2476:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1443:27: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 return std::__rotate(__first, __middle, __last, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ std::__iterator_category(__first)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2518:34: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__merge_without_buffer(__first, __first_cut, __new_middle, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __len11, __len22, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2520:34: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__merge_without_buffer(__new_middle, __second_cut, __last, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __len1 - __len11, __len2 - __len22, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__inplace_stable_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2761:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __inplace_stable_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2761:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2766:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2770:33: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__inplace_stable_sort(__first, __middle, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2771:33: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__inplace_stable_sort(__middle, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2772:34: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__merge_without_buffer(__first, __middle, __last, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ __middle - __first, ~~~~~~~~~~~~~~~~~~~ __last - __middle, ~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__merge_adaptive(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Pointer, _Distance, _Compare) [with _BidirectionalIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >; _Distance = int; _Pointer = {anonymous}::CGRecordLowering::MemberInfo*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2415:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __merge_adaptive(_BidirectionalIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2415:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2415:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1443:27: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 return std::__rotate(__first, __middle, __last, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ std::__iterator_category(__first)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2463:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__merge_adaptive(__first, __first_cut, __new_middle, __len11, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __len22, __buffer, __buffer_size, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2465:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__merge_adaptive(__new_middle, __second_cut, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __len1 - __len11, ~~~~~~~~~~~~~~~~~ __len2 - __len22, __buffer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ __buffer_size, __comp); ~~~~~~~~~~~~~~~~~~~~~~ [ 28%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngine.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngine.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__stable_sort_adaptive(_RandomAccessIterator, _RandomAccessIterator, _Pointer, _Distance, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >; _Pointer = {anonymous}::CGRecordLowering::MemberInfo*; _Distance = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2732:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 __stable_sort_adaptive(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2732:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2732:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2741:31: note: parameter passing for argument of type 'const __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__stable_sort_adaptive(__first, __middle, __buffer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __buffer_size, __comp); ~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2743:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__stable_sort_adaptive(__middle, __last, __buffer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ __buffer_size, __comp); ~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2748:33: note: parameter passing for argument of type 'const __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__merge_sort_with_buffer(__first, __middle, __buffer, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2749:33: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__merge_sort_with_buffer(__middle, __last, __buffer, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2751:28: note: parameter passing for argument of type 'const __gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__merge_adaptive(__first, __middle, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ _Distance(__middle - __first), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _Distance(__last - __middle), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __buffer, __buffer_size, ~~~~~~~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/llvm/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /usr/bin/make -f tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/build.make tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines /<>/build-llvm /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/depend.internal". Scanning dependencies of target clangTidyCppCoreGuidelinesModule make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/build.make tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/build make[4]: Entering directory '/<>/build-llvm' [ 29%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/lib/CodeGen/CGRecordLayout.h:13, from /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::pair}; _Tp = std::pair; _Alloc = std::allocator >]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cert/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cert/VariadicFunctionDefCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::LocalVarRefChecker; RetTy = bool; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:1168:31: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::LocalVarRefChecker; RetTy = bool; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:1168:31: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/lib/CodeGen/CGRecordLayout.h:13, from /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:14: /usr/include/c++/8/bits/stl_algo.h: In member function 'void {anonymous}::CGRecordLowering::lower(bool)': /usr/include/c++/8/bits/stl_algo.h:5004:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__inplace_stable_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:5006:29: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__stable_sort_adaptive(__first, __last, __buf.begin(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _DistanceType(__buf.size()), __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/lib/CodeGen/CGRecordLayout.h:13, from /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:14: /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/lib/CodeGen/CGRecordLayout.h:13, from /<>/tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:14: /usr/include/c++/8/bits/stl_algo.h:5004:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__inplace_stable_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:5006:29: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator<{anonymous}::CGRecordLowering::MemberInfo*, std::vector<{anonymous}::CGRecordLowering::MemberInfo> >' changed in GCC 7.1 std::__stable_sort_adaptive(__first, __last, __buf.begin(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _DistanceType(__buf.size()), __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 29%] Linking CXX static library ../../../../../lib/libclangTidy.a cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy && /usr/bin/cmake -P CMakeFiles/clangTidy.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidy.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../lib/libclangTidy.a CMakeFiles/clangTidy.dir/ClangTidy.cpp.o CMakeFiles/clangTidy.dir/ClangTidyModule.cpp.o CMakeFiles/clangTidy.dir/ClangTidyDiagnosticConsumer.cpp.o CMakeFiles/clangTidy.dir/ClangTidyOptions.cpp.o /usr/bin/ranlib ../../../../../lib/libclangTidy.a In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:45:61: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::LocalVarRefChecker; RetTy = bool; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:1168:31: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::UnaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::UnaryOperator*]' /<>/tools/clang/include/clang/AST/StmtVisitor.h:82:65: required from 'RetTy clang::StmtVisitorBase::Visit(typename Ptr::type) [with Ptr = clang::make_const_ptr; ImplClass = {anonymous}::LocalVarRefChecker; RetTy = bool; typename Ptr::type = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:1168:31: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/Basic/PartialDiagnostic.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:18, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = clang::VarDecl*; ValueT = clang::Expr*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = clang::VarDecl*; ValueT = clang::Expr*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:589:7: required from 'llvm::DenseMap& llvm::DenseMap::operator=(const llvm::DenseMap&) [with KeyT = clang::VarDecl*; ValueT = clang::Expr*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:2559:63: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = clang::ObjCDictionaryElement]': /<>/tools/clang/lib/Sema/TreeTransform.h:10688:27: required from 'clang::ExprResult clang::TreeTransform::TransformObjCDictionaryLiteral(clang::ObjCDictionaryLiteral*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:609:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:3249:49: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct clang::ObjCDictionaryElement' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/lib/Sema/TreeTransform.h:23, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/tools/clang/include/clang/AST/ExprObjC.h:212:8: note: 'struct clang::ObjCDictionaryElement' declared here struct ObjCDictionaryElement { ^~~~~~~~~~~~~~~~~~~~~ make[4]: Leaving directory '/<>/build-llvm' [ 29%] Built target clangTidy [ 29%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/TreeTransform.h:11608:14: required from 'clang::StmtResult clang::TreeTransform::TransformCapturedStmt(clang::CapturedStmt*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::StmtResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:73:1: required from 'clang::StmtResult clang::TreeTransform::TransformStmt(clang::Stmt*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::StmtResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/TreeTransform.h:11070:14: required from 'clang::ExprResult clang::TreeTransform::TransformBlockExpr(clang::BlockExpr*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:183:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:3249:49: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/Basic/PartialDiagnostic.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:18, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::SmallDenseMap, 8, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo>; DerivedT = llvm::SmallDenseMap, 8, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo>; KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]': /<>/include/llvm/ADT/DenseMap.h:835:5: required from 'void llvm::SmallDenseMap::copyFrom(const llvm::SmallDenseMap&) [with KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; unsigned int InlineBuckets = 8; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /<>/include/llvm/ADT/DenseMap.h:722:5: required from 'llvm::SmallDenseMap::SmallDenseMap(const llvm::SmallDenseMap&) [with KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; unsigned int InlineBuckets = 8; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /<>/tools/clang/include/clang/Sema/ScopeInfo.h:306:3: required from 'clang::ExprResult clang::TreeTransform::TransformLambdaExpr(clang::LambdaExpr*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:549:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:3249:49: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair >' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/include/clang/Sema/ScopeInfo.h:382:3: required from 'clang::ExprResult clang::TreeTransform::TransformLambdaExpr(clang::LambdaExpr*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:549:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:3249:49: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::SmallDenseMap; DerivedT = llvm::SmallDenseMap; KeyT = clang::VarDecl*; ValueT = {anonymous}::DSAStackTy::DSAInfo; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:835:5: required from 'void llvm::SmallDenseMap::copyFrom(const llvm::SmallDenseMap&) [with KeyT = clang::VarDecl*; ValueT = {anonymous}::DSAStackTy::DSAInfo; unsigned int InlineBuckets = 64; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:722:5: required from 'llvm::SmallDenseMap::SmallDenseMap(const llvm::SmallDenseMap&) [with KeyT = clang::VarDecl*; ValueT = {anonymous}::DSAStackTy::DSAInfo; unsigned int InlineBuckets = 64; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:97:10: required from 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = {anonymous}::DSAStackTy::SharingMapTy; _Args = {const {anonymous}::DSAStackTy::SharingMapTy&}]' /usr/include/c++/8/bits/stl_uninitialized.h:150:18: required from 'static void std::__uninitialized_fill<_TrivialValueType>::__uninit_fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = {anonymous}::DSAStackTy::SharingMapTy*; _Tp = {anonymous}::DSAStackTy::SharingMapTy; bool _TrivialValueType = false]' /usr/include/c++/8/bits/stl_uninitialized.h:194:15: required from 'void std::uninitialized_fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = {anonymous}::DSAStackTy::SharingMapTy*; _Tp = {anonymous}::DSAStackTy::SharingMapTy]' /<>/include/llvm/ADT/SmallVector.h:454:28: required from 'void llvm::SmallVectorImpl::assign(llvm::SmallVectorImpl::size_type, const T&) [with T = {anonymous}::DSAStackTy::SharingMapTy; llvm::SmallVectorImpl::size_type = unsigned int]' /<>/include/llvm/ADT/SmallVector.h:877:5: required from 'llvm::SmallVector::SmallVector(size_t, const T&) [with T = {anonymous}::DSAStackTy::SharingMapTy; unsigned int N = 64; size_t = unsigned int]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:150:29: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::SmallDenseMap; DerivedT = llvm::SmallDenseMap; KeyT = clang::VarDecl*; ValueT = clang::DeclRefExpr*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:835:5: required from 'void llvm::SmallDenseMap::copyFrom(const llvm::SmallDenseMap&) [with KeyT = clang::VarDecl*; ValueT = clang::DeclRefExpr*; unsigned int InlineBuckets = 64; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:722:5: required from 'llvm::SmallDenseMap::SmallDenseMap(const llvm::SmallDenseMap&) [with KeyT = clang::VarDecl*; ValueT = clang::DeclRefExpr*; unsigned int InlineBuckets = 64; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:97:10: required from 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = {anonymous}::DSAStackTy::SharingMapTy; _Args = {const {anonymous}::DSAStackTy::SharingMapTy&}]' /usr/include/c++/8/bits/stl_uninitialized.h:150:18: required from 'static void std::__uninitialized_fill<_TrivialValueType>::__uninit_fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = {anonymous}::DSAStackTy::SharingMapTy*; _Tp = {anonymous}::DSAStackTy::SharingMapTy; bool _TrivialValueType = false]' /usr/include/c++/8/bits/stl_uninitialized.h:194:15: required from 'void std::uninitialized_fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = {anonymous}::DSAStackTy::SharingMapTy*; _Tp = {anonymous}::DSAStackTy::SharingMapTy]' /<>/include/llvm/ADT/SmallVector.h:454:28: required from 'void llvm::SmallVectorImpl::assign(llvm::SmallVectorImpl::size_type, const T&) [with T = {anonymous}::DSAStackTy::SharingMapTy; llvm::SmallVectorImpl::size_type = unsigned int]' /<>/include/llvm/ADT/SmallVector.h:877:5: required from 'llvm::SmallVector::SmallVector(size_t, const T&) [with T = {anonymous}::DSAStackTy::SharingMapTy; unsigned int N = 64; size_t = unsigned int]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:150:29: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::SmallDenseMap; DerivedT = llvm::SmallDenseMap; KeyT = clang::VarDecl*; ValueT = {anonymous}::DSAStackTy::MapInfo; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:835:5: required from 'void llvm::SmallDenseMap::copyFrom(const llvm::SmallDenseMap&) [with KeyT = clang::VarDecl*; ValueT = {anonymous}::DSAStackTy::MapInfo; unsigned int InlineBuckets = 64; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:722:5: required from 'llvm::SmallDenseMap::SmallDenseMap(const llvm::SmallDenseMap&) [with KeyT = clang::VarDecl*; ValueT = {anonymous}::DSAStackTy::MapInfo; unsigned int InlineBuckets = 64; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:97:10: required from 'void std::_Construct(_T1*, _Args&& ...) [with _T1 = {anonymous}::DSAStackTy::SharingMapTy; _Args = {const {anonymous}::DSAStackTy::SharingMapTy&}]' /usr/include/c++/8/bits/stl_uninitialized.h:150:18: required from 'static void std::__uninitialized_fill<_TrivialValueType>::__uninit_fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = {anonymous}::DSAStackTy::SharingMapTy*; _Tp = {anonymous}::DSAStackTy::SharingMapTy; bool _TrivialValueType = false]' /usr/include/c++/8/bits/stl_uninitialized.h:194:15: required from 'void std::uninitialized_fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = {anonymous}::DSAStackTy::SharingMapTy*; _Tp = {anonymous}::DSAStackTy::SharingMapTy]' /<>/include/llvm/ADT/SmallVector.h:454:28: required from 'void llvm::SmallVectorImpl::assign(llvm::SmallVectorImpl::size_type, const T&) [with T = {anonymous}::DSAStackTy::SharingMapTy; llvm::SmallVectorImpl::size_type = unsigned int]' /<>/include/llvm/ADT/SmallVector.h:877:5: required from 'llvm::SmallVector::SmallVector(size_t, const T&) [with T = {anonymous}::DSAStackTy::SharingMapTy; unsigned int N = 64; size_t = unsigned int]' /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:150:29: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/TypeLoc.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/TypeLoc.cpp.o -c /<>/tools/clang/lib/AST/TypeLoc.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAtSynchronizedStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:856:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:869:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CXXDefaultArgExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:937:72: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CXXDefaultInitExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:939:79: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1006:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::GCCAsmStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1012:41: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MSAsmStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1018:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BlockExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1024:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::LambdaExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1031:43: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1040:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXOperatorCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1072:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1113:53: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXNewExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1121:41: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXDeleteExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1130:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ChooseExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1145:47: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundLiteralExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1159:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::AbstractConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1167:46: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXThisExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1175:43: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1181:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1189:37: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1202:43: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MaterializeTemporaryExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1222:77: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::InitListExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1230:45: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1236:41: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCIvarRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1242:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCForCollectionStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1248:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1254:47: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1267:41: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OffsetOfExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1273:45: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1279:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::StmtExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1285:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1306:53: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::PseudoObjectExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1321:60: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2029:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Linking CXX static library ../../../../../../lib/libclangTidyLLVMModule.a cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm && /usr/bin/cmake -P CMakeFiles/clangTidyLLVMModule.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/llvm && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidyLLVMModule.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../../lib/libclangTidyLLVMModule.a CMakeFiles/clangTidyLLVMModule.dir/HeaderGuardCheck.cpp.o CMakeFiles/clangTidyLLVMModule.dir/IncludeOrderCheck.cpp.o CMakeFiles/clangTidyLLVMModule.dir/LLVMTidyModule.cpp.o CMakeFiles/clangTidyLLVMModule.dir/TwineLocalCheck.cpp.o /usr/bin/ranlib ../../../../../../lib/libclangTidyLLVMModule.a make[4]: Leaving directory '/<>/build-llvm' /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Built target clangTidyLLVMModule [ 30%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaOverload.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaOverload.cpp.o -c /<>/tools/clang/lib/Sema/SemaOverload.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:329:29: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1414:29: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1414:53: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1414:74: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXDefaultArgExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CXXDefaultArgExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXDefaultArgExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:937:72: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXDefaultInitExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CXXDefaultInitExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXDefaultInitExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:939:79: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1534:64: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ImplicitCastExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:2029:73: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGStmt.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGStmt.cpp.o -c /<>/tools/clang/lib/CodeGen/CGStmt.cpp [ 30%] Linking CXX static library ../../../../../../lib/libclangTidyCERTModule.a cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert && /usr/bin/cmake -P CMakeFiles/clangTidyCERTModule.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cert && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidyCERTModule.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../../lib/libclangTidyCERTModule.a CMakeFiles/clangTidyCERTModule.dir/CERTTidyModule.cpp.o CMakeFiles/clangTidyCERTModule.dir/SetLongJmpCheck.cpp.o CMakeFiles/clangTidyCERTModule.dir/StaticObjectExceptionCheck.cpp.o CMakeFiles/clangTidyCERTModule.dir/ThrownExceptionTypeCheck.cpp.o CMakeFiles/clangTidyCERTModule.dir/VariadicFunctionDefCheck.cpp.o /usr/bin/ranlib ../../../../../../lib/libclangTidyCERTModule.a make[4]: Leaving directory '/<>/build-llvm' [ 30%] Built target clangTidyCERTModule /usr/bin/make -f tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/build.make tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/extra/clang-tidy/google /<>/build-llvm /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/depend.internal". Scanning dependencies of target clangTidyGoogleModule make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/build.make tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/build make[4]: Entering directory '/<>/build-llvm' [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/TypeLoc.h:18, from /<>/tools/clang/lib/AST/TypeLoc.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp: In member function 'void clang::ento::ExprEngine::Visit(const clang::Stmt*, clang::ento::ExplodedNode*, clang::ento::ExplodedNodeSet&)': /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1091:7: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp:1094:5: note: here case Stmt::CallExprClass: ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaOverload.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/TypeLoc.h:18, from /<>/tools/clang/lib/AST/TypeLoc.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/TypeLoc.h:18, from /<>/tools/clang/lib/AST/TypeLoc.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGStmt.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/TypePrinter.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/TypePrinter.cpp.o -c /<>/tools/clang/lib/AST/TypePrinter.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaOverload.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaOverload.cpp:10236:50: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaOverload.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaOverload.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaOverload.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaOverload.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaOverload.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Sema/Overload.h:18, from /<>/tools/clang/lib/Sema/SemaOverload.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IndirectGotoStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:132:51: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IndirectGotoStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:132:51: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:134:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::WhileStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:135:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DoStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:136:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:137:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ReturnStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:139:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:141:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::AsmStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:143:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CapturedStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:149:50: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAtTryStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:154:45: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAtThrowStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:163:49: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAtSynchronizedStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:166:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCForCollectionStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:169:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCAutoreleasePoolStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:172:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXTryStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:176:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:179:49: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SEHTryStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:182:39: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPParallelDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:185:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPSimdDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:188:51: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPForDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:191:49: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPForSimdDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:194:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPSectionsDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:197:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPSectionDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:200:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPSingleDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:203:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPMasterDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:206:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPCriticalDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:209:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPParallelForDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:212:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPParallelForSimdDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:215:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPParallelSectionsDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:218:75: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTaskDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:221:51: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTaskyieldDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:224:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPBarrierDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:227:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTaskwaitDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:230:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTaskgroupDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:233:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPFlushDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:236:53: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPOrderedDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:239:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPAtomicDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:242:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTargetDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:245:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTeamsDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:248:53: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPCancellationPointDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:251:77: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPCancelDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:254:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTargetDataDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:257:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTaskLoopDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:260:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPTaskLoopSimdDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:263:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::OMPDistributeDirective; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:266:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:275:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:276:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::LabelStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:277:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::AttributedStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:279:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::GotoStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:280:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BreakStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:281:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ContinueStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:282:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DefaultStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:283:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CaseStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:284:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SEHLeaveStmt; Y = clang::Stmt]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:285:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:321:62: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::SwitchCase; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:1254:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/PrettyPrinter.h:17, from /<>/tools/clang/lib/AST/TypePrinter.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:39:30: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsArrayToPointerDecayCheck.cpp:66:76: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::IndirectGotoStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::IndirectGotoStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:132:51: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] return cast_convert_val::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::IfStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::IfStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:134:59: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::WhileStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::WhileStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:135:65: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::DoStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DoStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:136:59: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ForStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ForStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:137:61: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ReturnStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:139:67: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::SwitchStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:141:67: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::AsmStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::AsmStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:143:61: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ObjCAtTryStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCAtTryStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:154:45: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ObjCAtThrowStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCAtThrowStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:163:49: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ObjCAtSynchronizedStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCAtSynchronizedStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:166:63: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ObjCForCollectionStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCForCollectionStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:169:61: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ObjCAutoreleasePoolStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ObjCAutoreleasePoolStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:172:65: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::CXXTryStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXTryStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:176:39: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXForRangeStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:179:49: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::SEHTryStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::SEHTryStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:182:39: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPParallelDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPParallelDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:185:59: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPSimdDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPSimdDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:188:51: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPForDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPForDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:191:49: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPForSimdDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPForSimdDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:194:57: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPSectionsDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPSectionsDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:197:59: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPSectionDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPSectionDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:200:57: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPSingleDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPSingleDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:203:55: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPMasterDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPMasterDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:206:55: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPCriticalDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPCriticalDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:209:59: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPParallelForDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPParallelForDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:212:65: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPParallelForSimdDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPParallelForSimdDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:215:73: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPParallelSectionsDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPParallelSectionsDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:218:75: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTaskDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTaskDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:221:51: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTaskyieldDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTaskyieldDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:224:61: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPBarrierDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPBarrierDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:227:57: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTaskwaitDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTaskwaitDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:230:59: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTaskgroupDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTaskgroupDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:233:61: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPFlushDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPFlushDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:236:53: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPOrderedDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPOrderedDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:239:57: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPAtomicDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPAtomicDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:242:55: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTargetDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTargetDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:245:55: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTeamsDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTeamsDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:248:53: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPCancellationPointDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPCancellationPointDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:251:77: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPCancelDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPCancelDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:254:55: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTargetDataDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTargetDataDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:257:63: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTaskLoopDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTaskLoopDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:260:59: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPTaskLoopSimdDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPTaskLoopSimdDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:263:67: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::OMPDistributeDirective; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::OMPDistributeDirective&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:266:63: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CompoundStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:275:71: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::DeclStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:276:63: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::LabelStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::LabelStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:277:65: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::AttributedStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::AttributedStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:279:71: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::GotoStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::GotoStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:280:63: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::BreakStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BreakStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:281:65: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::ContinueStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ContinueStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:282:71: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::DefaultStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DefaultStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:283:69: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:284:63: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'typename llvm::cast_retty::ret_type llvm::cast(Y&) [with X = clang::SEHLeaveStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::SEHLeaveStmt&]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:285:71: required from here /<>/include/llvm/Support/Casting.h:232:71: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BreakStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/CodeGen/CGStmt.cpp:1152:36: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGStmt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGStmt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGStmt.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::LabelStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::LabelStmt*]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:321:62: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::SwitchCase; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::SwitchCase; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::SwitchCase*]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:1254:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CompoundStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CompoundStmt*]' /<>/tools/clang/lib/CodeGen/CGStmt.cpp:1273:56: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/ADT/Twine.h:13, from /<>/include/llvm/ADT/Triple.h:13, from /<>/tools/clang/include/clang/Basic/ObjCRuntime.h:19, from /<>/tools/clang/include/clang/Basic/LangOptions.h:20, from /<>/tools/clang/include/clang/AST/PrettyPrinter.h:18, from /<>/tools/clang/lib/AST/TypePrinter.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/PrettyPrinter.h:17, from /<>/tools/clang/lib/AST/TypePrinter.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CStyleCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CStyleCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CStyleCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CStyleCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CStyleCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CStyleCastExpr]' /<>/tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp:59:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGStmt.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const clang::CodeGen::LValue&}; _Tp = clang::CodeGen::LValue; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGStmt.cpp:14: /usr/include/c++/8/bits/stl_vector.h: In member function 'void clang::CodeGen::CodeGenFunction::EmitAsmStmt(const clang::AsmStmt&)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGStmtOpenMP.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGStmtOpenMP.cpp.o -c /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ExprCXX.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/VTableBuilder.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/VTableBuilder.cpp.o -c /<>/tools/clang/lib/AST/VTableBuilder.cpp In file included from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocInventIterator<{anonymous}::{anonymous}::TransformToNewDefs, const clang::TemplateArgument*>; Derived = {anonymous}::{anonymous}::TransformToNewDefs]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocInventIterator<{anonymous}::{anonymous}::TransformToNewDefs, const clang::TemplateArgument*>' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::{anonymous}::TransformToNewDefs, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::ExprResult clang::TreeTransform::TransformSizeOfPackExpr(clang::SizeOfPackExpr*) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs]': /<>/tools/clang/lib/Sema/TreeTransform.h:10407:5: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::{anonymous}::TransformToNewDefs, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, PackArgs.begin()), ^~ In file included from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocContainerIterator; Derived = {anonymous}::{anonymous}::TransformToNewDefs]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::{anonymous}::TransformToNewDefs, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformDependentTemplateSpecializationType(clang::TypeLocBuilder&, clang::DependentTemplateSpecializationTypeLoc, clang::NestedNameSpecifierLoc) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs]': /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 In file included from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = const clang::TemplateArgumentLoc*; Derived = {anonymous}::{anonymous}::TransformToNewDefs]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::{anonymous}::TransformToNewDefs, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformTemplateSpecializationType(clang::TypeLocBuilder&, clang::TemplateSpecializationTypeLoc, clang::TemplateName) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::{anonymous}::TransformToNewDefs, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:18, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.cpp In file included from /<>/tools/clang/lib/Sema/SemaOpenMP.cpp:15: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'clang::TypeSourceInfo* clang::TreeTransform::TransformTSIInObjectScope(clang::TypeLoc, clang::QualType, clang::NamedDecl*, clang::CXXScopeSpec&) [with Derived = {anonymous}::{anonymous}::TransformToNewDefs]': /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/AST/VTableBuilder.cpp:518:60: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp:65:60: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXOperatorCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXOperatorCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXOperatorCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXOperatorCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:18, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:2492:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:2496:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = const std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:778:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(const llvm::SmallVectorImpl&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:901:34: required from 'const llvm::SmallVector& llvm::SmallVector::operator=(const llvm::SmallVector&) [with T = std::pair; unsigned int N = 16]' /<>/tools/clang/lib/AST/VTableBuilder.cpp:443:8: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/AST/BaseSubobject.h:18, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = const clang::CXXRecordDecl*; ValueT = clang::CharUnits; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = const clang::CXXRecordDecl*; ValueT = clang::CharUnits; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:589:7: required from 'llvm::DenseMap& llvm::DenseMap::operator=(const llvm::DenseMap&) [with KeyT = const clang::CXXRecordDecl*; ValueT = clang::CharUnits; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/AST/VTableBuilder.cpp:1659:56: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = clang::BaseSubobject; ValueT = long long unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = clang::BaseSubobject; ValueT = long long unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = clang::BaseSubobject; ValueT = long long unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/AST/VTableBuilder.cpp:2217:34: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:305:23: required from 'static void llvm::SmallVectorTemplateBase::uninitialized_move(It1, It1, It2) [with It1 = std::pair*; It2 = std::pair*; T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:838:3: required from 'llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = std::pair]' /<>/include/llvm/ADT/SmallVector.h:907:36: required from 'llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = std::pair; unsigned int N = 16]' /<>/tools/clang/lib/AST/VTableBuilder.cpp:443:8: required from 'BucketT* llvm::DenseMapBase::InsertIntoBucket(const KeyT&, ValueT&&, BucketT*) [with DerivedT = llvm::DenseMap; KeyT = const clang::CXXRecordDecl*; ValueT = {anonymous}::VCallOffsetMap; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:230:12: required from 'llvm::DenseMapBase::value_type& llvm::DenseMapBase::FindAndConstruct(const KeyT&) [with DerivedT = llvm::DenseMap; KeyT = const clang::CXXRecordDecl*; ValueT = {anonymous}::VCallOffsetMap; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair; llvm::DenseMapBase::value_type = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:234:34: required from 'ValueT& llvm::DenseMapBase::operator[](const KeyT&) [with DerivedT = llvm::DenseMap; KeyT = const clang::CXXRecordDecl*; ValueT = {anonymous}::VCallOffsetMap; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/AST/VTableBuilder.cpp:1280:76: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1918:73: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1940:61: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:22, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/include/clang/AST/NestedNameSpecifier.h:17, from /<>/tools/clang/include/clang/AST/Type.h:20, from /<>/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:17, from /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ExprWithCleanups; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ExprWithCleanups*]' /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:2492:54: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CompoundStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CompoundStmt*]' /<>/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:2496:55: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:117:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:225:76: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:165:42: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const clang::BaseSubobject&}; _Tp = clang::BaseSubobject; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CXXConstructExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXConstructExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp:225:76: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/c++/8/map:60, from /<>/tools/clang/include/clang/Basic/FileManager.h:28, from /<>/tools/clang/include/clang/Basic/Module.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:24, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:20, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:18, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:18, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /usr/include/c++/8/bits/stl_tree.h: In member function 'std::pair std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_get_insert_hint_unique_pos(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, const key_type&) [with _Key = long long unsigned int; _Val = std::pair >; _KeyOfValue = std::_Select1st > >; _Compare = std::less; _Alloc = std::allocator > >]': /usr/include/c++/8/bits/stl_tree.h:2146:5: note: parameter passing for argument of type 'std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator > >'} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_tree.h: In function 'std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple, std::tuple<>}; _Key = clang::MicrosoftVTableContext::MethodVFTableLocation; _Val = std::pair >; _KeyOfValue = std::_Select1st > >; _Compare = std::less; _Alloc = std::allocator > >]': /usr/include/c++/8/bits/stl_tree.h:2411:7: note: parameter passing for argument of type 'std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator > >'} changed in GCC 7.1 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/map:61, from /<>/tools/clang/include/clang/Basic/FileManager.h:28, from /<>/tools/clang/include/clang/Basic/Module.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:24, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:20, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:18, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:18, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /usr/include/c++/8/bits/stl_map.h: In member function 'void clang::MicrosoftVTableContext::dumpMethodLocations(const clang::CXXRecordDecl*, const MethodVFTableLocationsTy&, llvm::raw_ostream&)': /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator > >'} changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, /usr/include/c++/8/bits/stl_map.h:499:8: note: parameter passing for argument of type 'std::_Rb_tree >, std::_Select1st > >, std::less, std::allocator > > >::const_iterator' {aka 'std::_Rb_tree_const_iterator > >'} changed in GCC 7.1 __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct, [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsPointerArithmeticCheck.cpp:51:64: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.cpp [ 30%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaPseudoObject.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaPseudoObject.cpp.o -c /<>/tools/clang/lib/Sema/SemaPseudoObject.cpp In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTableBuilder.h:17, from /<>/tools/clang/lib/AST/VTableBuilder.cpp:14: /usr/include/c++/8/bits/stl_vector.h: In function 'void findPathsToSubobject(clang::ASTContext&, const clang::ASTRecordLayout&, const clang::CXXRecordDecl*, clang::CharUnits, clang::BaseSubobject, {anonymous}::FullPathTy&, std::__cxx11::list, llvm::DenseSet > >&)': /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaPseudoObject.cpp:33: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGVTT.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGVTT.cpp.o -c /<>/tools/clang/lib/CodeGen/CGVTT.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp [ 30%] Building CXX object tools/clang/lib/AST/CMakeFiles/clangAST.dir/VTTBuilder.cpp.o cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/AST -I/<>/tools/clang/lib/AST -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangAST.dir/VTTBuilder.cpp.o -c /<>/tools/clang/lib/AST/VTTBuilder.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:178:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:265:68: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/GlobalDecl.h:18, from /<>/tools/clang/lib/CodeGen/CGVTables.h:19, from /<>/tools/clang/lib/CodeGen/CodeGenModule.h:17, from /<>/tools/clang/lib/CodeGen/CGVTT.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXNewExpr; Y = const clang::Stmt*]': /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:624:33: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaPseudoObject.cpp:33: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaPseudoObject.cpp:33: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaPseudoObject.cpp:33: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaPseudoObject.cpp:33: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Expr.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ReturnStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ReturnStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ReturnStmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:178:52: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CXXConstructExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXConstructExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp:265:68: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:17, from /<>/tools/clang/include/clang/AST/CXXInheritance.h:17, from /<>/tools/clang/include/clang/AST/VTTBuilder.h:19, from /<>/tools/clang/lib/AST/VTTBuilder.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CXXConstCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CXXConstCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CXXConstCastExpr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeConstCastCheck.cpp:27:76: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTTBuilder.h:18, from /<>/tools/clang/lib/AST/VTTBuilder.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/include/clang/AST/VTTBuilder.h:18, from /<>/tools/clang/lib/AST/VTTBuilder.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:78:51: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::DeclRefExpr]' /<>/tools/clang/tools/extra/clang-tidy/google/ExplicitMakePairCheck.cpp:48:70: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/include/clang/AST/Stmt.h:17, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/include/clang/AST/Stmt.h:17, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/AST/StmtObjC.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::DeclStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::DeclStmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp:78:51: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.h:17, from /<>/tools/clang/lib/CodeGen/CodeGenModule.h:17, from /<>/tools/clang/lib/CodeGen/CGVTT.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/DenseMapInfo.h:17, from /<>/tools/clang/include/clang/AST/CharUnits.h:17, from /<>/tools/clang/include/clang/AST/BaseSubobject.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.h:17, from /<>/tools/clang/lib/CodeGen/CodeGenModule.h:17, from /<>/tools/clang/lib/CodeGen/CGVTT.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/FunctionSummary.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/FunctionSummary.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/ADT/StringMap.h:159:7: required from 'static llvm::StringMapEntry* llvm::StringMapEntry::Create(llvm::StringRef, AllocatorTy&, InitType&&) [with AllocatorTy = llvm::BumpPtrAllocatorImpl<>; InitType = clang::IdentifierInfo*; ValueTy = clang::IdentifierInfo*]' /<>/include/llvm/ADT/StringMap.h:340:27: required from 'std::pair, bool> llvm::StringMap::insert(std::pair) [with ValueTy = clang::IdentifierInfo*; AllocatorTy = llvm::BumpPtrAllocatorImpl<>]' /<>/tools/clang/include/clang/Basic/IdentifierTable.h:462:66: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/FunctionSummary.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGVTables.cpp.o cd /<>/build-llvm/tools/clang/lib/CodeGen && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/CodeGen -I/<>/tools/clang/lib/CodeGen -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangCodeGen.dir/CGVTables.cpp.o -c /<>/tools/clang/lib/CodeGen/CGVTables.cpp [ 30%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaStmt.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaStmt.cpp.o -c /<>/tools/clang/lib/Sema/SemaStmt.cpp [ 30%] Linking CXX static library ../../../../lib/libclangAST.a cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/cmake -P CMakeFiles/clangAST.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/AST && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangAST.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangAST.a CMakeFiles/clangAST.dir/APValue.cpp.o CMakeFiles/clangAST.dir/ASTConsumer.cpp.o CMakeFiles/clangAST.dir/ASTContext.cpp.o CMakeFiles/clangAST.dir/ASTDiagnostic.cpp.o CMakeFiles/clangAST.dir/ASTDumper.cpp.o CMakeFiles/clangAST.dir/ASTImporter.cpp.o CMakeFiles/clangAST.dir/ASTTypeTraits.cpp.o CMakeFiles/clangAST.dir/AttrImpl.cpp.o CMakeFiles/clangAST.dir/CXXInheritance.cpp.o CMakeFiles/clangAST.dir/Comment.cpp.o CMakeFiles/clangAST.dir/CommentBriefParser.cpp.o CMakeFiles/clangAST.dir/CommentCommandTraits.cpp.o CMakeFiles/clangAST.dir/CommentLexer.cpp.o CMakeFiles/clangAST.dir/CommentParser.cpp.o CMakeFiles/clangAST.dir/CommentSema.cpp.o CMakeFiles/clangAST.dir/Decl.cpp.o CMakeFiles/clangAST.dir/DeclarationName.cpp.o CMakeFiles/clangAST.dir/DeclBase.cpp.o CMakeFiles/clangAST.dir/DeclCXX.cpp.o CMakeFiles/clangAST.dir/DeclFriend.cpp.o CMakeFiles/clangAST.dir/DeclGroup.cpp.o CMakeFiles/clangAST.dir/DeclObjC.cpp.o CMakeFiles/clangAST.dir/DeclOpenMP.cpp.o CMakeFiles/clangAST.dir/DeclPrinter.cpp.o CMakeFiles/clangAST.dir/DeclTemplate.cpp.o CMakeFiles/clangAST.dir/Expr.cpp.o CMakeFiles/clangAST.dir/ExprClassification.cpp.o CMakeFiles/clangAST.dir/ExprConstant.cpp.o CMakeFiles/clangAST.dir/ExprCXX.cpp.o CMakeFiles/clangAST.dir/ExprObjC.cpp.o CMakeFiles/clangAST.dir/ExternalASTSource.cpp.o CMakeFiles/clangAST.dir/InheritViz.cpp.o CMakeFiles/clangAST.dir/ItaniumCXXABI.cpp.o CMakeFiles/clangAST.dir/ItaniumMangle.cpp.o CMakeFiles/clangAST.dir/Mangle.cpp.o CMakeFiles/clangAST.dir/MicrosoftCXXABI.cpp.o CMakeFiles/clangAST.dir/MicrosoftMangle.cpp.o CMakeFiles/clangAST.dir/NestedNameSpecifier.cpp.o CMakeFiles/clangAST.dir/NSAPI.cpp.o CMakeFiles/clangAST.dir/OpenMPClause.cpp.o CMakeFiles/clangAST.dir/ParentMap.cpp.o CMakeFiles/clangAST.dir/RawCommentList.cpp.o CMakeFiles/clangAST.dir/RecordLayout.cpp.o CMakeFiles/clangAST.dir/RecordLayoutBuilder.cpp.o CMakeFiles/clangAST.dir/SelectorLocationsKind.cpp.o CMakeFiles/clangAST.dir/Stmt.cpp.o CMakeFiles/clangAST.dir/StmtCXX.cpp.o CMakeFiles/clangAST.dir/StmtIterator.cpp.o CMakeFiles/clangAST.dir/StmtObjC.cpp.o CMakeFiles/clangAST.dir/StmtOpenMP.cpp.o CMakeFiles/clangAST.dir/StmtPrinter.cpp.o CMakeFiles/clangAST.dir/StmtProfile.cpp.o CMakeFiles/clangAST.dir/StmtViz.cpp.o CMakeFiles/clangAST.dir/TemplateBase.cpp.o CMakeFiles/clangAST.dir/TemplateName.cpp.o CMakeFiles/clangAST.dir/Type.cpp.o CMakeFiles/clangAST.dir/TypeLoc.cpp.o CMakeFiles/clangAST.dir/TypePrinter.cpp.o CMakeFiles/clangAST.dir/VTableBuilder.cpp.o CMakeFiles/clangAST.dir/VTTBuilder.cpp.o [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp /usr/bin/ranlib ../../../../lib/libclangAST.a make[4]: Leaving directory '/<>/build-llvm' [ 30%] Built target clangAST [ 30%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaStmtAsm.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaStmtAsm.cpp.o -c /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CStyleCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CStyleCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CStyleCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CStyleCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CStyleCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CStyleCastExpr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp:41:74: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /usr/bin/make -f tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/build.make tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/depend make[4]: Entering directory '/<>/build-llvm' cd /<>/build-llvm && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tools/clang/tools/extra/clang-tidy/misc /<>/build-llvm /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/DependInfo.cmake --color= Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/DependInfo.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/depend.internal". Dependee "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/depend.internal". Scanning dependencies of target clangTidyMiscModule make[4]: Leaving directory '/<>/build-llvm' /usr/bin/make -f tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/build.make tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/build make[4]: Entering directory '/<>/build-llvm' [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/ArgumentCommentCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/ArgumentCommentCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/AssertSideEffectCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/AssertSideEffectCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Transforms/Utils/Cloning.h:25, from /<>/tools/clang/lib/CodeGen/CGVTables.cpp:25: /<>/include/llvm/IR/ValueMap.h: In member function 'bool llvm::ValueMap::hasMD() const': /<>/include/llvm/IR/ValueMap.h:102:31: error: cannot convert 'const std::unique_ptr >' to 'bool' in return bool hasMD() const { return MDMap; } ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:307:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast_or_null(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/Sema/SemaStmt.cpp:186:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/CBindingWrapping.h:17, from /<>/include/llvm/IR/Use.h:29, from /<>/include/llvm/IR/Value.h:18, from /<>/include/llvm/IR/User.h:25, from /<>/include/llvm/IR/Constant.h:17, from /<>/include/llvm/IR/Metadata.h:24, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /usr/include/c++/8/algorithm:60, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/IR/IRBuilder.h:18, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/IR/Metadata.h:20, from /<>/include/llvm/IR/TrackingMDRef.h:17, from /<>/include/llvm/IR/DebugLoc.h:18, from /<>/include/llvm/IR/Instruction.h:20, from /<>/include/llvm/IR/BasicBlock.h:19, from /<>/include/llvm/IR/IRBuilder.h:21, from /<>/tools/clang/lib/CodeGen/CGBuilder.h:13, from /<>/tools/clang/lib/CodeGen/CodeGenFunction.h:17, from /<>/tools/clang/lib/CodeGen/CGVTables.cpp:14: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = clang::BaseSubobject; ValueT = long long unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = clang::BaseSubobject; ValueT = long long unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:589:7: required from 'llvm::DenseMap& llvm::DenseMap::operator=(const llvm::DenseMap&) [with KeyT = clang::BaseSubobject; ValueT = long long unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/lib/CodeGen/CGVTables.cpp:672:46: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp: In member function 'clang::StmtResult clang::Sema::ActOnGCCAsmStmt(clang::SourceLocation, bool, bool, unsigned int, unsigned int, clang::IdentifierInfo**, clang::MultiExprArg, clang::MultiExprArg, clang::Expr*, clang::MultiExprArg, clang::SourceLocation)': /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp:227:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (RequireCompleteType(OutputExpr->getLocStart(), Exprs[i]->getType(), ^~ /<>/tools/clang/lib/Sema/SemaStmtAsm.cpp:230:5: note: here default: ^~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::LabelStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::LabelStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::LabelStmt*]' /<>/tools/clang/lib/Sema/SemaStmt.cpp:186:61: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/lib/Sema/SemaStmt.cpp:189:43: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] make[4]: *** [tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/build.make:482: tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/CGVTables.cpp.o] Error 1 make[4]: Leaving directory '/<>/build-llvm' make[3]: *** [CMakeFiles/Makefile2:18013: tools/clang/lib/CodeGen/CMakeFiles/clangCodeGen.dir/all] Error 2 make[3]: *** Waiting for unfinished jobs.... [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/Basic/PartialDiagnostic.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:18, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap<{anonymous}::CatchHandlerType, clang::CXXCatchStmt*>; DerivedT = llvm::DenseMap<{anonymous}::CatchHandlerType, clang::CXXCatchStmt*>; KeyT = {anonymous}::CatchHandlerType; ValueT = clang::CXXCatchStmt*; KeyInfoT = llvm::DenseMapInfo<{anonymous}::CatchHandlerType>; BucketT = llvm::detail::DenseMapPair<{anonymous}::CatchHandlerType, clang::CXXCatchStmt*>]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = {anonymous}::CatchHandlerType; ValueT = clang::CXXCatchStmt*; KeyInfoT = llvm::DenseMapInfo<{anonymous}::CatchHandlerType>; BucketT = llvm::detail::DenseMapPair<{anonymous}::CatchHandlerType, clang::CXXCatchStmt*>]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = {anonymous}::CatchHandlerType; ValueT = clang::CXXCatchStmt*; KeyInfoT = llvm::DenseMapInfo<{anonymous}::CatchHandlerType>; BucketT = llvm::detail::DenseMapPair<{anonymous}::CatchHandlerType, clang::CXXCatchStmt*>]' /<>/tools/clang/lib/Sema/SemaStmt.cpp:3557:16: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair<{anonymous}::CatchHandlerType, clang::CXXCatchStmt*>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair<{anonymous}::CatchHandlerType, clang::CXXCatchStmt*>' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GlobalNamesInHeadersCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/LoopWidening.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/LoopWidening.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/misc/ArgumentCommentCheck.cpp:168:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Stmt]' /<>/tools/clang/tools/extra/clang-tidy/misc/AssertSideEffectCheck.cpp:97:63: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaStmtAttr.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaStmtAttr.cpp.o -c /<>/tools/clang/lib/Sema/SemaStmtAttr.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:28:34: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::WhileStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:30:36: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DoStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:32:33: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:21, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/TrailingObjects.h:53, from /<>/tools/clang/include/clang/AST/DeclGroup.h:18, from /<>/tools/clang/include/clang/AST/Stmt.h:17, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/IdentifierTable.h:19, from /<>/tools/clang/include/clang/AST/Stmt.h:20, from /<>/tools/clang/include/clang/Analysis/CFG.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/GoogleTidyModule.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAttr.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/MemRegion.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/MemRegion.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXReinterpretCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXReinterpretCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXReinterpretCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CXXReinterpretCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CXXReinterpretCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CXXReinterpretCastExpr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeReinterpretCastCheck.cpp:29:60: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GoogleTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/AssignOperatorSignatureCheck.cpp.o /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/AssignOperatorSignatureCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXStaticCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXStaticCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXStaticCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CXXStaticCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CXXStaticCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CXXStaticCastExpr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp:29:77: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp:16: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAttr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAttr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAttr.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmtAttr.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {const llvm::APSInt&}; _Tp = llvm::APSInt; _Alloc = std::allocator]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector::iterator' {aka '__gnu_cxx::__normal_iterator >'} changed in GCC 7.1 vector<_Tp, _Alloc>:: ^~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::_M_realloc_insert(std::vector<_Tp, _Alloc>::iterator, _Args&& ...) [with _Args = {std::pair}; _Tp = std::pair; _Alloc = std::allocator >]': /usr/include/c++/8/bits/vector.tcc:413:7: note: parameter passing for argument of type 'std::vector >::iterator' {aka '__gnu_cxx::__normal_iterator*, std::vector > >'} changed in GCC 7.1 /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp:16: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp:16: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Compare = __gnu_cxx::__ops::_Val_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1821:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __unguarded_linear_insert(_RandomAccessIterator __last, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __insertion_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1840:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 In file included from /usr/include/c++/8/algorithm:61, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/stl_algobase.h: In function '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Tp = std::pair; _Compare = __gnu_cxx::__ops::_Iter_less_val]': /usr/include/c++/8/bits/stl_algobase.h:946:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __lower_bound(_ForwardIterator __first, _ForwardIterator __last, ^~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algobase.h:946:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algobase.h:946:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/stl_algo.h: In function '_ForwardIterator std::__upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Tp = std::pair; _Compare = __gnu_cxx::__ops::_Val_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2039:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __upper_bound(_ForwardIterator __first, _ForwardIterator __last, ^~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2039:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function '_OutputIterator std::__move_merge(_InputIterator, _InputIterator, _InputIterator, _InputIterator, _OutputIterator, _Compare) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _OutputIterator = std::pair*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __move_merge(_InputIterator __first1, _InputIterator __last1, ^~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function '_OutputIterator std::__move_merge(_InputIterator, _InputIterator, _InputIterator, _InputIterator, _OutputIterator, _Compare) [with _InputIterator = std::pair*; _OutputIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2639:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__merge_sort_with_buffer(_RandomAccessIterator, _RandomAccessIterator, _Pointer, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Pointer = std::pair*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2705:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __merge_sort_with_buffer(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2705:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2695:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__insertion_sort(__first, __first + __chunk_size, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2698:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2674:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __result = std::__move_merge(__first, __first + __step_size, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __first + __step_size, ~~~~~~~~~~~~~~~~~~~~~~ __first + __two_step, ~~~~~~~~~~~~~~~~~~~~~ __result, __comp); ~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2674:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2682:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__move_merge(__first, __first + __step_size, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __first + __step_size, __last, __result, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2682:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2674:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __result = std::__move_merge(__first, __first + __step_size, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __first + __step_size, ~~~~~~~~~~~~~~~~~~~~~~ __first + __two_step, ~~~~~~~~~~~~~~~~~~~~~ __result, __comp); ~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2682:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__move_merge(__first, __first + __step_size, ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __first + __step_size, __last, __result, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2682:24: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2698:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/cppcoreguidelines/CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp /usr/include/c++/8/bits/stl_algo.h: In function '_RandomAccessIterator std::_V2::__rotate(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >]': /usr/include/c++/8/bits/stl_algo.h:1328:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __rotate(_RandomAccessIterator __first, ^~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1328:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:1328:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__merge_adaptive(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Pointer, _Distance, _Compare) [with _BidirectionalIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Distance = int; _Pointer = std::pair*; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2415:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __merge_adaptive(_BidirectionalIterator __first, ^~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2415:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2415:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2445:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 = std::__lower_bound(__middle, __last, *__first_cut, ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __gnu_cxx::__ops::__iter_comp_val(__comp)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2454:23: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 = std::__upper_bound(__first, __middle, *__second_cut, ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __gnu_cxx::__ops::__val_comp_iter(__comp)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1443:27: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 return std::__rotate(__first, __middle, __last, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ std::__iterator_category(__first)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2463:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__merge_adaptive(__first, __first_cut, __new_middle, __len11, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __len22, __buffer, __buffer_size, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2465:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__merge_adaptive(__new_middle, __second_cut, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __len1 - __len11, ~~~~~~~~~~~~~~~~~ __len2 - __len22, __buffer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~ __buffer_size, __comp); ~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__stable_sort_adaptive(_RandomAccessIterator, _RandomAccessIterator, _Pointer, _Distance, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Pointer = std::pair*; _Distance = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2732:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __stable_sort_adaptive(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2732:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2732:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2741:31: note: parameter passing for argument of type 'const __gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__stable_sort_adaptive(__first, __middle, __buffer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __buffer_size, __comp); ~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2743:31: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__stable_sort_adaptive(__middle, __last, __buffer, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ __buffer_size, __comp); ~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2748:33: note: parameter passing for argument of type 'const __gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__merge_sort_with_buffer(__first, __middle, __buffer, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2749:33: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__merge_sort_with_buffer(__middle, __last, __buffer, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2751:28: note: parameter passing for argument of type 'const __gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__merge_adaptive(__first, __middle, __last, ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ _Distance(__middle - __first), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _Distance(__last - __middle), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __buffer, __buffer_size, ~~~~~~~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__merge_without_buffer(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Compare) [with _BidirectionalIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Distance = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2476:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __merge_without_buffer(_BidirectionalIterator __first, ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2476:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2476:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2501:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 = std::__lower_bound(__middle, __last, *__first_cut, ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __gnu_cxx::__ops::__iter_comp_val(__comp)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2510:26: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 = std::__upper_bound(__first, __middle, *__second_cut, ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __gnu_cxx::__ops::__val_comp_iter(__comp)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:1443:27: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 return std::__rotate(__first, __middle, __last, ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ std::__iterator_category(__first)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2518:34: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__merge_without_buffer(__first, __first_cut, __new_middle, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __len11, __len22, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2520:34: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__merge_without_buffer(__new_middle, __second_cut, __last, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __len1 - __len11, __len2 - __len22, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h: In function 'void std::__inplace_stable_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /usr/include/c++/8/bits/stl_algo.h:2761:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 __inplace_stable_sort(_RandomAccessIterator __first, ^~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2761:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 /usr/include/c++/8/bits/stl_algo.h:2766:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__insertion_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2770:33: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__inplace_stable_sort(__first, __middle, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2771:33: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__inplace_stable_sort(__middle, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/stl_algo.h:2772:34: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__merge_without_buffer(__first, __middle, __last, ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ __middle - __first, ~~~~~~~~~~~~~~~~~~~ __last - __middle, ~~~~~~~~~~~~~~~~~~ __comp); ~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/BoolPointerImplicitConversionCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/BoolPointerImplicitConversionCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GoogleTidyModule.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GoogleTidyModule.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /usr/include/c++/8/vector:69, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/vector.tcc: In member function 'clang::StmtResult clang::Sema::ActOnFinishSwitchStmt(clang::SourceLocation, clang::Stmt*, clang::Stmt*)': /usr/include/c++/8/bits/vector.tcc:109:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 _M_realloc_insert(end(), std::forward<_Args>(__args)...); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/stl_algo.h:5006:29: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__stable_sort_adaptive(__first, __last, __buf.begin(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _DistanceType(__buf.size()), __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/vector:64, from /<>/include/llvm/ADT/ArrayRef.h:16, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/stl_vector.h:1085:4: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 _M_realloc_insert(end(), __x); ^~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/algorithm:62, from /<>/include/llvm/ADT/StringRef.h:14, from /<>/include/llvm/ADT/StringMap.h:17, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaStmt.cpp:14: /usr/include/c++/8/bits/stl_algo.h:5004:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator*, std::vector > >' changed in GCC 7.1 std::__inplace_stable_sort(__first, __last, __comp); ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/GoogleTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/AssignOperatorSignatureCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/PathDiagnostic.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/PathDiagnostic.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::MemberExpr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeUnionAccessCheck.cpp:27:66: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeVarargCheck.cpp:60:66: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:87:27: required from 'const T* clang::ast_matchers::BoundNodes::getStmtAs(llvm::StringRef) const [with T = clang::IfStmt]' /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.cpp:43:49: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:87:27: required from 'const T* clang::ast_matchers::BoundNodes::getStmtAs(llvm::StringRef) const [with T = clang::DeclRefExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/BoolPointerImplicitConversionCheck.cpp:44:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:721:57: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:755:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:821:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXDeleteExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXDeleteExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXDeleteExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXDeleteExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplate.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaTemplate.cpp.o -c /<>/tools/clang/lib/Sema/SemaTemplate.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CompoundStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CompoundStmt*]' /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:601:56: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::MemberExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::MemberExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:755:54: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::BinaryOperator; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::BinaryOperator*]' /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:759:61: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:321:24: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast_or_null(Y*) [with X = clang::CallExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CallExpr*]' /<>/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:1130:59: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/InaccurateEraseCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/InaccurateEraseCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/InefficientAlgorithmCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/InefficientAlgorithmCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 30%] Linking CXX static library ../../../../../../lib/libclangTidyCppCoreGuidelinesModule.a cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/cmake -P CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/cppcoreguidelines && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/link.txt --verbose=1 In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /usr/bin/ar qc ../../../../../../lib/libclangTidyCppCoreGuidelinesModule.a CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/CppCoreGuidelinesTidyModule.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsArrayToPointerDecayCheck.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsConstantArrayIndexCheck.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProBoundsPointerArithmeticCheck.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeConstCastCheck.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeCstyleCastCheck.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeReinterpretCastCheck.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeStaticCastDowncastCheck.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeUnionAccessCheck.cpp.o CMakeFiles/clangTidyCppCoreGuidelinesModule.dir/ProTypeVarargCheck.cpp.o /usr/bin/ranlib ../../../../../../lib/libclangTidyCppCoreGuidelinesModule.a make[4]: Leaving directory '/<>/build-llvm' [ 30%] Built target clangTidyCppCoreGuidelinesModule [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/MacroParenthesesCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/MacroParenthesesCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/IntegerTypesCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/MacroRepeatedSideEffectsCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/MacroRepeatedSideEffectsCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.cpp [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/MemsetZeroLengthCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/MemsetZeroLengthCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/FileManager.h:19, from /<>/tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = clang::ObjCDictionaryElement]': /<>/tools/clang/lib/Sema/TreeTransform.h:10688:27: required from 'clang::ExprResult clang::TreeTransform::TransformObjCDictionaryLiteral(clang::ObjCDictionaryLiteral*) [with Derived = {anonymous}::CurrentInstantiationRebuilder; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:609:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::CurrentInstantiationRebuilder; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaTemplate.cpp:8338:35: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct clang::ObjCDictionaryElement' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/lib/Sema/TreeTransform.h:23, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/tools/clang/include/clang/AST/ExprObjC.h:212:8: note: 'struct clang::ObjCDictionaryElement' declared here struct ObjCDictionaryElement { ^~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/include/llvm/ADT/SmallString.h:17, from /<>/include/llvm/Support/FileSystem.h:31, from /<>/tools/clang/include/clang/Basic/VirtualFileSystem.h:20, from /<>/tools/clang/include/clang/Basic/FileManager.h:20, from /<>/tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/include/llvm/Support/Allocator.h:427:71: required from 'void* operator new(size_t, llvm::BumpPtrAllocatorImpl&) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/Lex/Preprocessor.h:407:58: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/bits/stl_algobase.h:64, from /usr/include/c++/8/bits/char_traits.h:39, from /usr/include/c++/8/string:40, from /<>/tools/clang/include/clang/Basic/FileSystemOptions.h:18, from /<>/tools/clang/include/clang/Basic/FileManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/TreeTransform.h:11608:14: required from 'clang::StmtResult clang::TreeTransform::TransformCapturedStmt(clang::CapturedStmt*) [with Derived = {anonymous}::CurrentInstantiationRebuilder; clang::StmtResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:73:1: required from 'clang::StmtResult clang::TreeTransform::TransformStmt(clang::Stmt*) [with Derived = {anonymous}::CurrentInstantiationRebuilder; clang::StmtResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/TreeTransform.h:11070:14: required from 'clang::ExprResult clang::TreeTransform::TransformBlockExpr(clang::BlockExpr*) [with Derived = {anonymous}::CurrentInstantiationRebuilder; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:183:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::CurrentInstantiationRebuilder; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaTemplate.cpp:8338:35: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TreeTransform.h:17, from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Sema/SemaTemplate.cpp: In member function 'bool clang::Sema::CheckTemplateTypeArgument(clang::TemplateTypeParmDecl*, clang::TemplateArgumentLoc&, llvm::SmallVectorImpl&)': /<>/tools/clang/lib/Sema/SemaTemplate.cpp:3148:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Sema/SemaTemplate.cpp:3151:3: note: here default: { ^~~~~~~ /<>/tools/clang/lib/Sema/SemaTemplate.cpp: In member function 'bool clang::Sema::CheckSpecializationInstantiationRedecl(clang::SourceLocation, clang::TemplateSpecializationKind, clang::NamedDecl*, clang::TemplateSpecializationKind, clang::SourceLocation, bool&)': /<>/tools/clang/lib/Sema/SemaTemplate.cpp:6660:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Sema/SemaTemplate.cpp:6662:3: note: here case TSK_ExplicitInstantiationDeclaration: ^~~~ /<>/tools/clang/lib/Sema/SemaTemplate.cpp:6663:5: warning: this statement may fall through [-Wimplicit-fallthrough=] switch (PrevTSK) { ^~~~~~ /<>/tools/clang/lib/Sema/SemaTemplate.cpp:6701:3: note: here case TSK_ExplicitInstantiationDefinition: ^~~~ /<>/tools/clang/lib/Sema/SemaTemplate.cpp: In member function 'clang::QualType clang::Sema::CheckTypenameType(clang::ElaboratedTypeKeyword, clang::SourceLocation, clang::NestedNameSpecifierLoc, const clang::IdentifierInfo&, clang::SourceLocation)': /<>/tools/clang/lib/Sema/SemaTemplate.cpp:8208:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/Sema/SemaTemplate.cpp:8213:3: note: here case LookupResult::NotFoundInCurrentInstantiation: ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/InaccurateEraseCheck.cpp:48:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/misc/InefficientAlgorithmCheck.cpp:110:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/ProgramState.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/ProgramState.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroParenthesesCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/MiscTidyModule.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/MiscTidyModule.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/MiscTidyModule.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/ProgramState.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/MemsetZeroLengthCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MacroRepeatedSideEffectsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplateDeduction.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaTemplateDeduction.cpp.o -c /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MiscTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/include/clang/Sema/TemplateDeduction.h:16, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/MoveConstantArgumentCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/MoveConstantArgumentCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/OverloadedUnaryAndCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/MoveConstructorInitCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/MoveConstructorInitCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MiscTidyModule.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MiscTidyModule.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/include/clang/Sema/TemplateDeduction.h:16, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/include/clang/Sema/TemplateDeduction.h:16, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/include/clang/Sema/TemplateDeduction.h:16, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/include/clang/Sema/TemplateDeduction.h:16, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/include/clang/Sema/TemplateDeduction.h:16, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = clang::ObjCDictionaryElement]': /<>/tools/clang/lib/Sema/TreeTransform.h:10688:27: required from 'clang::ExprResult clang::TreeTransform::TransformObjCDictionaryLiteral(clang::ObjCDictionaryLiteral*) [with Derived = {anonymous}::SubstituteAutoTransform; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:609:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::SubstituteAutoTransform; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/TreeTransform.h:4324:54: required from 'clang::QualType clang::TreeTransform::TransformConstantArrayType(clang::TypeLocBuilder&, clang::ConstantArrayTypeLoc) [with Derived = {anonymous}::SubstituteAutoTransform]' /<>/tools/clang/include/clang/AST/TypeNodes.def:71:1: required from 'clang::QualType clang::TreeTransform::TransformType(clang::TypeLocBuilder&, clang::TypeLoc) [with Derived = {anonymous}::SubstituteAutoTransform]' /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:3984:35: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct clang::ObjCDictionaryElement' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/lib/Sema/TreeTransform.h:23, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:14: /<>/tools/clang/include/clang/AST/ExprObjC.h:212:8: note: 'struct clang::ObjCDictionaryElement' declared here struct ObjCDictionaryElement { ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/tools/clang/include/clang/AST/ASTVector.h:23, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/include/clang/Sema/TemplateDeduction.h:16, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/TreeTransform.h:11608:14: required from 'clang::StmtResult clang::TreeTransform::TransformCapturedStmt(clang::CapturedStmt*) [with Derived = {anonymous}::SubstituteAutoTransform; clang::StmtResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:73:1: required from 'clang::StmtResult clang::TreeTransform::TransformStmt(clang::Stmt*) [with Derived = {anonymous}::SubstituteAutoTransform; clang::StmtResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/TreeTransform.h:11070:14: required from 'clang::ExprResult clang::TreeTransform::TransformBlockExpr(clang::BlockExpr*) [with Derived = {anonymous}::SubstituteAutoTransform; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:183:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::SubstituteAutoTransform; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/TreeTransform.h:4324:54: required from 'clang::QualType clang::TreeTransform::TransformConstantArrayType(clang::TypeLocBuilder&, clang::ConstantArrayTypeLoc) [with Derived = {anonymous}::SubstituteAutoTransform]' /<>/tools/clang/include/clang/AST/TypeNodes.def:71:1: required from 'clang::QualType clang::TreeTransform::TransformType(clang::TypeLocBuilder&, clang::TypeLoc) [with Derived = {anonymous}::SubstituteAutoTransform]' /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:3984:35: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/ASTVector.h:21, from /<>/tools/clang/include/clang/AST/ASTUnresolvedSet.h:18, from /<>/tools/clang/include/clang/AST/DeclCXX.h:19, from /<>/tools/clang/include/clang/AST/DeclTemplate.h:18, from /<>/tools/clang/include/clang/Sema/TemplateDeduction.h:16, from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp: In function 'clang::Sema::TemplateDeductionResult DeduceTemplateArgumentsByTypeMatch(clang::Sema&, clang::TemplateParameterList*, clang::QualType, clang::QualType, clang::sema::TemplateDeductionInfo&, llvm::SmallVectorImpl&, unsigned int, bool)': /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:1409:41: warning: this statement may fall through [-Wimplicit-fallthrough=] ->getInjectedSpecializationType(); ^ /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:1420:5: note: here case Type::TemplateSpecialization: { ^~~~ In file included from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'clang::TypeSourceInfo* clang::TreeTransform::TransformTSIInObjectScope(clang::TypeLoc, clang::QualType, clang::NamedDecl*, clang::CXXScopeSpec&) [with Derived = {anonymous}::CurrentInstantiationRebuilder]': /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/StringReferenceMemberCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/StringReferenceMemberCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp: In function 'void MarkUsedTemplateParameters(clang::ASTContext&, clang::QualType, bool, unsigned int, llvm::SmallBitVector&)': /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:4792:31: warning: this statement may fall through [-Wimplicit-fallthrough=] MarkUsedTemplateParameters(Ctx, ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ cast(T)->getSizeExpr(), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OnlyDeduced, Depth, Used); ~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:4797:3: note: here case Type::ConstantArray: ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MiscTidyModule.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocInventIterator<{anonymous}::CurrentInstantiationRebuilder, const clang::TemplateArgument*>; Derived = {anonymous}::CurrentInstantiationRebuilder]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocInventIterator<{anonymous}::CurrentInstantiationRebuilder, const clang::TemplateArgument*>' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::CurrentInstantiationRebuilder, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::ExprResult clang::TreeTransform::TransformSizeOfPackExpr(clang::SizeOfPackExpr*) [with Derived = {anonymous}::CurrentInstantiationRebuilder]': /<>/tools/clang/lib/Sema/TreeTransform.h:10407:5: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::CurrentInstantiationRebuilder, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, PackArgs.begin()), ^~ In file included from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocContainerIterator; Derived = {anonymous}::CurrentInstantiationRebuilder]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::CurrentInstantiationRebuilder, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformDependentTemplateSpecializationType(clang::TypeLocBuilder&, clang::DependentTemplateSpecializationTypeLoc, clang::NestedNameSpecifierLoc) [with Derived = {anonymous}::CurrentInstantiationRebuilder]': /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 In file included from /<>/tools/clang/lib/Sema/SemaTemplate.cpp:12: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = const clang::TemplateArgumentLoc*; Derived = {anonymous}::CurrentInstantiationRebuilder]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::CurrentInstantiationRebuilder, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformTemplateSpecializationType(clang::TypeLocBuilder&, clang::TemplateSpecializationTypeLoc, clang::TemplateName) [with Derived = {anonymous}::CurrentInstantiationRebuilder]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::CurrentInstantiationRebuilder, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstantArgumentCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/NoexceptMoveConstructorCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/NoexceptMoveConstructorCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::DeclRefExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/MoveConstructorInitCheck.cpp:106:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/RegionStore.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/RegionStore.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/StringReferenceMemberCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 30%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/NonCopyableObjects.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/NonCopyableObjects.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.cpp In file included from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'clang::TypeSourceInfo* clang::TreeTransform::TransformTSIInObjectScope(clang::TypeLoc, clang::QualType, clang::NamedDecl*, clang::CXXScopeSpec&) [with Derived = {anonymous}::SubstituteAutoTransform]': /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 In file included from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocInventIterator<{anonymous}::SubstituteAutoTransform, const clang::TemplateArgument*>; Derived = {anonymous}::SubstituteAutoTransform]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocInventIterator<{anonymous}::SubstituteAutoTransform, const clang::TemplateArgument*>' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::SubstituteAutoTransform, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::ExprResult clang::TreeTransform::TransformSizeOfPackExpr(clang::SizeOfPackExpr*) [with Derived = {anonymous}::SubstituteAutoTransform]': /<>/tools/clang/lib/Sema/TreeTransform.h:10407:5: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::SubstituteAutoTransform, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, PackArgs.begin()), ^~ In file included from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocContainerIterator; Derived = {anonymous}::SubstituteAutoTransform]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::SubstituteAutoTransform, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformDependentTemplateSpecializationType(clang::TypeLocBuilder&, clang::DependentTemplateSpecializationTypeLoc, clang::NestedNameSpecifierLoc) [with Derived = {anonymous}::SubstituteAutoTransform]': /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 In file included from /<>/tools/clang/lib/Sema/SemaTemplateDeduction.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = const clang::TemplateArgumentLoc*; Derived = {anonymous}::SubstituteAutoTransform]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::SubstituteAutoTransform, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformTemplateSpecializationType(clang::TypeLocBuilder&, clang::TemplateSpecializationTypeLoc, clang::TemplateName) [with Derived = {anonymous}::SubstituteAutoTransform]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::SubstituteAutoTransform, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/SizeofContainerCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/SizeofContainerCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/StaticAssertCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/StaticAssertCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NoexceptMoveConstructorCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair<{anonymous}::BindingKey, clang::ento::SVal>]': /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:836:30: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<{anonymous}::BindingKey, clang::ento::SVal>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair<{anonymous}::BindingKey, clang::ento::SVal>' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:17: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp:136:23: warning: 'void {anonymous}::BindingKey::dump() const' defined but not used [-Wunused-function] LLVM_DUMP_METHOD void BindingKey::dump() const { llvm::errs() << *this; } ^~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/StringIntegerAssignmentCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/StringIntegerAssignmentCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/SwappedArgumentsCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/SwappedArgumentsCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/misc/NonCopyableObjects.cpp:81:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 32%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplateInstantiate.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaTemplateInstantiate.cpp.o -c /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 32%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/SValBuilder.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/SValBuilder.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/SizeofContainerCheck.cpp:39:64: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Stmt]' /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:76:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:77:67: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::StringLiteral; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::StringLiteral; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::StringLiteral; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::StringLiteral]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::StringLiteral]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::StringLiteral]' /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:79:76: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::BinaryOperator]' /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:81:62: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CStyleCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CStyleCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CStyleCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CStyleCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CStyleCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CStyleCastExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp:82:75: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IntegerLiteral; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IntegerLiteral; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IntegerLiteral]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IntegerLiteral]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXBoolLiteralExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXBoolLiteralExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXBoolLiteralExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXBoolLiteralExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/TodoCommentCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/misc/StringIntegerAssignmentCheck.cpp:40:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXOperatorCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXOperatorCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXOperatorCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXOperatorCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp: In member function 'llvm::Optional clang::ento::SValBuilder::getConstantVal(const clang::Expr*)': /<>/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:306:5: warning: this statement may fall through [-Wimplicit-fallthrough=] } ^ /<>/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:311:3: note: here default: { ^~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = clang::ObjCDictionaryElement]': /<>/tools/clang/lib/Sema/TreeTransform.h:10688:27: required from 'clang::ExprResult clang::TreeTransform::TransformObjCDictionaryLiteral(clang::ObjCDictionaryLiteral*) [with Derived = {anonymous}::TemplateInstantiator; clang::ExprResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:609:1: required from 'clang::ExprResult clang::TreeTransform::TransformExpr(clang::Expr*) [with Derived = {anonymous}::TemplateInstantiator; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:1108:68: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct clang::ObjCDictionaryElement' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Sema/Sema.h:21, from /<>/tools/clang/include/clang/Sema/Lookup.h:19, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:19, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /<>/tools/clang/include/clang/AST/ExprObjC.h:212:8: note: 'struct clang::ObjCDictionaryElement' declared here struct ObjCDictionaryElement { ^~~~~~~~~~~~~~~~~~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/TreeTransform.h:11608:14: required from 'clang::StmtResult clang::TreeTransform::TransformCapturedStmt(clang::CapturedStmt*) [with Derived = {anonymous}::TemplateInstantiator; clang::StmtResult = clang::ActionResult]' /<>/build-llvm/tools/clang/include/clang/AST/StmtNodes.inc:73:1: required from 'clang::StmtResult clang::TreeTransform::TransformStmt(clang::Stmt*) [with Derived = {anonymous}::TemplateInstantiator; clang::StmtResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:2644:38: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/SwappedArgumentsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/Diagnostic.h:23, from /<>/tools/clang/include/clang/Basic/PartialDiagnostic.h:19, from /<>/tools/clang/include/clang/AST/DeclarationName.h:17, from /<>/tools/clang/include/clang/AST/DeclBase.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:18, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:13: /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::SmallDenseMap, 8, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo>; DerivedT = llvm::SmallDenseMap, 8, clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo>; KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]': /<>/include/llvm/ADT/DenseMap.h:835:5: required from 'void llvm::SmallDenseMap::copyFrom(const llvm::SmallDenseMap&) [with KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; unsigned int InlineBuckets = 8; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /<>/include/llvm/ADT/DenseMap.h:722:5: required from 'llvm::SmallDenseMap::SmallDenseMap(const llvm::SmallDenseMap&) [with KeyT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy; ValueT = llvm::SmallVector; unsigned int InlineBuckets = 8; KeyInfoT = clang::sema::FunctionScopeInfo::WeakObjectProfileTy::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]' /<>/tools/clang/include/clang/Sema/ScopeInfo.h:306:3: required from 'clang::ExprResult clang::TreeTransform::TransformLambdaExpr(clang::LambdaExpr*) [with Derived = {anonymous}::TemplateInstantiator; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:822:51: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair >' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h: In instantiation of 'void llvm::DenseMapBase::copyFrom(const llvm::DenseMapBase&) [with OtherBaseT = llvm::DenseMap; DerivedT = llvm::DenseMap; KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]': /<>/include/llvm/ADT/DenseMap.h:605:7: required from 'void llvm::DenseMap::copyFrom(const llvm::DenseMap&) [with KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/include/llvm/ADT/DenseMap.h:559:5: required from 'llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = clang::VarDecl*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]' /<>/tools/clang/include/clang/Sema/ScopeInfo.h:382:3: required from 'clang::ExprResult clang::TreeTransform::TransformLambdaExpr(clang::LambdaExpr*) [with Derived = {anonymous}::TemplateInstantiator; clang::ExprResult = clang::ActionResult]' /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:822:51: required from here /<>/include/llvm/ADT/DenseMap.h:323:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct llvm::detail::DenseMapPair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(getBuckets(), other.getBuckets(), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getNumBuckets() * sizeof(BucketT)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/include/llvm/ADT/DenseMap.h:39:8: note: 'struct llvm::detail::DenseMapPair' declared here struct DenseMapPair : public std::pair { ^~~~~~~~~~~~ [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 32%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/SVals.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/SVals.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/SVals.cpp [ 32%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SVals.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/google/CMakeFiles/clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/tools/extra/clang-tidy/google -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 32%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplateInstantiateDecl.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaTemplateInstantiateDecl.cpp.o -c /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/UndelegatedConstructor.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/UndelegatedConstructor.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SVals.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SVals.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SVals.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXThrowExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXThrowExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXThrowExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CXXThrowExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CXXThrowExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CXXThrowExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp:41:70: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:20, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/ADT/SmallSet.h:78:7: required from 'std::pair llvm::SmallSet::insert(const T&) [with T = std::pair; unsigned int N = 4; C = std::less >]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h:229:51: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UnnamedNamespaceInHeaderCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:1106:78: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:1190:50: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]' /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:24:55: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt*]' /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:27:64: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CXXFunctionalCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:30:65: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'clang::TypeSourceInfo* clang::TreeTransform::TransformTSIInObjectScope(clang::TypeLoc, clang::QualType, clang::NamedDecl*, clang::CXXScopeSpec&) [with Derived = {anonymous}::TemplateInstantiator]': /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5480:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp: In member function 'virtual clang::ento::SVal {anonymous}::SimpleSValBuilder::evalCastFromLoc(clang::ento::Loc, clang::QualType)': /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:155:54: warning: this statement may fall through [-Wimplicit-fallthrough=] return nonloc::SymbolVal(SymR->getSymbol()); ^ /<>/tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp:160:7: note: here case loc::GotoLabelKind: ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::ExprWithCleanups; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::ExprWithCleanups*]' /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:24:55: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXBindTemporaryExpr*]' /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:27:64: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CXXFunctionalCastExpr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CXXFunctionalCastExpr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CXXFunctionalCastExpr*]' /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:30:65: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocInventIterator<{anonymous}::TemplateInstantiator, const clang::TemplateArgument*>; Derived = {anonymous}::TemplateInstantiator]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocInventIterator<{anonymous}::TemplateInstantiator, const clang::TemplateArgument*>' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TemplateInstantiator, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/google/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::ExprResult clang::TreeTransform::TransformSizeOfPackExpr(clang::SizeOfPackExpr*) [with Derived = {anonymous}::TemplateInstantiator]': /<>/tools/clang/lib/Sema/TreeTransform.h:10407:5: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TemplateInstantiator, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, PackArgs.begin()), ^~ In file included from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = const clang::TemplateArgumentLoc*; Derived = {anonymous}::TemplateInstantiator]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TemplateInstantiator, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/tools/clang/lib/Sema/TreeTransform.h: In function 'bool clang::TreeTransform::TransformTemplateArguments(InputIterator, InputIterator, clang::TemplateArgumentListInfo&, bool) [with InputIterator = clang::TemplateArgumentLocContainerIterator; Derived = {anonymous}::TemplateInstantiator]': /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 bool TreeTransform::TransformTemplateArguments( ^~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/TreeTransform.h:3747:6: note: parameter passing for argument of type 'clang::TemplateArgumentLocContainerIterator' changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TemplateInstantiator, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/UnusedRAIICheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/UnusedRAIICheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.cpp In file included from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformDependentTemplateSpecializationType(clang::TypeLocBuilder&, clang::DependentTemplateSpecializationTypeLoc, clang::NestedNameSpecifierLoc) [with Derived = {anonymous}::TemplateInstantiator]': /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 if (getDerived().TransformTemplateArguments(ArgIterator(TL, 0), ^~ /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/tools/clang/lib/Sema/TreeTransform.h:5715:3: note: parameter passing for argument of type 'ArgIterator' {aka 'clang::TemplateArgumentLocContainerIterator'} changed in GCC 7.1 /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:14: /<>/tools/clang/lib/Sema/TreeTransform.h: In member function 'clang::QualType clang::TreeTransform::TransformTemplateSpecializationType(clang::TypeLocBuilder&, clang::TemplateSpecializationTypeLoc, clang::TemplateName) [with Derived = {anonymous}::TemplateInstantiator]': /<>/tools/clang/lib/Sema/TreeTransform.h:3763:7: note: parameter passing for argument of type 'PackLocIterator' {aka 'clang::TemplateArgumentLocInventIterator<{anonymous}::TemplateInstantiator, const clang::TemplateArgument*>'} changed in GCC 7.1 if (TransformTemplateArguments(PackLocIterator(*this, ^~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:87:27: required from 'const T* clang::ast_matchers::BoundNodes::getStmtAs(llvm::StringRef) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/UndelegatedConstructor.cpp:77:71: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 32%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/Store.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/Store.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/Store.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 32%] Linking CXX static library ../../../../../../lib/libclangTidyGoogleModule.a cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/cmake -P CMakeFiles/clangTidyGoogleModule.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/google && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidyGoogleModule.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../../lib/libclangTidyGoogleModule.a CMakeFiles/clangTidyGoogleModule.dir/AvoidCStyleCastsCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/ExplicitConstructorCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/ExplicitMakePairCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/GlobalNamesInHeadersCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/GoogleTidyModule.cpp.o CMakeFiles/clangTidyGoogleModule.dir/IntegerTypesCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/MemsetZeroLengthCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/OverloadedUnaryAndCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/StringReferenceMemberCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/TodoCommentCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/UnnamedNamespaceInHeaderCheck.cpp.o CMakeFiles/clangTidyGoogleModule.dir/UsingNamespaceDirectiveCheck.cpp.o /usr/bin/ranlib ../../../../../../lib/libclangTidyGoogleModule.a /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ make[4]: Leaving directory '/<>/build-llvm' [ 32%] Built target clangTidyGoogleModule [ 32%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/SubEngine.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/SubEngine.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/SubEngine.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/Store.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedAliasDeclsCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/SubEngine.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedParametersCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/Store.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/Store.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h:19, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h:17, from /<>/tools/clang/lib/StaticAnalyzer/Core/Store.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::Expr; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::Expr*]' /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h:736:40: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ [ 32%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplateVariadic.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaTemplateVariadic.cpp.o -c /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp [ 32%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaType.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/SemaType.cpp.o -c /<>/tools/clang/lib/Sema/SemaType.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/SubEngine.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/Analysis/AnalysisContext.h:18, from /<>/tools/clang/include/clang/Analysis/ProgramPoint.h:18, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h:16, from /<>/tools/clang/lib/StaticAnalyzer/Core/SubEngine.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ [ 32%] Building CXX object tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/SymbolManager.cpp.o cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/lib/StaticAnalyzer/Core -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangStaticAnalyzerCore.dir/SymbolManager.cpp.o -c /<>/tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:12: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaType.cpp:14: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:87:27: required from 'const T* clang::ast_matchers::BoundNodes::getStmtAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.cpp:48:54: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXBindTemporaryExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXBindTemporaryExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXBindTemporaryExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CXXBindTemporaryExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CXXBindTemporaryExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CXXBindTemporaryExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:87:27: required from 'const T* clang::ast_matchers::BoundNodes::getStmtAs(llvm::StringRef) const [with T = clang::CXXBindTemporaryExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/UnusedRAIICheck.cpp:68:72: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/lib/Sema/CMakeFiles/clangSema.dir/TypeLocBuilder.cpp.o cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/lib/Sema -I/<>/tools/clang/lib/Sema -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangSema.dir/TypeLocBuilder.cpp.o -c /<>/tools/clang/lib/Sema/TypeLocBuilder.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExprWithCleanups; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExprWithCleanups; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExprWithCleanups]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExprWithCleanups]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXFunctionalCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXFunctionalCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXFunctionalCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXFunctionalCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Building CXX object tools/clang/tools/extra/clang-tidy/misc/CMakeFiles/clangTidyMiscModule.dir/VirtualNearMissCheck.cpp.o cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/g++-8 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/tools/extra/clang-tidy/misc -I/<>/tools/clang/include -I/<>/build-llvm/tools/clang/include -I/<>/build-llvm/include -I/<>/include -std=c++0x -gsplit-dwarf -gsplit-dwarf -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -std=c++11 -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O2 -g -DNDEBUG -fno-exceptions -o CMakeFiles/clangTidyMiscModule.dir/VirtualNearMissCheck.cpp.o -c /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.cpp /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.cpp:15: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtOpenMP.h:1893:56: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.h:18, from /<>/tools/clang/lib/Sema/TypeLocBuilder.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::simplify_type': /<>/include/llvm/Support/Casting.h:183:72: required from 'struct llvm::cast_retty' /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:44:5: warning: ignoring attributes on template argument 'llvm::add_const_past_pointer::type' {aka 'const clang::Stmt*'} [-Wignored-attributes] RetType; ^~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:285:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::dyn_cast(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp:15: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h:18, from /<>/tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp:15: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaType.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaType.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair, clang::SourceLocation>]': /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:55:78: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair, clang::SourceLocation>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair, clang::SourceLocation>' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaType.cpp:14: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/APValue.h:17, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:20, from /<>/tools/clang/include/clang/AST/ASTContext.h:18, from /<>/tools/clang/include/clang/Sema/SemaInternal.h:18, from /<>/tools/clang/lib/Sema/SemaType.cpp:14: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:12: /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if::type, T2>::value>::type*) [with T1 = std::pair; T2 = std::pair; T = std::pair; typename std::enable_if::type, T2>::value>::type = void]': /<>/include/llvm/ADT/SmallVector.h:724:5: required from 'void llvm::SmallVectorImpl::swap(llvm::SmallVectorImpl&) [with T = std::pair]' /<>/tools/clang/include/clang/Sema/Sema.h:6915:40: required from here /<>/include/llvm/ADT/SmallVector.h:328:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(Dest, I, (E - I) * sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/include/llvm/Support/Host.h:17, from /<>/include/llvm/ADT/Hashing.h:49, from /<>/include/llvm/ADT/ArrayRef.h:13, from /<>/include/llvm/ADT/APInt.h:19, from /<>/include/llvm/ADT/APFloat.h:20, from /<>/tools/clang/include/clang/AST/APValue.h:18, from /<>/tools/clang/include/clang/AST/Decl.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:18, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:12: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/Support/type_traits.h:18, from /<>/include/llvm/Support/Casting.h:19, from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/AST/AttrIterator.h:17, from /<>/tools/clang/include/clang/AST/Attr.h:17, from /<>/tools/clang/include/clang/Sema/Sema.h:18, from /<>/tools/clang/lib/Sema/SemaTemplateVariadic.cpp:12: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::CallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ExprCXX.h:171:52: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CompoundStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:100:44: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtCXX.h:108:48: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'const bool llvm::is_simple_type::value': /<>/include/llvm/Support/Casting.h:257:5: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(Y&) [with X = clang::ObjCAtCatchStmt; Y = const clang::Stmt* const]' /<>/tools/clang/include/clang/AST/StmtObjC.h:208:59: required from here /<>/include/llvm/Support/Casting.h:208:21: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] static const bool value = ^~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:248:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast_or_null(const Y&) [with X = clang::ObjCAtFinallyStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/StmtObjC.h:228:73: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/tools/clang/lib/Sema/SemaType.cpp: In function 'void processTypeAttrs({anonymous}::TypeProcessingState&, clang::QualType&, TypeAttrLocation, clang::AttributeList*)': /<>/tools/clang/lib/Sema/SemaType.cpp:6368:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!state.getSema().getLangOpts().ObjCAutoRefCount) ^~ /<>/tools/clang/lib/Sema/SemaType.cpp:105:5: note: here case AttributeList::AT_NoReturn: \ ^~~~ /<>/tools/clang/lib/Sema/SemaType.cpp:6372:5: note: in expansion of macro 'FUNCTION_TYPE_ATTRS_CASELIST' FUNCTION_TYPE_ATTRS_CASELIST: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/tools/clang/lib/Sema/SemaType.cpp: In function 'void distributeTypeAttrsFromDeclarator({anonymous}::TypeProcessingState&, clang::QualType&)': /<>/tools/clang/lib/Sema/SemaType.cpp:634:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!state.getSema().getLangOpts().ObjCAutoRefCount) ^~ /<>/tools/clang/lib/Sema/SemaType.cpp:105:5: note: here case AttributeList::AT_NoReturn: \ ^~~~ /<>/tools/clang/lib/Sema/SemaType.cpp:638:5: note: in expansion of macro 'FUNCTION_TYPE_ATTRS_CASELIST' FUNCTION_TYPE_ATTRS_CASELIST: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::MemberExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp:100:78: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::Expr]' /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp:103:59: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:374:29: required from 'static const T* clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::get(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:230:33: required from 'const T* clang::ast_type_traits::DynTypedNode::get() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:83:30: required from 'const T* clang::ast_matchers::internal::BoundNodesMap::getNodeAs(llvm::StringRef) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchers.h:76:40: required from 'const T* clang::ast_matchers::BoundNodes::getNodeAs(llvm::StringRef) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp:106:61: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Linking CXX static library ../../../../../lib/libclangStaticAnalyzerCore.a cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/cmake -P CMakeFiles/clangStaticAnalyzerCore.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/StaticAnalyzer/Core && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangStaticAnalyzerCore.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../lib/libclangStaticAnalyzerCore.a CMakeFiles/clangStaticAnalyzerCore.dir/APSIntType.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/AnalysisManager.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/AnalyzerOptions.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/BasicValueFactory.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/BlockCounter.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/IssueHash.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/BugReporter.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/BugReporterVisitors.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/CallEvent.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/Checker.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/CheckerContext.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/CheckerHelpers.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/CheckerManager.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/CheckerRegistry.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/CommonBugCategories.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/ConstraintManager.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/CoreEngine.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/DynamicTypeMap.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/Environment.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/ExplodedGraph.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngine.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineC.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineCXX.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineCallAndReturn.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/ExprEngineObjC.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/FunctionSummary.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/HTMLDiagnostics.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/LoopWidening.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/MemRegion.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/PathDiagnostic.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/PlistDiagnostics.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/ProgramState.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/RangeConstraintManager.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/RegionStore.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/SValBuilder.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/SVals.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/SimpleConstraintManager.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/SimpleSValBuilder.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/Store.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/SubEngine.cpp.o CMakeFiles/clangStaticAnalyzerCore.dir/SymbolManager.cpp.o /usr/bin/ranlib ../../../../../lib/libclangStaticAnalyzerCore.a make[4]: Leaving directory '/<>/build-llvm' [ 32%] Built target clangStaticAnalyzerCore /<>/include/llvm/Support/Casting.h: In instantiation of 'bool llvm::isa(const Y&) [with X = clang::CaseStmt; Y = const clang::Stmt*]': /<>/include/llvm/Support/Casting.h:298:16: required from 'typename llvm::cast_retty::ret_type llvm::dyn_cast(Y*) [with X = clang::CaseStmt; Y = const clang::Stmt; typename llvm::cast_retty::ret_type = const clang::CaseStmt*]' /<>/tools/clang/include/clang/AST/Stmt.h:722:69: required from here /<>/include/llvm/Support/Casting.h:134:74: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] return isa_impl_wrap::SimpleType>::doit(Val); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /<>/include/llvm/Support/Allocator.h:24, from /<>/include/llvm/ADT/StringMap.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.cpp:10: /<>/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = std::pair]': /<>/include/llvm/Support/Allocator.h:238:33: required from 'void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; unsigned int SlabSize = 4096; unsigned int SizeThreshold = 4096; size_t = unsigned int]' /<>/tools/clang/include/clang/AST/ASTContext.h:561:42: required from here /<>/include/llvm/ADT/SmallVector.h:340:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] memcpy(this->end(), &Elt, sizeof(T)); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/8/utility:70, from /<>/include/llvm/ADT/Optional.h:24, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyOptions.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.cpp:10: /usr/include/c++/8/bits/stl_pair.h:208:12: note: 'struct std::pair' declared here struct pair ^~~~ In file included from /<>/tools/clang/include/clang/Basic/LLVM.h:22, from /<>/tools/clang/include/clang/Basic/DiagnosticIDs.h:18, from /<>/tools/clang/include/clang/Basic/Diagnostic.h:18, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidyDiagnosticConsumer.h:14, from /<>/tools/clang/tools/extra/clang-tidy/misc/../ClangTidy.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.h:13, from /<>/tools/clang/tools/extra/clang-tidy/misc/VirtualNearMissCheck.cpp:10: /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::BinaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::BinaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::BinaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] typename simplify_type::SimpleType>::ret_type ret_type; ^~~~~~~~ /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Expr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Expr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Expr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::Stmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::Stmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::Stmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::SwitchStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::SwitchStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::SwitchStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::MemberExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::MemberExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::MemberExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ConditionalOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ConditionalOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ConditionalOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ImplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ImplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ImplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ExplicitCastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ExplicitCastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ExplicitCastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CastExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CastExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CastExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryOperator; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryOperator; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryOperator]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ArraySubscriptExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ArraySubscriptExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ArraySubscriptExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::IfStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::IfStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::IfStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXConstructExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXConstructExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXConstructExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::DeclRefExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::DeclRefExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::DeclRefExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXMemberCallExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXMemberCallExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXMemberCallExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ObjCMessageExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ObjCMessageExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ObjCMessageExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::UnaryExprOrTypeTraitExpr; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::UnaryExprOrTypeTraitExpr; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::UnaryExprOrTypeTraitExpr]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::CXXForRangeStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::CXXForRangeStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::CXXForRangeStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] /<>/include/llvm/Support/Casting.h: In instantiation of 'struct llvm::cast_retty': /<>/include/llvm/Support/Casting.h:222:1: required by substitution of 'template typename std::enable_if<(! llvm::is_simple_type::value), typename llvm::cast_retty::ret_type>::type llvm::cast(const Y&) [with X = clang::ForStmt; Y = const clang::Stmt*]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:379:22: required from 'static const T& clang::ast_type_traits::DynTypedNode::DynCastPtrConverter::getUnchecked(clang::ast_type_traits::ASTNodeKind, const char*) [with T = clang::ForStmt; BaseT = clang::Stmt]' /<>/tools/clang/include/clang/AST/ASTTypeTraits.h:238:42: required from 'const T& clang::ast_type_traits::DynTypedNode::getUnchecked() const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:226:62: required from 'bool clang::ast_matchers::internal::MatcherInterface::dynMatches(const clang::ast_type_traits::DynTypedNode&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const [with T = clang::ForStmt]' /<>/tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h:223:8: required from here /<>/include/llvm/Support/Casting.h:183:72: warning: ignoring attributes on template argument 'llvm::simplify_type::SimpleType' {aka 'const clang::Stmt*'} [-Wignored-attributes] [ 32%] Linking CXX static library ../../../../../../lib/libclangTidyMiscModule.a cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/cmake -P CMakeFiles/clangTidyMiscModule.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/tools/extra/clang-tidy/misc && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangTidyMiscModule.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../../../lib/libclangTidyMiscModule.a CMakeFiles/clangTidyMiscModule.dir/ArgumentCommentCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/AssertSideEffectCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/AssignOperatorSignatureCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/BoolPointerImplicitConversionCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/DefinitionsInHeadersCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/InaccurateEraseCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/InefficientAlgorithmCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MacroParenthesesCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MacroRepeatedSideEffectsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MiscTidyModule.cpp.o CMakeFiles/clangTidyMiscModule.dir/MoveConstantArgumentCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/MoveConstructorInitCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/NewDeleteOverloadsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/NoexceptMoveConstructorCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/NonCopyableObjects.cpp.o CMakeFiles/clangTidyMiscModule.dir/SizeofContainerCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/StaticAssertCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/StringIntegerAssignmentCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/SwappedArgumentsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/ThrowByValueCatchByReferenceCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UndelegatedConstructor.cpp.o CMakeFiles/clangTidyMiscModule.dir/UnusedAliasDeclsCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UnusedParametersCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UnusedRAIICheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/UniqueptrResetReleaseCheck.cpp.o CMakeFiles/clangTidyMiscModule.dir/VirtualNearMissCheck.cpp.o /usr/bin/ranlib ../../../../../../lib/libclangTidyMiscModule.a make[4]: Leaving directory '/<>/build-llvm' [ 32%] Built target clangTidyMiscModule [ 32%] Linking CXX static library ../../../../lib/libclangSema.a cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/cmake -P CMakeFiles/clangSema.dir/cmake_clean_target.cmake cd /<>/build-llvm/tools/clang/lib/Sema && /usr/bin/cmake -E cmake_link_script CMakeFiles/clangSema.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../../lib/libclangSema.a CMakeFiles/clangSema.dir/AnalysisBasedWarnings.cpp.o CMakeFiles/clangSema.dir/AttributeList.cpp.o CMakeFiles/clangSema.dir/CodeCompleteConsumer.cpp.o CMakeFiles/clangSema.dir/DeclSpec.cpp.o CMakeFiles/clangSema.dir/DelayedDiagnostic.cpp.o CMakeFiles/clangSema.dir/IdentifierResolver.cpp.o CMakeFiles/clangSema.dir/JumpDiagnostics.cpp.o CMakeFiles/clangSema.dir/MultiplexExternalSemaSource.cpp.o CMakeFiles/clangSema.dir/Scope.cpp.o CMakeFiles/clangSema.dir/ScopeInfo.cpp.o CMakeFiles/clangSema.dir/Sema.cpp.o CMakeFiles/clangSema.dir/SemaAccess.cpp.o CMakeFiles/clangSema.dir/SemaAttr.cpp.o CMakeFiles/clangSema.dir/SemaCXXScopeSpec.cpp.o CMakeFiles/clangSema.dir/SemaCast.cpp.o CMakeFiles/clangSema.dir/SemaChecking.cpp.o CMakeFiles/clangSema.dir/SemaCodeComplete.cpp.o CMakeFiles/clangSema.dir/SemaConsumer.cpp.o CMakeFiles/clangSema.dir/SemaCoroutine.cpp.o CMakeFiles/clangSema.dir/SemaCUDA.cpp.o CMakeFiles/clangSema.dir/SemaDecl.cpp.o CMakeFiles/clangSema.dir/SemaDeclAttr.cpp.o CMakeFiles/clangSema.dir/SemaDeclCXX.cpp.o CMakeFiles/clangSema.dir/SemaDeclObjC.cpp.o CMakeFiles/clangSema.dir/SemaExceptionSpec.cpp.o CMakeFiles/clangSema.dir/SemaExpr.cpp.o CMakeFiles/clangSema.dir/SemaExprCXX.cpp.o CMakeFiles/clangSema.dir/SemaExprMember.cpp.o CMakeFiles/clangSema.dir/SemaExprObjC.cpp.o CMakeFiles/clangSema.dir/SemaFixItUtils.cpp.o CMakeFiles/clangSema.dir/SemaInit.cpp.o CMakeFiles/clangSema.dir/SemaLambda.cpp.o CMakeFiles/clangSema.dir/SemaLookup.cpp.o CMakeFiles/clangSema.dir/SemaObjCProperty.cpp.o CMakeFiles/clangSema.dir/SemaOpenMP.cpp.o CMakeFiles/clangSema.dir/SemaOverload.cpp.o CMakeFiles/clangSema.dir/SemaPseudoObject.cpp.o CMakeFiles/clangSema.dir/SemaStmt.cpp.o CMakeFiles/clangSema.dir/SemaStmtAsm.cpp.o CMakeFiles/clangSema.dir/SemaStmtAttr.cpp.o CMakeFiles/clangSema.dir/SemaTemplate.cpp.o CMakeFiles/clangSema.dir/SemaTemplateDeduction.cpp.o CMakeFiles/clangSema.dir/SemaTemplateInstantiate.cpp.o CMakeFiles/clangSema.dir/SemaTemplateInstantiateDecl.cpp.o CMakeFiles/clangSema.dir/SemaTemplateVariadic.cpp.o CMakeFiles/clangSema.dir/SemaType.cpp.o CMakeFiles/clangSema.dir/TypeLocBuilder.cpp.o /usr/bin/ranlib ../../../../lib/libclangSema.a make[4]: Leaving directory '/<>/build-llvm' [ 32%] Built target clangSema make[3]: Leaving directory '/<>/build-llvm' make[2]: *** [Makefile:155: all] Error 2 make[2]: Leaving directory '/<>/build-llvm' make[1]: *** [debian/rules:297: override_dh_auto_build] Error 2 make[1]: Leaving directory '/<>' make: *** [debian/rules:178: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2018-10-25T22:54:48Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: armel Build Type: binary Build-Space: 3760296 Build-Time: 2354 Distribution: sid Fail-Stage: build Host Architecture: armel Install-Time: 225 Job: /chroot/rebuildd/build-llvm-toolchain-3.8/llvm-toolchain-3.8_3.8.1-27.dsc Machine Architecture: arm64 Package: llvm-toolchain-3.8 Package-Time: 2708 Source-Version: 1:3.8.1-27 Space: 3760296 Status: attempted Version: 1:3.8.1-27 -------------------------------------------------------------------------------- Finished at 2018-10-25T22:54:48Z Build needed 00:45:08, 3760296k disk space E: Build failure (dpkg-buildpackage died)