mirror of https://github.com/PCSX2/pcsx2.git
Take care of a few clang warnings.
This commit is contained in:
parent
7c17b9ef5b
commit
441e786d3d
|
@ -70,12 +70,12 @@ static __inline__ __attribute__((always_inline)) unsigned long long xgetbv(unsig
|
|||
// Rotate instruction
|
||||
#if defined(__clang__)
|
||||
// Seriously what is so complicated to provided this bunch of intrinsics in clangs.
|
||||
static unsigned int _rotr(unsigned int x, int s)
|
||||
[[maybe_unused]] static unsigned int _rotr(unsigned int x, int s)
|
||||
{
|
||||
return (x >> s) | (x << (32 - s));
|
||||
}
|
||||
|
||||
static unsigned int _rotl(unsigned int x, int s)
|
||||
[[maybe_unused]] static unsigned int _rotl(unsigned int x, int s)
|
||||
{
|
||||
return (x << s) | (x >> (32 - s));
|
||||
}
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
*/
|
||||
|
||||
#pragma once
|
||||
// Ignore format for this file, as it spams a lot of warnings about uint64 and %llu.
|
||||
#pragma clang diagnostic ignored "-Wformat"
|
||||
|
||||
#include "GS.h"
|
||||
#include "GSLocalMemory.h"
|
||||
|
|
Loading…
Reference in New Issue