Skip to content

Commit

Permalink
Address lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
qobilidop committed Jun 26, 2024
1 parent dafdb11 commit a77da6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backends/tc/ebpfCodeGen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1235,7 +1235,8 @@ const PNAEbpfGenerator *ConvertToEbpfPNA::build(const IR::ToplevelBlock *tlb) {
!d->is<IR::Type_Error>()) {
if (d->srcInfo.isValid()) {
auto sourceFile = d->srcInfo.getSourceFile();
if (sourceFile.endsWith("/pna.p4") || (sourceFile.find("p4include/pna/") != nullptr)) {
if (sourceFile.endsWith("/pna.p4") ||
(sourceFile.find("p4include/pna/") != nullptr)) {
// do not generate standard PNA types
continue;
}
Expand Down

0 comments on commit a77da6b

Please sign in to comment.