[emu-10-x86_64] clang-plugin tests fails
Closed this issue · 2 comments
lissyx commented
1:02.72 build/clang-plugin/libclang-plugin.so
1:02.84 build/clang-plugin/tests
1:02.90 error: 'error' diagnostics expected but not seen:
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestExplicitOperatorBool.cpp Line 4: bad implicit conversion operator for 'Bad'
1:02.90 error: 'note' diagnostics expected but not seen:
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestExplicitOperatorBool.cpp Line 4: consider adding the explicit keyword to 'operator bool'
1:02.90 2 errors generated.
1:02.90 error: 'error' diagnostics expected but not seen:
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 34: calling `get` on a temporary, potentially allowing use after free of the raw pointer
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 35: calling `get` on a temporary, potentially allowing use after free of the raw pointer
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 40: calling `get` on a temporary, potentially allowing use after free of the raw pointer
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 43: calling `get` on a temporary, potentially allowing use after free of the raw pointer
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 44: calling `get` on a temporary, potentially allowing use after free of the raw pointer
1:02.90 error: 'note' diagnostics expected but not seen:
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 24: through the variable declared here
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 25: the raw pointer escapes the function scope here
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 27: the raw pointer escapes the function scope here
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 27: through the parameter declared here
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 30: the raw pointer escapes the function scope here
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestDanglingOnTemporary.cpp Line 30: through the return value of the function declared here
1:02.90 11 errors generated.
1:02.90 error: 'error' diagnostics expected but not seen:
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 4: bad implicit conversion constructor for 'Foo'
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 5: bad implicit conversion constructor for 'Foo'
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 6: bad implicit conversion constructor for 'Foo'
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 8: bad implicit conversion constructor for 'Foo'
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 47: bad implicit conversion constructor for 'Template'
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 49: bad implicit conversion constructor for 'Template'
1:02.90 error: 'note' diagnostics expected but not seen:
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 4: consider adding the explicit keyword to the constructor
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 5: consider adding the explicit keyword to the constructor
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 6: consider adding the explicit keyword to the constructor
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 8: consider adding the explicit keyword to the constructor
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 47: consider adding the explicit keyword to the constructor
1:02.90 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestBadImplicitConversionCtor.cpp Line 49: consider adding the explicit keyword to the constructor
1:02.90 12 errors generated.
1:02.91 make[4]: *** [/home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/config/rules.mk:748 : TestExplicitOperatorBool.o] Erreur 1
1:02.91 make[4]: *** Attente des tâches non terminées....
1:02.91 make[4]: *** [/home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/config/rules.mk:746 : TestDanglingOnTemporary.o] Erreur 1
1:02.91 make[4]: *** [/home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/config/rules.mk:746 : TestBadImplicitConversionCtor.o] Erreur 1
1:02.91 error: 'error' diagnostics expected but not seen:
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 43: Type 'NonTrivial' must not be used as return type of extern "C" function
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 44: Type 'NonTrivialT<int>' must not be used as return type of extern "C" function
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 45: Type 'NonTrivialT<float>' must not be used as return type of extern "C" function
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 50: Type 'TrivialT<float>' must not be used as return type of extern "C" function
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 54: Type 'NonTrivial' must not be used as parameter to extern "C" function
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 56: Type 'NonTrivialT<int>' must not be used as parameter to extern "C" function
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 58: Type 'TrivialT<float>' must not be used as parameter to extern "C" function
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 60: Type 'TransitivelyNonTrivial' must not be used as return type of extern "C" function
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 61: Type 'TransitivelyNonTrivial' must not be used as parameter to extern "C" function
1:02.91 error: 'note' diagnostics expected but not seen:
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 43: Please consider using a pointer or reference instead
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 44: Please consider using a pointer or reference, or explicitly instantiating the template instead
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 45: Please consider using a pointer or reference, or explicitly instantiating the template instead
1:02.91 File /home/alexandre/Documents/codaz/Mozilla/MiscWork/B2G.KaiOS/gecko/build/clang-plugin/tests/TestNonTrivialTypeInFfi.cpp Line 50: Please consider using a pointer or reference, or explicitly instantiating the template instead
[...]
lissyx commented
I'm wondering if clang-plugin depends on clang-10 that was backed out in https://bugzilla.mozilla.org/show_bug.cgi?id=1616692 ?