Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Fingerhut <[email protected]>
  • Loading branch information
jafingerhut committed Oct 8, 2024
1 parent a9d664e commit 2961cb3
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 2961cb3

Please sign in to comment.