You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../extensions/c++/src/midend.cpp:62:13: error: no matching constructor for
initialization of 'P4::UniqueParameters'
new P4::UniqueParameters(&refMap),
^ ~~~~~~~
../frontends/p4/uniqueNames.h:131:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'P4::ReferenceMap ' to
'const P4::UniqueParameters' for 1st argument
class UniqueParameters : public PassManager {
^
../frontends/p4/uniqueNames.h:131:7: note: candidate constructor (the implicit move
constructor) not viable: no known conversion from 'P4::ReferenceMap ' to
'P4::UniqueParameters' for 1st argument
class UniqueParameters : public PassManager {
^
../frontends/p4/uniqueNames.h:135:5: note: candidate constructor not viable:
requires 2 arguments, but 1 was provided
UniqueParameters(ReferenceMap refMap, TypeMap typeMap);
^
1 error generated.
../extensions/c++/src/profile.cpp:17:19: error: no member named 'TableProperty' in
namespace 'IR'
if (p->isIR::TableProperty()) {
~~~~^
../extensions/c++/src/profile.cpp:17:33: error: expected unqualified-id
if (p->isIR::TableProperty()) {
^
../extensions/c++/src/profile.cpp:18:27: error: no member named 'TableProperty' in
namespace 'IR'
auto pp = p->toIR::TableProperty();
~~~~^
../extensions/c++/src/profile.cpp:18:41: error: expected unqualified-id
auto pp = p->toIR::TableProperty();
^
../extensions/c++/src/profile.cpp:20:54: error: expected '(' for function-style cast
or type construction
auto expr = pp->value->toIR::ExpressionValue();
~~~~~~~~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:20:56: error: expected expression
auto expr = pp->value->toIR::ExpressionValue();
^
../extensions/c++/src/profile.cpp:21:46: error: expected '(' for function-style cast
or type construction
if (expr->expression->isIR::Constant()) {
~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:21:48: error: expected expression
if (expr->expression->isIR::Constant()) {
^
../extensions/c++/src/profile.cpp:22:55: error: expected '(' for function-style cast
or type construction
auto cst = expr->expression->toIR::Constant();
~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:22:57: error: expected expression
auto cst = expr->expression->toIR::Constant();
^
10 errors generated.
The text was updated successfully, but these errors were encountered:
../extensions/c++/src/midend.cpp:62:13: error: no matching constructor for
initialization of 'P4::UniqueParameters'
new P4::UniqueParameters(&refMap),
^ ~~~~~~~
../frontends/p4/uniqueNames.h:131:7: note: candidate constructor (the implicit copy
constructor) not viable: no known conversion from 'P4::ReferenceMap ' to
'const P4::UniqueParameters' for 1st argument
class UniqueParameters : public PassManager {
^
../frontends/p4/uniqueNames.h:131:7: note: candidate constructor (the implicit move
constructor) not viable: no known conversion from 'P4::ReferenceMap ' to
'P4::UniqueParameters' for 1st argument
class UniqueParameters : public PassManager {
^
../frontends/p4/uniqueNames.h:135:5: note: candidate constructor not viable:
requires 2 arguments, but 1 was provided
UniqueParameters(ReferenceMap refMap, TypeMap typeMap);
^
1 error generated.
../extensions/c++/src/profile.cpp:17:19: error: no member named 'TableProperty' in
namespace 'IR'
if (p->isIR::TableProperty()) {
~~~~^
../extensions/c++/src/profile.cpp:17:33: error: expected unqualified-id
if (p->isIR::TableProperty()) {
^
../extensions/c++/src/profile.cpp:18:27: error: no member named 'TableProperty' in
namespace 'IR'
auto pp = p->toIR::TableProperty();
~~~~^
../extensions/c++/src/profile.cpp:18:41: error: expected unqualified-id
auto pp = p->toIR::TableProperty();
^
../extensions/c++/src/profile.cpp:20:54: error: expected '(' for function-style cast
or type construction
auto expr = pp->value->toIR::ExpressionValue();
~~~~~~~~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:20:56: error: expected expression
auto expr = pp->value->toIR::ExpressionValue();
^
../extensions/c++/src/profile.cpp:21:46: error: expected '(' for function-style cast
or type construction
if (expr->expression->isIR::Constant()) {
~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:21:48: error: expected expression
if (expr->expression->isIR::Constant()) {
^
../extensions/c++/src/profile.cpp:22:55: error: expected '(' for function-style cast
or type construction
auto cst = expr->expression->toIR::Constant();
~~~~~~~~~~~~^
../extensions/c++/src/profile.cpp:22:57: error: expected expression
auto cst = expr->expression->toIR::Constant();
^
10 errors generated.
The text was updated successfully, but these errors were encountered: