https://llvm.org/bugs/show_bug.cgi?id=29032
Bug ID: 29032 Summary: Clang ignores "inline" keyword on an out-of-line method definition of a class template. Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Frontend Assignee: unassignedclangb...@nondot.org Reporter: mail+l...@tzik.jp CC: llvm-bugs@lists.llvm.org Classification: Unclassified Here is a repro case. The "inline" keyword below is unexpectedly ignored. Note that "inline" on the declaration of |bar| takes effect. $ clang++ -S -emit-llvm -o - foo.cc | grep inlinehint -- foo.cc template <typename> struct Foo { void bar(); }; template <typename T> inline void Foo<T>::bar() {} int main() { Foo<int> oo; oo.bar(); return 0; } -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs