llvm-project/clang/lib
Rafael Espindola 92045bc37c Further fixes when thiscall is the default for methods.
The previous patches tried to deduce the correct function type. I now realize
this is not possible in general. Consider

class foo {
    template <typename T> static void bar(T v);
};
extern template void foo::bar(const void *);

We will only know that bar is static after a lookup, so we have to handle this
in the template instantiation code.

This patch reverts my previous two changes (but not the tests) and instead
handles the issue in DeduceTemplateArguments.

llvm-svn: 195154
2013-11-19 21:07:04 +00:00
..
ARCMigrate ObjectiveC migrator. Do not migrate categories with 2013-11-19 18:17:31 +00:00
AST Fix the problem that the arm_neon.h can't be used in a cpp file. Also fix a minor bug with poly64 name mangling. 2013-11-17 09:14:46 +00:00
ASTMatchers Add partial support for the hasDeclaration() matcher in the dynamic layer. 2013-11-18 14:53:42 +00:00
Analysis The code using the StmtPrinterHelper object failed to account for a null object in many cases, which could have led to crashes were it ever to be null. Now passing the object by reference instead of by pointer because it is never null in practice. No functional changes intended. 2013-11-18 20:11:50 +00:00
Basic ARM: embedded v7 'darwin' doesn't get min-version defines. 2013-11-19 20:18:39 +00:00
CodeGen Implement AArch64 neon instructions class SIMD lsone and SIMD lone-post. 2013-11-19 02:17:31 +00:00
Driver [Mips] Do not adjust float-abi flags in case of MIPS16 mode. This code 2013-11-19 12:22:38 +00:00
Edit ObjectiveC migrator: When doing migration, migrator must suggest 2013-10-01 21:16:29 +00:00
Format Refactoring: replaced (*(I + x)) with I[x]. 2013-11-19 14:30:44 +00:00
Frontend Using an invalid -O falls back on -O3 instead of an error 2013-11-18 13:23:07 +00:00
FrontendTool [objcmt] If the frontend option is frontend::MigrateSource then we don't need to create 2013-11-13 23:38:17 +00:00
Headers Define [U]LLONG_{MIN,MAX} for C++11, add tests. 2013-10-27 19:00:49 +00:00
Index libclang does not depend directly on clangFormat; but clangIndex does 2013-11-13 22:26:04 +00:00
Lex Corrected comment about MS prgama warning. 2013-11-16 00:16:03 +00:00
Parse Make helper function static. 2013-11-18 16:50:24 +00:00
Rewrite Fix typo: inccrementally 2013-10-13 12:02:16 +00:00
Sema Further fixes when thiscall is the default for methods. 2013-11-19 21:07:04 +00:00
Serialization Include non-explicit submodules in exported module list 2013-11-04 21:51:33 +00:00
StaticAnalyzer [analyzer] Better modeling of memcpy by the CStringChecker (PR16731). 2013-11-17 09:18:48 +00:00
Tooling Tooling/CompilationDatabase.cpp: Use \return here instead of \param[out]. [-Wdocumentation] 2013-11-17 18:05:49 +00:00
CMakeLists.txt Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00
Makefile Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00