Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jafingerhut committed Oct 8, 2024
1 parent 9731287 commit 6279f27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontends/p4/duplicateHierarchicalNameCheck.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2017 VMware, Inc.
Copyright 2024 Cisco Systems, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -20,7 +20,9 @@ limitations under the License.

namespace P4 {

cstring DuplicateHierarchicalNameCheck::getName(const IR::IDeclaration *decl) { return decl->getName(); }
cstring DuplicateHierarchicalNameCheck::getName(const IR::IDeclaration *decl) {
return decl->getName();
}

const IR::Node *DuplicateHierarchicalNameCheck::postorder(IR::Annotation *annotation) {
if (annotation->name != IR::Annotation::nameAnnotation) return annotation;
Expand Down

0 comments on commit 6279f27

Please sign in to comment.