LLVM Discussion Forums

Inline member functions in Type.h

Is there a reason why these two member functions are marked inline? Can the inline be removed?

llvm/include/llvm/IR/Type.h:308:16: warning: inline function ?llvm::Type* llvm::Type::getScalarType() const? used but never defined
   inline Type *getScalarType() const;
                ^~~~~~~~~~~~~
llvm/include/llvm/IR/Type.h:232:15: warning: inline function ?bool llvm::Type::isVectorTy() const? used but never defined
   inline bool isVectorTy() const;

I think I read somewhere folks trying to figure it out: Is this fixed or do you still see it?

I am still seeing these warnings. I rebased about 12 hours ago.