fastmodel: Suppress a spurious warning on clang for amba_pv.h.
This header comes from the fast model distribution and so we can't (easily) disable the warning locally. Change-Id: I2c1eee48f8970bb17466f0759f0077a5d45e76af Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23123 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -30,7 +30,10 @@
|
||||
#ifndef __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
|
||||
#define __ARCH_ARM_FASTMODEL_GIC_GIC_HH__
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Woverloaded-virtual"
|
||||
#include <amba_pv.h>
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
||||
@@ -30,7 +30,10 @@
|
||||
#ifndef __ARCH_ARM_FASTMODEL_AMBA_FROM_TLM_BRIDGE_HH__
|
||||
#define __ARCH_ARM_FASTMODEL_AMBA_FROM_TLM_BRIDGE_HH__
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Woverloaded-virtual"
|
||||
#include "amba_pv.h"
|
||||
#pragma clang diagnostic pop
|
||||
#include "arch/arm/fastmodel/amba_ports.hh"
|
||||
#include "systemc/tlm_port_wrapper.hh"
|
||||
|
||||
|
||||
@@ -30,7 +30,10 @@
|
||||
#ifndef __ARCH_ARM_FASTMODEL_AMBA_PORTS_HH__
|
||||
#define __ARCH_ARM_FASTMODEL_AMBA_PORTS_HH__
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Woverloaded-virtual"
|
||||
#include <amba_pv.h>
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#include "systemc/tlm_port_wrapper.hh"
|
||||
|
||||
|
||||
@@ -30,7 +30,10 @@
|
||||
#ifndef __ARCH_ARM_FASTMODEL_AMBA_TO_TLM_BRIDGE_HH__
|
||||
#define __ARCH_ARM_FASTMODEL_AMBA_TO_TLM_BRIDGE_HH__
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Woverloaded-virtual"
|
||||
#include "amba_pv.h"
|
||||
#pragma clang diagnostic pop
|
||||
#include "arch/arm/fastmodel/amba_ports.hh"
|
||||
#include "systemc/tlm_port_wrapper.hh"
|
||||
|
||||
|
||||
@@ -30,7 +30,10 @@
|
||||
#ifndef __ARCH_ARM_FASTMODEL_COMMON_SIGNAL_RECEIVER_HH__
|
||||
#define __ARCH_ARM_FASTMODEL_COMMON_SIGNAL_RECEIVER_HH__
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Woverloaded-virtual"
|
||||
#include <amba_pv.h>
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
#include <functional>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user