[Mlir-commits] [clang] [lld] [llvm] [mlir] [NFC][IWYU] Update Support library with IWYU. (PR #102707)

Nikita Popov llvmlistbot at llvm.org
Sat Aug 10 00:55:44 PDT 2024


nikic wrote:

Build fails with:
```

CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/llvm-project-build-stage1/lib/Support -I/var/llvm-compile-time-tracker/llvm-project/llvm/lib/Support -I/tmp/llvm-project-build-stage1/include -I/var/llvm-compile-time-tracker/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17  -fno-exceptions -funwind-tables -fno-rtti -MD -MT lib/Support/CMakeFiles/LLVMSupport.dir/VirtualFileSystem.cpp.o -MF lib/Support/CMakeFiles/LLVMSupport.dir/VirtualFileSystem.cpp.o.d -o lib/Support/CMakeFiles/LLVMSupport.dir/VirtualFileSystem.cpp.o -c /var/llvm-compile-time-tracker/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp
/var/llvm-compile-time-tracker/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp:1257:5: error: qualified name does not name a class before ‘:’ token
 1257 |     : public llvm::vfs::detail::DirIterImpl {
      |     ^
/var/llvm-compile-time-tracker/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp:1257:5: error: expected ‘{’ before ‘:’ token
/var/llvm-compile-time-tracker/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp:1257:5: error: expected unqualified-id before ‘:’ token
```

https://github.com/llvm/llvm-project/pull/102707


More information about the Mlir-commits mailing list