summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/inline-functions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* When we're looking for redeclarations which might provide a definition in ↵Eli Friedman2012-07-021-0/+14
| | | | | | CodeGen, make sure we examine all the redeclarations. PR13252. llvm-svn: 159586
* Set the "implicitly inline" bit on a method as soon as we see a definitionJohn McCall2010-12-151-0/+24
| | | | | | | | within the class. Teach IR gen to look for function definitions in record lexical contexts when deciding whether to emit a function whose address was taken. Fixes PR8789. llvm-svn: 121833
* When an "inline" declaration was followed by a definition not markedDouglas Gregor2010-12-091-0/+8
| | | | | | | | | | | | | "inline", we weren't giving the definition weak linkage because the "inline" bit wasn't propagated. This was a longstanding FIXME that, somehow, hadn't triggered a bug in the wild. Fix this problem by tracking whether any declaration was marked "inline", and clean up the semantics of GNU's "extern inline" semantics calculation based on this change. Fixes <rdar://problem/8740363>. llvm-svn: 121373
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Be a little more clever about inline member functions that are marked inline ↵Anders Carlsson2009-12-041-0/+23
in the inline class declaration but not in the actual definition: class A { inline void f(); } void A::f() { } This is not the most ideal solution, since it doesn't work 100% with regular functions (as my FIXME comment states). llvm-svn: 90607
OpenPOWER on IntegriCloud