Go to file
Reid Kleckner 0f764e57fc Revert "Mark instantiated function decls as inline specified if any pattern is"
It breaks down on this test case:
  void foo();
  template <typename T> class C {
    friend void foo();
  };
  inline void foo() {}
  C<int> c;

We shouldn't be marking the instantiation of the friend decl of foo as
inline-specified. It may be possible to fix this by determining if the
full definition is part of the current template, but it seems better to
rever tot green until we come up with a full solution.

This reverts commit r233817, as well as follow-ups r233820 and r233821.

llvm-svn: 234355
2015-04-07 20:46:51 +00:00
clang Revert "Mark instantiated function decls as inline specified if any pattern is" 2015-04-07 20:46:51 +00:00
clang-tools-extra [clang-tidy] Added a couple of tests for misc-static-assert. 2015-04-04 14:54:53 +00:00
compiler-rt sanitizer: new "strict_string_checks" run-time flag 2015-04-06 18:00:26 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement atanh builtin 2015-04-07 16:20:22 +00:00
libcxx In many places, there was an #ifdef/#else block that selected one of two implmentations of rebind_alloc based on whether or not we had template aliases. Create a helper struct to encapsulate that bit of logic, and replace all the ifdefs with uses of that struct. No functionality change intented. 2015-04-07 05:21:38 +00:00
libcxxabi [libcxxabi] Disallow Base to Derived conversions for catching pointers to members. 2015-04-06 23:03:01 +00:00
lld Merge MutableFile with SimpleFile. 2015-04-07 20:43:38 +00:00
lldb Added a testcase that checks that struct arguments 2015-04-07 20:33:10 +00:00
llgo Add documentation for llgoi, update README 2015-04-05 23:32:13 +00:00
llvm Add boolean to PrintStackTraceOnErrorSignal to disable crash reporting. 2015-04-07 20:43:23 +00:00
openmp Replace some unsafe API calls with safe alternatives on Windows, prepare code for similar actions on other platforms - wrap unsafe API calls into macros. 2015-04-02 13:27:08 +00:00
polly Fix polly build after LLVM r234263 2015-04-07 00:29:05 +00:00