~ubuntu-branches/ubuntu/wily/verilator/wily-proposed

« back to all changes in this revision

Viewing changes to src/V3EmitCSyms.cpp

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2015-04-26 16:20:52 UTC
  • mfrom: (4.1.5 experimental)
  • Revision ID: package-import@ubuntu.com-20150426162052-69yjwh512m0adl2k
Tags: 3.872-2
* Upload to unstable.
* debian/patches/*: Added DEP-3 patch headers.
* Remove debian/gbp.conf, not needed in master branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
//
7
7
//*************************************************************************
8
8
//
9
 
// Copyright 2003-2014 by Wilson Snyder.  This program is free software; you can
 
9
// Copyright 2003-2015 by Wilson Snyder.  This program is free software; you can
10
10
// redistribute it and/or modify it under the terms of either the GNU
11
11
// Lesser General Public License Version 3 or the Perl Artistic License
12
12
// Version 2.0.
70
70
    struct CmpDpi {
71
71
        inline bool operator () (const AstCFunc* lhsp, const AstCFunc* rhsp) const {
72
72
            if (lhsp->dpiImport() != rhsp->dpiImport()) {
 
73
                // cppcheck-suppress comparisonOfFuncReturningBoolError
73
74
                return lhsp->dpiImport() < rhsp->dpiImport();
74
75
            }
75
76
            return lhsp->name() < rhsp->name();