зеркало из https://github.com/microsoft/clang.git
Eliminate some Clang warnings
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94177 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
3cf7c5dc23
Коммит
568bb2d318
|
@ -257,7 +257,7 @@ class DefaultABIInfo : public ABIInfo {
|
|||
|
||||
class DefaultTargetCodeGenInfo : public TargetCodeGenInfo {
|
||||
public:
|
||||
DefaultTargetCodeGenInfo():TargetCodeGenInfo(new DefaultABIInfo()) {};
|
||||
DefaultTargetCodeGenInfo():TargetCodeGenInfo(new DefaultABIInfo()) {}
|
||||
};
|
||||
|
||||
llvm::Value *DefaultABIInfo::EmitVAArg(llvm::Value *VAListAddr, QualType Ty,
|
||||
|
@ -320,7 +320,7 @@ public:
|
|||
class X86_32TargetCodeGenInfo : public TargetCodeGenInfo {
|
||||
public:
|
||||
X86_32TargetCodeGenInfo(ASTContext &Context, bool d, bool p)
|
||||
:TargetCodeGenInfo(new X86_32ABIInfo(Context, d, p)) {};
|
||||
:TargetCodeGenInfo(new X86_32ABIInfo(Context, d, p)) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -619,7 +619,7 @@ public:
|
|||
|
||||
class X86_64TargetCodeGenInfo : public TargetCodeGenInfo {
|
||||
public:
|
||||
X86_64TargetCodeGenInfo():TargetCodeGenInfo(new X86_64ABIInfo()) {};
|
||||
X86_64TargetCodeGenInfo():TargetCodeGenInfo(new X86_64ABIInfo()) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1428,7 +1428,7 @@ class PIC16ABIInfo : public ABIInfo {
|
|||
|
||||
class PIC16TargetCodeGenInfo : public TargetCodeGenInfo {
|
||||
public:
|
||||
PIC16TargetCodeGenInfo():TargetCodeGenInfo(new PIC16ABIInfo()) {};
|
||||
PIC16TargetCodeGenInfo():TargetCodeGenInfo(new PIC16ABIInfo()) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1493,7 +1493,7 @@ private:
|
|||
class ARMTargetCodeGenInfo : public TargetCodeGenInfo {
|
||||
public:
|
||||
ARMTargetCodeGenInfo(ARMABIInfo::ABIKind K)
|
||||
:TargetCodeGenInfo(new ARMABIInfo(K)) {};
|
||||
:TargetCodeGenInfo(new ARMABIInfo(K)) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1754,7 +1754,7 @@ class SystemZABIInfo : public ABIInfo {
|
|||
|
||||
class SystemZTargetCodeGenInfo : public TargetCodeGenInfo {
|
||||
public:
|
||||
SystemZTargetCodeGenInfo():TargetCodeGenInfo(new SystemZABIInfo()) {};
|
||||
SystemZTargetCodeGenInfo():TargetCodeGenInfo(new SystemZABIInfo()) {}
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1816,7 +1816,7 @@ namespace {
|
|||
|
||||
class MSP430TargetCodeGenInfo : public TargetCodeGenInfo {
|
||||
public:
|
||||
MSP430TargetCodeGenInfo():TargetCodeGenInfo(new DefaultABIInfo()) {};
|
||||
MSP430TargetCodeGenInfo():TargetCodeGenInfo(new DefaultABIInfo()) {}
|
||||
void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
|
||||
CodeGen::CodeGenModule &M) const;
|
||||
};
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace clang {
|
|||
ABIInfo *Info;
|
||||
public:
|
||||
// WARNING: Acquires the ownership of ABIInfo.
|
||||
TargetCodeGenInfo(ABIInfo *info = 0):Info(info) { };
|
||||
TargetCodeGenInfo(ABIInfo *info = 0):Info(info) { }
|
||||
virtual ~TargetCodeGenInfo();
|
||||
|
||||
/// getABIInfo() - Returns ABI info helper for the target.
|
||||
|
@ -43,7 +43,7 @@ namespace clang {
|
|||
/// SetTargetAttributes - Provides a convenient hook to handle extra
|
||||
/// target-specific attributes for the given global.
|
||||
virtual void SetTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
|
||||
CodeGen::CodeGenModule &M) const { };
|
||||
CodeGen::CodeGenModule &M) const { }
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче