Change PointerUnionX::getFromOpaqueValue() to be declared 'static inline' instead of 'static'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99892 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ted Kremenek 2010-03-30 16:20:03 +00:00
parent 32e6518de3
commit 8260ea5c6c

View File

@ -124,7 +124,7 @@ namespace llvm {
}
void *getOpaqueValue() const { return Val.getOpaqueValue(); }
static PointerUnion getFromOpaqueValue(void *VP) {
static inline PointerUnion getFromOpaqueValue(void *VP) {
PointerUnion V;
V.Val = ValTy::getFromOpaqueValue(VP);
return V;
@ -227,7 +227,7 @@ namespace llvm {
}
void *getOpaqueValue() const { return Val.getOpaqueValue(); }
static PointerUnion3 getFromOpaqueValue(void *VP) {
static inline PointerUnion3 getFromOpaqueValue(void *VP) {
PointerUnion3 V;
V.Val = ValTy::getFromOpaqueValue(VP);
return V;
@ -338,7 +338,7 @@ namespace llvm {
}
void *getOpaqueValue() const { return Val.getOpaqueValue(); }
static PointerUnion4 getFromOpaqueValue(void *VP) {
static inline PointerUnion4 getFromOpaqueValue(void *VP) {
PointerUnion4 V;
V.Val = ValTy::getFromOpaqueValue(VP);
return V;