DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build --target all --
Change Dir: 'TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build'
Run Build Command(s): ninja -v -j 16 all
[1/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_port.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_port.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_port.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.cc
[2/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_getopt.cc
[3/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_path_util.cc
[4/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_verrs.cc
[5/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_lexer_utils.cc
[6/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_cache.cc
[7/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_regex.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_regex.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_regex.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_regex.cc
[8/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.cc
FAILED: [code=1] CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.cc
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.cc:526:23: error: 'type_loc' has incomplete type
526 | ElaboratedTypeLoc type_loc)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.cc:10:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.h:36:7: note: forward declaration of 'class clang::ElaboratedTypeLoc'
36 | class ElaboratedTypeLoc;
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.cc:628:56: error: 'type_loc' has incomplete type
628 | void IwyuFileInfo::AddElaboratedType(ElaboratedTypeLoc type_loc) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.h:36:7: note: forward declaration of 'class clang::ElaboratedTypeLoc'
36 | class ElaboratedTypeLoc;
| ^~~~~~~~~~~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.h:28:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.cc: In function 'std::string include_what_you_use::internal::MungedForwardDeclareLine(const clang::NamedDecl*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:63:46: warning: control reaches end of non-void function [-Wreturn-type]
63 | ::include_what_you_use::OstreamVoidifier() & \
| ~~~~~~~~~~~~~~~~~~~^~~
64 | ::include_what_you_use::FatalMessageEmitter( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | __FILE__, __LINE__, message).stream()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.cc:509:3: note: in expansion of macro 'CHECK_UNREACHABLE_'
509 | CHECK_UNREACHABLE_("Unexpected decl type for MungedForwardDeclareLine");
| ^~~~~~~~~~~~~~~~~~
[9/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_location_util.cc
[10/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_include_picker.cc
[11/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_preprocessor.cc
[12/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_driver.cc
FAILED: [code=1] CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_driver.cc
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_driver.cc: In function 'std::string include_what_you_use::{anonymous}::ComputeCustomResourceDir(llvm::StringRef)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_driver.cc:269:20: error: 'GetResourcesPath' is not a member of 'clang::driver::Driver'
269 | return Driver::GetResourcesPath(iwyu_resource_binary_path);
| ^~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_driver.cc: In function 'bool include_what_you_use::ExecuteAction(int, const char**, ActionFactory)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_driver.cc:397:30: error: no matching function for call to 'clang::CompilerInstance::createDiagnostics(llvm::vfs::FileSystem&)'
397 | compiler->createDiagnostics(*fs);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_driver.cc:397:30: note: there are 2 candidates
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_driver.cc:32:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Frontend/CompilerInstance.h:696:8: note: candidate 1: 'void clang::CompilerInstance::createDiagnostics(clang::DiagnosticConsumer*, bool)'
696 | void createDiagnostics(DiagnosticConsumer *Client = nullptr,
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Frontend/CompilerInstance.h:696:46: note: no known conversion for argument 1 from 'llvm::vfs::FileSystem' to 'clang::DiagnosticConsumer*'
696 | void createDiagnostics(DiagnosticConsumer *Client = nullptr,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Frontend/CompilerInstance.h:721:3: note: candidate 2: 'static llvm::IntrusiveRefCntPtr<clang::DiagnosticsEngine> clang::CompilerInstance::createDiagnostics(llvm::vfs::FileSystem&, clang::DiagnosticOptions&, clang::DiagnosticConsumer*, bool, const clang::CodeGenOptions*)'
721 | createDiagnostics(llvm::vfs::FileSystem &VFS, DiagnosticOptions &Opts,
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Frontend/CompilerInstance.h:721:3: note: candidate expects 5 arguments, 1 provided
[13/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_globals.cc
[14/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc
FAILED: [code=1] CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:86:14: error: 'DependentTemplateSpecializationType' has not been declared in 'clang'
86 | using clang::DependentTemplateSpecializationType;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:87:14: error: 'ElaboratedType' has not been declared in 'clang'
87 | using clang::ElaboratedType;
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In function 'bool include_what_you_use::IsElaboratedTypeSpecifier(const ASTNode*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:289:9: error: 'ElaboratedType' does not name a type
289 | const ElaboratedType* elaborated_type = ast_node->GetAs<ElaboratedType>();
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:290:10: error: 'elaborated_type' was not declared in this scope
290 | return elaborated_type &&
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In function 'const include_what_you_use::ASTNode* include_what_you_use::MostElaboratedAncestor(const ASTNode*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:296:30: error: 'ElaboratedType' was not declared in this scope
296 | while (ast_node->ParentIsA<ElaboratedType>()) {
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:296:45: error: no matching function for call to 'include_what_you_use::ASTNode::ParentIsA<<expression error> >() const'
296 | while (ast_node->ParentIsA<ElaboratedType>()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:296:45: note: there is 1 candidate
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:12:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:236:30: note: candidate 1: 'template<class To> bool include_what_you_use::ASTNode::ParentIsA() const'
236 | template<typename To> bool ParentIsA() const {
| ^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:236:30: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:296:45: error: template argument 1 is invalid
296 | while (ast_node->ParentIsA<ElaboratedType>()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In function 'bool include_what_you_use::IsQualifiedNameNode(const ASTNode*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:305:9: error: 'ElaboratedType' does not name a type
305 | const ElaboratedType* elaborated_type = ast_node->GetAs<ElaboratedType>();
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:306:7: error: 'elaborated_type' was not declared in this scope
306 | if (elaborated_type == nullptr)
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:308:10: error: 'elaborated_type' was not declared in this scope
308 | return elaborated_type->getQualifier() != nullptr;
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In function 'const clang::NestedNameSpecifier* include_what_you_use::GetQualifier(const ASTNode*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:414:30: error: cannot convert 'clang::NestedNameSpecifier' to 'const clang::NestedNameSpecifier*' in assignment
414 | nns = dtn->getQualifier();
| ~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:417:30: error: cannot convert 'clang::NestedNameSpecifier' to 'const clang::NestedNameSpecifier*' in assignment
417 | nns = qtn->getQualifier();
| ~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:419:35: error: 'ElaboratedType' was not declared in this scope
419 | if (!nns) nns = TryGetQualifier<ElaboratedType>(ast_node);
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:419:50: error: no matching function for call to 'TryGetQualifier<<expression error> >(const include_what_you_use::ASTNode*&)'
419 | if (!nns) nns = TryGetQualifier<ElaboratedType>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:419:50: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:403:22: note: candidate 1: 'template<class T> clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*)'
403 | NestedNameSpecifier* TryGetQualifier(const ASTNode* ast_node) {
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:403:22: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:419:50: error: template argument 1 is invalid
419 | if (!nns) nns = TryGetQualifier<ElaboratedType>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:421:29: error: 'DependentTemplateSpecializationType' was not declared in this scope; did you mean 'TemplateSpecializationType'?
421 | if (!nns && ast_node->IsA<DependentTemplateSpecializationType>()) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| TemplateSpecializationType
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:421:65: error: no matching function for call to 'include_what_you_use::ASTNode::IsA<<expression error> >() const'
421 | if (!nns && ast_node->IsA<DependentTemplateSpecializationType>()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:421:65: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:244:30: note: candidate 1: 'template<class To> bool include_what_you_use::ASTNode::IsA() const'
244 | template<typename To> bool IsA() const {
| ^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:244:30: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:421:65: error: template argument 1 is invalid
421 | if (!nns && ast_node->IsA<DependentTemplateSpecializationType>()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:422:76: error: no matching function for call to 'include_what_you_use::ASTNode::GetAs<DependentTemplateSpecializationType>() const'
422 | const auto* dtst = ast_node->GetAs<DependentTemplateSpecializationType>();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:422:76: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:240:35: note: candidate 1: 'template<class To> const To* include_what_you_use::ASTNode::GetAs() const'
240 | template<typename To> const To* GetAs() const {
| ^~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:240:35: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In function 'bool include_what_you_use::IsNestedClass(const clang::TagDecl*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:1277:27: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier'
1277 | decl->getQualifier()->getKind() == NestedNameSpecifier::TypeSpec) {
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:1277:63: error: 'TypeSpec' is not a member of 'clang::NestedNameSpecifier'
1277 | decl->getQualifier()->getKind() == NestedNameSpecifier::TypeSpec) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In function 'bool include_what_you_use::IsBaseToDerivedMemPtrConvertible(const clang::Type*, const clang::Type*, clang::Sema&)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:1794:40: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier'
1794 | base_mem_ptr_type->getQualifier()->getAsRecordDecl();
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:1796:43: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier'
1796 | derived_mem_ptr_type->getQualifier()->getAsRecordDecl();
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In function 'const clang::Type* include_what_you_use::TypeOfParentIfMethod(const clang::CallExpr*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:1865:38: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier'
1865 | return ref_expr->getQualifier()->getAsType();
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::DependentNameType]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:420:53: required from here
420 | if (!nns) nns = TryGetQualifier<DependentNameType>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::UsingDirectiveDecl]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:425:54: required from here
425 | if (!nns) nns = TryGetQualifier<UsingDirectiveDecl>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::EnumDecl]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:426:44: required from here
426 | if (!nns) nns = TryGetQualifier<EnumDecl>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::RecordDecl]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:427:46: required from here
427 | if (!nns) nns = TryGetQualifier<RecordDecl>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::DeclaratorDecl]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:428:50: required from here
428 | if (!nns) nns = TryGetQualifier<DeclaratorDecl>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::FunctionDecl]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:429:48: required from here
429 | if (!nns) nns = TryGetQualifier<FunctionDecl>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::CXXDependentScopeMemberExpr]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:430:63: required from here
430 | if (!nns) nns = TryGetQualifier<CXXDependentScopeMemberExpr>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::DeclRefExpr]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:431:47: required from here
431 | if (!nns) nns = TryGetQualifier<DeclRefExpr>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::DependentScopeDeclRefExpr]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:432:61: required from here
432 | if (!nns) nns = TryGetQualifier<DependentScopeDeclRefExpr>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In instantiation of 'clang::NestedNameSpecifier* include_what_you_use::TryGetQualifier(const ASTNode*) [with T = clang::MemberExpr]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:433:46: required from here
433 | if (!nns) nns = TryGetQualifier<MemberExpr>(ast_node);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:405:46: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in return
405 | return ast_node->GetAs<T>()->getQualifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h: In instantiation of 'const To* include_what_you_use::ASTNode::DynCast(const clang::NestedNameSpecifier*) const [with To = clang::NestedNameSpecifier]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:203:36: required from 'const To* include_what_you_use::ASTNode::GetAncestorAs(int) const [with To = clang::NestedNameSpecifier]'
203 | return target_node->DynCast<To>(dummy);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:241:29: required from 'const To* include_what_you_use::ASTNode::GetAs() const [with To = clang::NestedNameSpecifier]'
241 | return GetAncestorAs<To>(0);
| ~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:182:50: required from here
182 | node->GetAs<NestedNameSpecifier>()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:293:48: error: cannot convert 'clang::NestedNameSpecifier' to 'const clang::NestedNameSpecifier*' in return
293 | return as_nnsloc_->getNestedNameSpecifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:30:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier) [with Derived = include_what_you_use::SugaredTypeEnumerator]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:866:5: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseTemplateName(clang::TemplateName) [with Derived = include_what_you_use::SugaredTypeEnumerator]'
866 | TRY_TO(TraverseNestedNameSpecifier(DTN->getQualifier()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:893:45: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseTemplateArgument(const clang::TemplateArgument&) [with Derived = include_what_you_use::SugaredTypeEnumerator]'
893 | return getDerived().TraverseTemplateName(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
894 | Arg.getAsTemplateOrTemplatePattern());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:621:29: required from here
621 | TraverseTemplateArgument(tpl_arg);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:804:5: error: no matching function for call to 'include_what_you_use::SugaredTypeEnumerator::TraverseType(clang::QualType, bool)'
804 | TRY_TO(TraverseType(QualType(T, 0), /*TraverseQualifier=*/false));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:804:5: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:626:8: note: candidate 1: 'bool include_what_you_use::SugaredTypeEnumerator::TraverseType(clang::QualType)'
626 | bool TraverseType(QualType type) {
| ^~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:626:8: note: candidate expects 1 argument, 2 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc) [with Derived = include_what_you_use::SugaredTypeEnumerator]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1556:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDeducedTemplateSpecializationTypeLoc(clang::DeducedTemplateSpecializationTypeLoc, bool) [with Derived = include_what_you_use::SugaredTypeEnumerator]'
1558 | TRY_TO(TraverseNestedNameSpecifierLoc(TL.getQualifierLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:42:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc, bool) [with Derived = include_what_you_use::SugaredTypeEnumerator]'
42 | TYPE(DeducedTemplateSpecialization, DeducedType)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:634:35: required from here
634 | return Base::TraverseTypeLoc(type_loc);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:826:5: error: no matching function for call to 'include_what_you_use::SugaredTypeEnumerator::TraverseTypeLoc(clang::TypeLoc&, bool)'
826 | TRY_TO(TraverseTypeLoc(TL, /*TraverseQualifier=*/false));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:826:5: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:632:8: note: candidate 1: 'bool include_what_you_use::SugaredTypeEnumerator::TraverseTypeLoc(clang::TypeLoc)'
632 | bool TraverseTypeLoc(TypeLoc type_loc) {
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:632:8: note: candidate expects 1 argument, 2 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier) [with Derived = include_what_you_use::TypeEnumeratorWithoutSubstituted]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1190:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDependentNameType(clang::DependentNameType*, bool) [with Derived = include_what_you_use::TypeEnumeratorWithoutSubstituted]'
1192 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:45:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::TypeEnumeratorWithoutSubstituted]'
45 | DEPENDENT_TYPE(DependentName, Type)
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:675:32: required from here
675 | return Base::TraverseType(type);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:804:5: error: no matching function for call to 'include_what_you_use::TypeEnumeratorWithoutSubstituted::TraverseType(clang::QualType, bool)'
804 | TRY_TO(TraverseType(QualType(T, 0), /*TraverseQualifier=*/false));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:804:5: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:673:8: note: candidate 1: 'bool include_what_you_use::TypeEnumeratorWithoutSubstituted::TraverseType(clang::QualType)'
673 | bool TraverseType(QualType type) {
| ^~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:673:8: note: candidate expects 1 argument, 2 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc) [with Derived = include_what_you_use::TypeEnumeratorWithoutSubstituted]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1556:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDeducedTemplateSpecializationTypeLoc(clang::DeducedTemplateSpecializationTypeLoc, bool) [with Derived = include_what_you_use::TypeEnumeratorWithoutSubstituted]'
1558 | TRY_TO(TraverseNestedNameSpecifierLoc(TL.getQualifierLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:42:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc, bool) [with Derived = include_what_you_use::TypeEnumeratorWithoutSubstituted]'
42 | TYPE(DeducedTemplateSpecialization, DeducedType)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:681:35: required from here
681 | return Base::TraverseTypeLoc(type_loc);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:826:5: error: no matching function for call to 'include_what_you_use::TypeEnumeratorWithoutSubstituted::TraverseTypeLoc(clang::TypeLoc&, bool)'
826 | TRY_TO(TraverseTypeLoc(TL, /*TraverseQualifier=*/false));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:826:5: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:679:8: note: candidate 1: 'bool include_what_you_use::TypeEnumeratorWithoutSubstituted::TraverseTypeLoc(clang::TypeLoc)'
679 | bool TraverseTypeLoc(TypeLoc type_loc) {
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:679:8: note: candidate expects 1 argument, 2 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier) [with Derived = include_what_you_use::CanonicalTypeEnumerator]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1190:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDependentNameType(clang::DependentNameType*, bool) [with Derived = include_what_you_use::CanonicalTypeEnumerator]'
1192 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:45:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::CanonicalTypeEnumerator]'
45 | DEPENDENT_TYPE(DependentName, Type)
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:717:32: required from here
717 | return Base::TraverseType(type);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:804:5: error: no matching function for call to 'include_what_you_use::CanonicalTypeEnumerator::TraverseType(clang::QualType, bool)'
804 | TRY_TO(TraverseType(QualType(T, 0), /*TraverseQualifier=*/false));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:804:5: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:715:8: note: candidate 1: 'bool include_what_you_use::CanonicalTypeEnumerator::TraverseType(clang::QualType)'
715 | bool TraverseType(QualType type) {
| ^~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:715:8: note: candidate expects 1 argument, 2 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc) [with Derived = include_what_you_use::CanonicalTypeEnumerator]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1556:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDeducedTemplateSpecializationTypeLoc(clang::DeducedTemplateSpecializationTypeLoc, bool) [with Derived = include_what_you_use::CanonicalTypeEnumerator]'
1558 | TRY_TO(TraverseNestedNameSpecifierLoc(TL.getQualifierLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:42:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc, bool) [with Derived = include_what_you_use::CanonicalTypeEnumerator]'
42 | TYPE(DeducedTemplateSpecialization, DeducedType)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:723:35: required from here
723 | return Base::TraverseTypeLoc(type_loc);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:826:5: error: no matching function for call to 'include_what_you_use::CanonicalTypeEnumerator::TraverseTypeLoc(clang::TypeLoc&, bool)'
826 | TRY_TO(TraverseTypeLoc(TL, /*TraverseQualifier=*/false));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:826:5: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:721:8: note: candidate 1: 'bool include_what_you_use::CanonicalTypeEnumerator::TraverseTypeLoc(clang::TypeLoc)'
721 | bool TraverseTypeLoc(TypeLoc type_loc) {
| ^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:721:8: note: candidate expects 1 argument, 2 provided
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:26:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In member function 'bool include_what_you_use::ASTNode::FillLocationIfKnown(clang::SourceLocation*) const':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:63:46: warning: control reaches end of non-void function [-Wreturn-type]
63 | ::include_what_you_use::OstreamVoidifier() & \
| ~~~~~~~~~~~~~~~~~~~^~~
64 | ::include_what_you_use::FatalMessageEmitter( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | __FILE__, __LINE__, message).stream()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:281:3: note: in expansion of macro 'CHECK_UNREACHABLE_'
281 | CHECK_UNREACHABLE_("Unexpected kind of ASTNode");
| ^~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc: In function 'clang::SourceRange include_what_you_use::GetSourceRangeOfClassDecl(const clang::Decl*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:63:46: warning: control reaches end of non-void function [-Wreturn-type]
63 | ::include_what_you_use::OstreamVoidifier() & \
| ~~~~~~~~~~~~~~~~~~~^~~
64 | ::include_what_you_use::FatalMessageEmitter( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | __FILE__, __LINE__, message).stream()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.cc:868:3: note: in expansion of macro 'CHECK_UNREACHABLE_'
868 | CHECK_UNREACHABLE_("Cannot get source range for this decl type");
| ^~~~~~~~~~~~~~~~~~
[15/16] TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc
FAILED: [code=1] CMakeFiles/include-what-you-use.dir/iwyu.cc.o
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-g++ --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -DIWYU_GIT_REV=\"791e69e\" -DIWYU_RESOURCE_BINARY_PATH=\"\" -DIWYU_RESOURCE_DIR=\"\" -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -m64 -march=x86-64-v3 -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot -O2 -g -fcanon-prefix-map -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build=/usr/src/debug/include-what-you-use/0.25+git -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot-native= -pipe -fvisibility-inlines-hidden -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=c++17 -MD -MT CMakeFiles/include-what-you-use.dir/iwyu.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu.cc.o -c TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:210:14: error: 'ElaboratedType' has not been declared in 'clang'
210 | using clang::ElaboratedType;
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDeclRefExpr(clang::DeclRefExpr*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:851:55: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
851 | if (expr->getQualifier() && expr->getQualifier()->getAsType())
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:852:43: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
852 | parent_type = expr->getQualifier()->getAsType();
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'bool include_what_you_use::IwyuBaseAstVisitor<Derived>::VisitTypeTraitExpr(clang::TypeTraitExpr*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2158:23: error: 'UTT_IsReplaceable' is not a member of 'clang::TypeTrait' [-Wtemplate-body]
2158 | case TypeTrait::UTT_IsReplaceable:
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2241:59: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
2241 | lhs_mem_ptr_type->getQualifier()->getAsType(),
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2283:59: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
2283 | lhs_mem_ptr_type->getQualifier()->getAsType(),
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2367:52: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
2367 | elem_mem_ptr_type->getQualifier()->getAsType();
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2371:53: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
2371 | arg_mem_ptr_type->getQualifier()->getAsType());
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2453:59: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
2453 | rhs_mem_ptr_type->getQualifier()->getAsType(),
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2576:52: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
2576 | elem_mem_ptr_type->getQualifier()->getAsType();
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2580:53: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
2580 | arg_mem_ptr_type->getQualifier()->getAsType());
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:2625:59: error: base operand of '->' has non-pointer type 'clang::NestedNameSpecifier' [-Wtemplate-body]
2625 | lhs_mem_ptr_type->getQualifier()->getAsType(),
| ^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'bool include_what_you_use::IwyuBaseAstVisitor<Derived>::VisitNestedNameSpecifier(clang::NestedNameSpecifier*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3144:48: error: 'NamespaceAlias' is not a member of 'clang::NestedNameSpecifier' [-Wtemplate-body]
3144 | if (nns->getKind() == NestedNameSpecifier::NamespaceAlias) {
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3145:40: error: 'class clang::NestedNameSpecifier' has no member named 'getAsNamespaceAlias'; did you mean 'getAsNamespaceAndPrefix'? [-Wtemplate-body]
3145 | ReportDeclUse(CurrentLoc(), nns->getAsNamespaceAlias());
| ^~~~~~~~~~~~~~~~~~~
| getAsNamespaceAndPrefix
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'void include_what_you_use::IwyuBaseAstVisitor<Derived>::ReportWrittenTypeAlias(const clang::Type*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3459:54: error: 'ElaboratedType' was not declared in this scope; did you mean 'ElaboratedTypeLoc'? [-Wtemplate-body]
3459 | current_ast_node()->template GetParentAs<ElaboratedType>()) {
| ^~~~~~~~~~~~~~
| ElaboratedTypeLoc
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:26,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:129:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'bool include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationTypeHelper(const clang::TemplateSpecializationType*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3886:22: error: no match for 'operator==' (operand types are 'const clang::NestedNameSpecifier*' and 'clang::NestedNameSpecifier')
3886 | CHECK_(nns == method->getQualifier());
| ~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~
| | |
| | clang::NestedNameSpecifier
| const clang::NestedNameSpecifier*
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:57:21: note: in definition of macro 'CHECK_'
57 | #define CHECK_(x) (x) ? (void)0 : \
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3886:22: note: there are 11 candidates
3886 | CHECK_(nns == method->getQualifier());
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:57:21: note: in definition of macro 'CHECK_'
57 | #define CHECK_(x) (x) ? (void)0 : \
| ^
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/FileEntry.h:17,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/SourceLocation.h:17,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/Diagnostic.h:19,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/NestedNameSpecifierBase.h:18,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeBase.h:21,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclarationName.h:16,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclBase.h:19,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/Decl.h:20,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/Type.h:20,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/CanonicalType.h:17,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/ASTContext.h:18,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:101:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:100:16: note: candidate 1: 'template<class T, class U> constexpr bool clang::operator==(const CustomizableOptional<T>&, const CustomizableOptional<U>&)'
100 | constexpr bool operator==(const CustomizableOptional<T> &X,
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:100:16: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3886:46: note: mismatched types 'const clang::CustomizableOptional<T>' and 'const clang::NestedNameSpecifier*'
3886 | CHECK_(nns == method->getQualifier());
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:57:21: note: in definition of macro 'CHECK_'
57 | #define CHECK_(x) (x) ? (void)0 : \
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:140:16: note: candidate 2: 'template<class T> constexpr bool clang::operator==(const CustomizableOptional<T>&, std::nullopt_t)'
140 | constexpr bool operator==(const CustomizableOptional<T> &X, std::nullopt_t) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:140:16: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3886:46: note: mismatched types 'const clang::CustomizableOptional<T>' and 'const clang::NestedNameSpecifier*'
3886 | CHECK_(nns == method->getQualifier());
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:57:21: note: in definition of macro 'CHECK_'
57 | #define CHECK_(x) (x) ? (void)0 : \
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:145:16: note: candidate 3: 'template<class T> constexpr bool clang::operator==(std::nullopt_t, const CustomizableOptional<T>&)'
145 | constexpr bool operator==(std::nullopt_t, const CustomizableOptional<T> &X) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:145:16: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3886:46: note: 'clang::NestedNameSpecifier' is not derived from 'const clang::CustomizableOptional<T>'
3886 | CHECK_(nns == method->getQualifier());
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:57:21: note: in definition of macro 'CHECK_'
57 | #define CHECK_(x) (x) ? (void)0 : \
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:200:16: note: candidate 4: 'template<class T> constexpr bool clang::operator==(const CustomizableOptional<T>&, const T&)'
200 | constexpr bool operator==(const CustomizableOptional<T> &X, const T &Y) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:200:16: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3886:46: note: mismatched types 'const clang::CustomizableOptional<T>' and 'const clang::NestedNameSpecifier*'
3886 | CHECK_(nns == method->getQualifier());
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:57:21: note: in definition of macro 'CHECK_'
57 | #define CHECK_(x) (x) ? (void)0 : \
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:205:16: note: candidate 5: 'template<class T> constexpr bool clang::operator==(const T&, const CustomizableOptional<T>&)'
205 | constexpr bool operator==(const T &X, const CustomizableOptional<T> &Y) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/CustomizableOptional.h:205:16: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3886:46: note: 'clang::NestedNameSpecifier' is not derived from 'const clang::CustomizableOptional<T>'
3886 | CHECK_(nns == method->getQualifier());
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:57:21: note: in definition of macro 'CHECK_'
57 | #define CHECK_(x) (x) ? (void)0 : \
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/CanonicalType.h:203:13: note: candidate 6: 'template<class T, class U> bool clang::operator==(CanQual<T>, CanQual<U>)'
203 | inline bool operator==(CanQual<T> x, CanQual<U> y) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/CanonicalType.h:203:13: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3886:46: note: mismatched types 'clang::CanQual<T>' and 'const clang::NestedNameSpecifier*'
3886 | CHECK_(nns == method->getQualifier());
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:57:21: note: in definition of macro 'CHECK_'
57 | #define CHECK_(x) (x) ? (void)0 : \
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/FileEntry.h:284:13: note: candidate 7: 'bool clang::operator==(const FileEntry*, const OptionalFileEntryRef&)'
284 | inline bool operator==(const FileEntry *LHS, const OptionalFileEntryRef &RHS) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/FileEntry.h:284:41: note: no known conversion for argument 1 from 'const clang::NestedNameSpecifier*' to 'const clang::FileEntry*'
284 | inline bool operator==(const FileEntry *LHS, const OptionalFileEntryRef &RHS) {
| ~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/FileEntry.h:287:13: note: candidate 8: 'bool clang::operator==(const OptionalFileEntryRef&, const FileEntry*)'
287 | inline bool operator==(const OptionalFileEntryRef &LHS, const FileEntry *RHS) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/FileEntry.h:287:52: note: no known conversion for argument 1 from 'const clang::NestedNameSpecifier*' to 'const clang::OptionalFileEntryRef&' {aka 'const clang::CustomizableOptional<clang::FileEntryRef>&'}
287 | inline bool operator==(const OptionalFileEntryRef &LHS, const FileEntry *RHS) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/SourceLocation.h:191:13: note: candidate 9: 'bool clang::operator==(const SourceLocation&, const SourceLocation&)'
191 | inline bool operator==(const SourceLocation &LHS, const SourceLocation &RHS) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/SourceLocation.h:191:46: note: no known conversion for argument 1 from 'const clang::NestedNameSpecifier*' to 'const clang::SourceLocation&'
191 | inline bool operator==(const SourceLocation &LHS, const SourceLocation &RHS) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclOpenACC.h:19,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:23,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:112:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/OpenACCClause.h:256:6: note: candidate 10: 'bool clang::operator==(const OpenACCBindClause&, const OpenACCBindClause&)'
256 | bool operator==(const OpenACCBindClause &LHS, const OpenACCBindClause &RHS);
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/OpenACCClause.h:256:42: note: no known conversion for argument 1 from 'const clang::NestedNameSpecifier*' to 'const clang::OpenACCBindClause&'
256 | bool operator==(const OpenACCBindClause &LHS, const OpenACCBindClause &RHS);
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/NestedNameSpecifierBase.h:177:15: note: candidate 11: 'bool clang::operator==(NestedNameSpecifier, NestedNameSpecifier)'
177 | friend bool operator==(NestedNameSpecifier LHS, NestedNameSpecifier RHS) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/NestedNameSpecifierBase.h:177:46: note: no known conversion for argument 1 from 'const clang::NestedNameSpecifier*' to 'clang::NestedNameSpecifier'
177 | friend bool operator==(NestedNameSpecifier LHS, NestedNameSpecifier RHS) {
| ~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'bool include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationType(clang::TemplateSpecializationType*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3898:50: error: no matching function for call to 'include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationType(clang::TemplateSpecializationType*&)'
3898 | if (!Base::TraverseTemplateSpecializationType(type))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3898:50: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1195:1: note: candidate 1: 'bool clang::RecursiveASTVisitor<Derived>::TraverseTemplateSpecializationType(clang::TemplateSpecializationType*, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
1195 | DEF_TRAVERSE_TYPE(TemplateSpecializationType, {
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1195:1: note: candidate expects 2 arguments, 1 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'bool include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3905:53: error: no matching function for call to 'include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc&)'
3905 | if (!Base::TraverseTemplateSpecializationTypeLoc(typeloc))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3905:53: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1542:1: note: candidate 1: 'bool clang::RecursiveASTVisitor<Derived>::TraverseTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
1542 | DEF_TRAVERSE_TYPELOC(TemplateSpecializationType, {
| ^~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1542:1: note: candidate expects 2 arguments, 1 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'bool include_what_you_use::IwyuAstConsumer::VisitUsingType(clang::UsingType*)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5056:55: error: 'class clang::UsingType' has no member named 'getFoundDecl'
5056 | ReportDeclForwardDeclareUse(CurrentLoc(), type->getFoundDecl());
| ^~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5058:41: error: 'class clang::UsingType' has no member named 'getFoundDecl'
5058 | ReportDeclUse(CurrentLoc(), type->getFoundDecl());
| ^~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5062:43: error: 'class clang::UsingType' has no member named 'getUnderlyingType'; did you mean 'clang::QualType clang::UsingType::UnderlyingType'? (not accessible from this context)
5062 | const Type* underlying_type = type->getUnderlyingType().getTypePtr();
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeBase.h:6044:12: note: declared private here
6044 | QualType UnderlyingType;
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: At global scope:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5136:49: error: 'type_loc' has incomplete type
5136 | bool VisitElaboratedTypeLoc(ElaboratedTypeLoc type_loc) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:134:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_output.h:36:7: note: forward declaration of 'class clang::ElaboratedTypeLoc'
36 | class ElaboratedTypeLoc;
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'bool include_what_you_use::IwyuAstConsumer::VisitElaboratedTypeLoc(clang::ElaboratedTypeLoc)':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5142:18: error: 'VisitElaboratedTypeLoc' is not a member of 'include_what_you_use::IwyuAstConsumer::Base' {aka 'include_what_you_use::IwyuBaseAstVisitor<include_what_you_use::IwyuAstConsumer>'}
5142 | return Base::VisitElaboratedTypeLoc(type_loc);
| ^~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In member function 'std::set<const clang::Type*> include_what_you_use::IwyuAstConsumer::GetProvidedByTplArg(const clang::Type*) const':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5239:43: error: 'ElaboratedType' was not declared in this scope; did you mean 'ElaboratedTypeLoc'?
5239 | if (const auto* elaborated = dyn_cast<ElaboratedType>(type)) {
| ^~~~~~~~~~~~~~
| ElaboratedTypeLoc
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5239:58: error: no matching function for call to 'dyn_cast<<expression error> >(const clang::Type*&)'
5239 | if (const auto* elaborated = dyn_cast<ElaboratedType>(type)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5239:58: note: there are 4 candidates
In file included from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/Basic/LLVM.h:21,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/APValue.h:16,
from TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/Decl.h:17:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/llvm/Support/Casting.h:661:37: note: candidate 1: 'template<class To, class From> decltype(auto) llvm::dyn_cast(std::unique_ptr<From>&)'
661 | [[nodiscard]] inline decltype(auto) dyn_cast(std::unique_ptr<From> &Val) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/llvm/Support/Casting.h:661:37: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5239:58: error: template argument 1 is invalid
5239 | if (const auto* elaborated = dyn_cast<ElaboratedType>(type)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/llvm/Support/Casting.h:655:37: note: candidate 2: 'template<class To, class From> decltype(auto) llvm::dyn_cast(From*)'
655 | [[nodiscard]] inline decltype(auto) dyn_cast(From *Val) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/llvm/Support/Casting.h:655:37: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5239:58: error: template argument 1 is invalid
5239 | if (const auto* elaborated = dyn_cast<ElaboratedType>(type)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/llvm/Support/Casting.h:649:37: note: candidate 3: 'template<class To, class From> decltype(auto) llvm::dyn_cast(From&)'
649 | [[nodiscard]] inline decltype(auto) dyn_cast(From &Val) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/llvm/Support/Casting.h:649:37: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5239:58: error: template argument 1 is invalid
5239 | if (const auto* elaborated = dyn_cast<ElaboratedType>(type)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/llvm/Support/Casting.h:643:37: note: candidate 4: 'template<class To, class From> decltype(auto) llvm::dyn_cast(const From&)'
643 | [[nodiscard]] inline decltype(auto) dyn_cast(const From &Val) {
| ^~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/llvm/Support/Casting.h:643:37: note: template argument deduction/substitution failed:
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5239:58: error: template argument 1 is invalid
5239 | if (const auto* elaborated = dyn_cast<ElaboratedType>(type)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5244:20: error: 'const class clang::NestedNameSpecifier' has no member named 'getPrefix'
5244 | nns = nns->getPrefix();
| ^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3872:26: required from here
3872 | return TraverseType(type->getAliasedType());
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:79:1: error: no matching function for call to 'include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationType(clang::TemplateSpecializationType*, bool&)'
79 | NON_CANONICAL_UNLESS_DEPENDENT_TYPE(TemplateSpecialization, Type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:79:1: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3897:8: note: candidate 1: 'bool include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationType(clang::TemplateSpecializationType*)'
3897 | bool TraverseTemplateSpecializationType(TemplateSpecializationType* type) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3897:8: note: candidate expects 1 argument, 2 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:457:33: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
457 | return Base::TraverseTypeLoc(typeloc);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2791:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*, DataRecursionQueue*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor; DataRecursionQueue = llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1, bool> >]'
2795 | TRY_TO(TraverseTypeLoc(S->getArgumentTypeInfo()->getTypeLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3846:48: required from here
3846 | if (!Base::TraverseUnaryExprOrTypeTraitExpr(expr))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:79:1: error: no matching function for call to 'include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc, bool&)'
79 | NON_CANONICAL_UNLESS_DEPENDENT_TYPE(TemplateSpecialization, Type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:79:1: note: there is 1 candidate
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3903:8: note: candidate 1: 'bool include_what_you_use::InstantiatedTemplateVisitor::TraverseTemplateSpecializationTypeLoc(clang::TemplateSpecializationTypeLoc)'
3903 | bool TraverseTemplateSpecializationTypeLoc(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3903:8: note: candidate expects 1 argument, 2 provided
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseDependentNameType(clang::DependentNameType*, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:45:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
45 | DEPENDENT_TYPE(DependentName, Type)
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3872:26: required from here
3872 | return TraverseType(type->getAliasedType());
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1192:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1192 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseMemberPointerType(clang::MemberPointerType*, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:57:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
57 | TYPE(MemberPointer, Type)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3872:26: required from here
3872 | return TraverseType(type->getAliasedType());
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1017:3: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1017 | TRY_TO(TraverseNestedNameSpecifier(Qualifier));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h: In instantiation of 'const To* include_what_you_use::ASTNode::DynCast(const clang::NestedNameSpecifier*) const [with To = clang::NestedNameSpecifier]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:203:36: required from 'const To* include_what_you_use::ASTNode::GetAncestorAs(int) const [with To = clang::NestedNameSpecifier]'
203 | return target_node->DynCast<To>(dummy);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:233:29: required from 'const To* include_what_you_use::ASTNode::GetParentAs() const [with To = clang::NestedNameSpecifier]'
233 | return GetAncestorAs<To>(1);
| ~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3883:69: required from here
3883 | if (const auto* nns = ast_node->GetParentAs<NestedNameSpecifier>()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:293:48: error: cannot convert 'clang::NestedNameSpecifier' to 'const clang::NestedNameSpecifier*' in return
293 | return as_nnsloc_->getNestedNameSpecifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In instantiation of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2310:3: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseFunctionHelper(clang::FunctionDecl*) [with Derived = include_what_you_use::IwyuAstConsumer]'
2310 | TRY_TO(TraverseNestedNameSpecifierLoc(D->getQualifierLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2411:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseCXXMethodDecl(clang::CXXMethodDecl*) [with Derived = include_what_you_use::IwyuAstConsumer]'
2411 | DEF_TRAVERSE_DECL(CXXMethodDecl, {
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:4967:41: required from here
4967 | return Base::TraverseCXXMethodDecl(method_decl);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:475:62: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in initialization
475 | NestedNameSpecifier* nns = nns_loc.getNestedNameSpecifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseDependentNameType(clang::DependentNameType*, bool) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:45:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::IwyuAstConsumer]'
45 | DEPENDENT_TYPE(DependentName, Type)
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::IwyuAstConsumer]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5030:30: required from here
5030 | return Base::TraverseType(QualType{desugared, 0});
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1192:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1192 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseMemberPointerType(clang::MemberPointerType*, bool) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:57:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::IwyuAstConsumer]'
57 | TYPE(MemberPointer, Type)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::IwyuAstConsumer]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5030:30: required from here
5030 | return Base::TraverseType(QualType{desugared, 0});
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1017:3: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1017 | TRY_TO(TraverseNestedNameSpecifier(Qualifier));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypedefType(clang::TypedefType*, bool) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:83:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::IwyuAstConsumer]'
83 | NON_CANONICAL_TYPE(Typedef, Type)
| ^~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::IwyuAstConsumer]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5030:30: required from here
5030 | return Base::TraverseType(QualType{desugared, 0});
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1111:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1111 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseUnresolvedUsingType(clang::UnresolvedUsingType*, bool) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:85:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::IwyuAstConsumer]'
85 | DEPENDENT_TYPE(UnresolvedUsing, Type)
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::IwyuAstConsumer]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5030:30: required from here
5030 | return Base::TraverseType(QualType{desugared, 0});
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1107:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1107 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseUsingType(clang::UsingType*, bool) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:86:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::IwyuAstConsumer]'
86 | NON_CANONICAL_TYPE(Using, Type)
| ^~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::IwyuAstConsumer]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5030:30: required from here
5030 | return Base::TraverseType(QualType{desugared, 0});
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1103:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1103 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseMemberPointerTypeLoc(clang::MemberPointerTypeLoc, bool) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:57:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc, bool) [with Derived = include_what_you_use::IwyuAstConsumer]'
57 | TYPE(MemberPointer, Type)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:457:33: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc) [with Derived = include_what_you_use::IwyuAstConsumer]'
457 | return Base::TraverseTypeLoc(typeloc);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5040:33: required from here
5040 | return Base::TraverseTypeLoc(typeloc);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1323:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1323 | TRY_TO(TraverseNestedNameSpecifier(TL.getTypePtr()->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In instantiation of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2243:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseUnresolvedUsingValueDecl(clang::UnresolvedUsingValueDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
2246 | TRY_TO(TraverseNestedNameSpecifierLoc(D->getQualifierLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:216:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
216 | UNRESOLVEDUSINGVALUE(UnresolvedUsingValue, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:475:62: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in initialization
475 | NestedNameSpecifier* nns = nns_loc.getNestedNameSpecifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseMemberPointerTypeLoc(clang::MemberPointerTypeLoc, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:57:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
57 | TYPE(MemberPointer, Type)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:457:33: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
457 | return Base::TraverseTypeLoc(typeloc);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2791:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*, DataRecursionQueue*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor; DataRecursionQueue = llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1, bool> >]'
2795 | TRY_TO(TraverseTypeLoc(S->getArgumentTypeInfo()->getTypeLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3846:48: required from here
3846 | if (!Base::TraverseUnaryExprOrTypeTraitExpr(expr))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1323:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1323 | TRY_TO(TraverseNestedNameSpecifier(TL.getTypePtr()->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTagType(clang::TagType*, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1184:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseEnumType(clang::EnumType*, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
1184 | DEF_TRAVERSE_TYPE(EnumType, { TRY_TO(TraverseTagType(T, TraverseQualifier)); })
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:76:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
76 | TYPE(Enum, TagType)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3872:26: required from here
3872 | return TraverseType(type->getAliasedType());
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1180:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1180 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In instantiation of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifierLoc(clang::NestedNameSpecifierLoc) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2243:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseUnresolvedUsingValueDecl(clang::UnresolvedUsingValueDecl*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
2246 | TRY_TO(TraverseNestedNameSpecifierLoc(D->getQualifierLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:216:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
216 | UNRESOLVEDUSINGVALUE(UnresolvedUsingValue, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:4247:24: required from here
4247 | return TraverseDecl(const_cast<FunctionDecl*>(fn_decl));
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:475:62: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*' in initialization
475 | NestedNameSpecifier* nns = nns_loc.getNestedNameSpecifier();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTagType(clang::TagType*, bool) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1184:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseEnumType(clang::EnumType*, bool) [with Derived = include_what_you_use::IwyuAstConsumer]'
1184 | DEF_TRAVERSE_TYPE(EnumType, { TRY_TO(TraverseTagType(T, TraverseQualifier)); })
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:76:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::IwyuAstConsumer]'
76 | TYPE(Enum, TagType)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::IwyuAstConsumer]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:5030:30: required from here
5030 | return Base::TraverseType(QualType{desugared, 0});
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1180:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1180 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTemplateName(clang::TemplateName) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:501:38: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseTemplateName(clang::TemplateName) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
501 | return Base::TraverseTemplateName(template_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1206:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDeducedTemplateSpecializationType(clang::DeducedTemplateSpecializationType*, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
1208 | TRY_TO(TraverseTemplateName(T->getTemplateName()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:42:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
42 | TYPE(DeducedTemplateSpecialization, DeducedType)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3872:26: required from here
3872 | return TraverseType(type->getAliasedType());
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:866:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
866 | TRY_TO(TraverseNestedNameSpecifier(DTN->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:870:7: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
870 | TRY_TO(TraverseNestedNameSpecifier(QTN->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTemplateName(clang::TemplateName) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:501:38: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseTemplateName(clang::TemplateName) [with Derived = include_what_you_use::IwyuAstConsumer]'
501 | return Base::TraverseTemplateName(template_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:846:5: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDeclarationNameInfo(clang::DeclarationNameInfo) [with Derived = include_what_you_use::IwyuAstConsumer]'
846 | TRY_TO(TraverseTemplateName(
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2311:3: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseFunctionHelper(clang::FunctionDecl*) [with Derived = include_what_you_use::IwyuAstConsumer]'
2311 | TRY_TO(TraverseDeclarationNameInfo(D->getNameInfo()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2411:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseCXXMethodDecl(clang::CXXMethodDecl*) [with Derived = include_what_you_use::IwyuAstConsumer]'
2411 | DEF_TRAVERSE_DECL(CXXMethodDecl, {
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:4967:41: required from here
4967 | return Base::TraverseCXXMethodDecl(method_decl);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:866:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
866 | TRY_TO(TraverseNestedNameSpecifier(DTN->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:870:7: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
870 | TRY_TO(TraverseNestedNameSpecifier(QTN->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::IwyuAstConsumer]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseMemberPointerTypeLoc(clang::MemberPointerTypeLoc, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:57:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]'
57 | TYPE(MemberPointer, Type)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:457:33: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseTypeLoc(clang::TypeLoc) [with Derived = include_what_you_use::AstFlattenerVisitor]'
457 | return Base::TraverseTypeLoc(typeloc);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1666:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseBlockDecl(clang::BlockDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
1668 | TRY_TO(TraverseTypeLoc(TInfo->getTypeLoc()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:72:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
72 | BLOCK(Block, Decl)
| ^~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1323:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1323 | TRY_TO(TraverseNestedNameSpecifier(TL.getTypePtr()->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseDependentNameType(clang::DependentNameType*, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:45:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]'
45 | DEPENDENT_TYPE(DependentName, Type)
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::AstFlattenerVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1902:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseOMPDeclareReductionDecl(clang::OMPDeclareReductionDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
1906 | TRY_TO(TraverseType(D->getType()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:204:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
204 | OMPDECLAREREDUCTION(OMPDeclareReduction, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1192:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1192 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseMemberPointerType(clang::MemberPointerType*, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:57:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]'
57 | TYPE(MemberPointer, Type)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::AstFlattenerVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1902:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseOMPDeclareReductionDecl(clang::OMPDeclareReductionDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
1906 | TRY_TO(TraverseType(D->getType()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:204:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
204 | OMPDECLAREREDUCTION(OMPDeclareReduction, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1017:3: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1017 | TRY_TO(TraverseNestedNameSpecifier(Qualifier));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTypedefType(clang::TypedefType*, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:83:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]'
83 | NON_CANONICAL_TYPE(Typedef, Type)
| ^~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::AstFlattenerVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1902:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseOMPDeclareReductionDecl(clang::OMPDeclareReductionDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
1906 | TRY_TO(TraverseType(D->getType()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:204:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
204 | OMPDECLAREREDUCTION(OMPDeclareReduction, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1111:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1111 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseUnresolvedUsingType(clang::UnresolvedUsingType*, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:85:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]'
85 | DEPENDENT_TYPE(UnresolvedUsing, Type)
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::AstFlattenerVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1902:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseOMPDeclareReductionDecl(clang::OMPDeclareReductionDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
1906 | TRY_TO(TraverseType(D->getType()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:204:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
204 | OMPDECLAREREDUCTION(OMPDeclareReduction, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1107:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1107 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseUsingType(clang::UsingType*, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:86:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]'
86 | NON_CANONICAL_TYPE(Using, Type)
| ^~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::AstFlattenerVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1902:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseOMPDeclareReductionDecl(clang::OMPDeclareReductionDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
1906 | TRY_TO(TraverseType(D->getType()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:204:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
204 | OMPDECLAREREDUCTION(OMPDeclareReduction, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1103:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1103 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTemplateName(clang::TemplateName) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:501:38: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseTemplateName(clang::TemplateName) [with Derived = include_what_you_use::AstFlattenerVisitor]'
501 | return Base::TraverseTemplateName(template_name);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:846:5: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDeclarationNameInfo(clang::DeclarationNameInfo) [with Derived = include_what_you_use::AstFlattenerVisitor]'
846 | TRY_TO(TraverseTemplateName(
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2243:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseUnresolvedUsingValueDecl(clang::UnresolvedUsingValueDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
2247 | TRY_TO(TraverseDeclarationNameInfo(D->getNameInfo()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:216:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
216 | UNRESOLVEDUSINGVALUE(UnresolvedUsingValue, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:866:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
866 | TRY_TO(TraverseNestedNameSpecifier(DTN->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:870:7: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
870 | TRY_TO(TraverseNestedNameSpecifier(QTN->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In instantiation of 'bool include_what_you_use::IwyuBaseAstVisitor<Derived>::VisitCastExpr(clang::CastExpr*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/StmtNodes.inc:530:1: required from 'bool clang::RecursiveASTVisitor<Derived>::WalkUpFromCastExpr(clang::CastExpr*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
530 | ABSTRACT_STMT(CASTEXPR(CastExpr, Expr))
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/StmtNodes.inc:534:1: required from 'bool clang::RecursiveASTVisitor<Derived>::WalkUpFromImplicitCastExpr(clang::ImplicitCastExpr*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
534 | IMPLICITCASTEXPR(ImplicitCastExpr, CastExpr)
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/StmtNodes.inc:534:1: required from 'bool clang::RecursiveASTVisitor<Derived>::PostVisitStmt(clang::Stmt*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor]'
534 | IMPLICITCASTEXPR(ImplicitCastExpr, CastExpr)
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:687:9: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseStmt(clang::Stmt*, DataRecursionQueue*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor; DataRecursionQueue = llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1, bool> >]'
687 | TRY_TO(PostVisitStmt(CurrS));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2791:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseUnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTraitExpr*, DataRecursionQueue*) [with Derived = include_what_you_use::InstantiatedTemplateVisitor; DataRecursionQueue = llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1, bool> >]'
2791 | DEF_TRAVERSE_STMT(UnaryExprOrTypeTraitExpr, {
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:3846:48: required from here
3846 | if (!Base::TraverseUnaryExprOrTypeTraitExpr(expr))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:1865:5: warning: enumeration value 'CK_HLSLMatrixTruncation' not handled in switch [-Wswitch]
1865 | switch (expr->getCastKind()) {
| ^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h: In instantiation of 'bool clang::RecursiveASTVisitor<Derived>::TraverseTagType(clang::TagType*, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1184:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseEnumType(clang::EnumType*, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]'
1184 | DEF_TRAVERSE_TYPE(EnumType, { TRY_TO(TraverseTagType(T, TraverseQualifier)); })
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/TypeNodes.inc:76:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseType(clang::QualType, bool) [with Derived = include_what_you_use::AstFlattenerVisitor]'
76 | TYPE(Enum, TagType)
| ^~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:427:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseType(clang::QualType) [with Derived = include_what_you_use::AstFlattenerVisitor]'
427 | return Base::TraverseType(qualtype);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1902:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseOMPDeclareReductionDecl(clang::OMPDeclareReductionDecl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
1906 | TRY_TO(TraverseType(D->getType()));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/DeclNodes.inc:204:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
204 | OMPDECLAREREDUCTION(OMPDeclareReduction, ValueDecl)
| ^~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:398:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseDecl(clang::Decl*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
398 | return Base::TraverseDecl(decl);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:991:19: required from here
991 | TraverseDecl(decl);
| ~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:1180:5: error: cannot convert 'clang::NestedNameSpecifier' to 'clang::NestedNameSpecifier*'
1180 | TRY_TO(TraverseNestedNameSpecifier(T->getQualifier()));
| ^~~~~~
| |
| clang::NestedNameSpecifier
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:460:57: note: initializing argument 1 of 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseNestedNameSpecifier(clang::NestedNameSpecifier*) [with Derived = include_what_you_use::AstFlattenerVisitor]'
460 | bool TraverseNestedNameSpecifier(NestedNameSpecifier* nns) {
| ~~~~~~~~~~~~~~~~~~~~~^~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc: In instantiation of 'bool include_what_you_use::IwyuBaseAstVisitor<Derived>::VisitCastExpr(clang::CastExpr*) [with Derived = include_what_you_use::IwyuAstConsumer]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/StmtNodes.inc:530:1: required from 'bool clang::RecursiveASTVisitor<Derived>::WalkUpFromCastExpr(clang::CastExpr*) [with Derived = include_what_you_use::IwyuAstConsumer]'
530 | ABSTRACT_STMT(CASTEXPR(CastExpr, Expr))
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/StmtNodes.inc:534:1: required from 'bool clang::RecursiveASTVisitor<Derived>::WalkUpFromImplicitCastExpr(clang::ImplicitCastExpr*) [with Derived = include_what_you_use::IwyuAstConsumer]'
534 | IMPLICITCASTEXPR(ImplicitCastExpr, CastExpr)
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/StmtNodes.inc:534:1: required from 'bool clang::RecursiveASTVisitor<Derived>::PostVisitStmt(clang::Stmt*) [with Derived = include_what_you_use::IwyuAstConsumer]'
534 | IMPLICITCASTEXPR(ImplicitCastExpr, CastExpr)
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:687:9: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseStmt(clang::Stmt*, DataRecursionQueue*) [with Derived = include_what_you_use::IwyuAstConsumer; DataRecursionQueue = llvm::SmallVectorImpl<llvm::PointerIntPair<clang::Stmt*, 1, bool> >]'
687 | TRY_TO(PostVisitStmt(CurrS));
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:412:30: required from 'bool include_what_you_use::BaseAstVisitor<Derived>::TraverseStmt(clang::Stmt*) [with Derived = include_what_you_use::IwyuAstConsumer]'
412 | return Base::TraverseStmt(stmt);
| ~~~~~~~~~~~~~~~~~~^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2358:5: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseFunctionHelper(clang::FunctionDecl*) [with Derived = include_what_you_use::IwyuAstConsumer]'
2358 | TRY_TO(TraverseStmt(
| ^
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/recipe-sysroot/usr/include/clang/AST/RecursiveASTVisitor.h:2411:1: required from 'bool clang::RecursiveASTVisitor<Derived>::TraverseCXXMethodDecl(clang::CXXMethodDecl*) [with Derived = include_what_you_use::IwyuAstConsumer]'
2411 | DEF_TRAVERSE_DECL(CXXMethodDecl, {
| ^~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:4967:41: required from here
4967 | return Base::TraverseCXXMethodDecl(method_decl);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu.cc:1865:5: warning: enumeration value 'CK_HLSLMatrixTruncation' not handled in switch [-Wswitch]
1865 | switch (expr->getCastKind()) {
| ^~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h: In member function 'const void* include_what_you_use::ASTNode::DynCast(const void*) const [with Ignored = void]':
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_port.h:63:46: warning: control reaches end of non-void function [-Wreturn-type]
63 | ::include_what_you_use::OstreamVoidifier() & \
| ~~~~~~~~~~~~~~~~~~~^~~
64 | ::include_what_you_use::FatalMessageEmitter( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 | __FILE__, __LINE__, message).stream()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/sources/include-what-you-use-0.25+git/iwyu_ast_util.h:349:5: note: in expansion of macro 'CHECK_UNREACHABLE_'
349 | CHECK_UNREACHABLE_("Unknown kind");
| ^~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/temp/run.do_compile.3973068:152 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build 'TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/temp/run.do_compile.3973068, line 152
#2: cmake_do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/temp/run.do_compile.3973068, line 146
#3: do_compile, TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/temp/run.do_compile.3973068, line 141
#4: main, TOPDIR/tmp/work/x86-64-v3-poky-linux/include-what-you-use/0.25+git/temp/run.do_compile.3973068, line 165