mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Fix clang warning.
This commit is contained in:
@@ -285,7 +285,7 @@ inline std::string VL_CVT_PACK_STR_NN(const std::string& lhs) VL_PURE {
|
||||
return lhs;
|
||||
}
|
||||
inline std::string VL_CVT_PACK_STR_NI(IData lhs) VL_PURE {
|
||||
WData lw[1]; VL_SET_WI(lw, lhs);
|
||||
WData lw[VL_WQ_WORDS_E]; VL_SET_WI(lw, lhs);
|
||||
return VL_CVT_PACK_STR_NW(1, lw);
|
||||
}
|
||||
inline std::string VL_CONCATN_NNN(const std::string& lhs, const std::string& rhs) VL_PURE {
|
||||
|
||||
@@ -108,6 +108,7 @@ sub check_gcc_flags {
|
||||
my $fh = IO::File->new("<$filename") or error("$! $filenme");
|
||||
while (defined (my $line = $fh->getline)) {
|
||||
chomp $line;
|
||||
print ":log: $line\n" if $Self->{verbose};
|
||||
if ($line =~ /\.cpp/) {
|
||||
my $filetype = ($line =~ /Slow/) ? "slow":"fast";
|
||||
my $opt = ($line !~ /-O2/) ? "slow":"fast";
|
||||
|
||||
Reference in New Issue
Block a user