浏览代码

Removed inline from function to solve unresolved link error (#1026)

Sebastian Tafuri 7 年之前
父节点
当前提交
0915ae5458
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/clang/lib/SPIRV/SPIRVEmitter.h

+ 1 - 1
tools/clang/lib/SPIRV/SPIRVEmitter.h

@@ -66,7 +66,7 @@ public:
   /// not be wrapped in ImplicitCastExpr (LValueToRValue) when appearing in
   /// HLSLVectorElementExpr since the generated HLSLVectorElementExpr itself can
   /// be lvalue or rvalue.
-  inline SpirvEvalInfo loadIfGLValue(const Expr *expr);
+  SpirvEvalInfo loadIfGLValue(const Expr *expr);
 
   /// Casts the given value from fromType to toType. fromType and toType should
   /// both be scalar or vector types of the same size.