Go to file
Alp Toker a2794f9f36 Introduce and use Decl::getAsFunction() to simplify templated function checks
Lift the getFunctionDecl() utility out of the parser into a general
Decl::getAsFunction() and use it to simplify other parts of the implementation.

Reduce isFunctionOrFunctionTemplate() to a simple type check that works the
same was as the other is* functions and move unwrapping of shadowed decls to
callers so it doesn't get run twice.

Shuffle around canSkipFunctionBody() to reduce virtual dispatch on ASTConsumer.
There's no need to query when we already know the body can't be skipped.

llvm-svn: 199794
2014-01-22 07:29:52 +00:00
clang Introduce and use Decl::getAsFunction() to simplify templated function checks 2014-01-22 07:29:52 +00:00
clang-tools-extra [CMake] Deprecate CLANG_RUNTIME_OUTPUT_INTDIR and CLANG_LIBRARY_OUTPUT_INTDIR. 2014-01-19 13:00:01 +00:00
compiler-rt [Sanitizer] try harder to fix Werror build break after r199729 2014-01-21 13:06:38 +00:00
debuginfo-tests don't use CHECK-NEXT because it may be on the same line. 2013-09-18 23:01:54 +00:00
libclc Fix build broken by LLVM commit r199279 2014-01-20 20:28:48 +00:00
libcxx Removed extra space; thanks to thakis_'s eagle eye 2014-01-21 00:03:44 +00:00
libcxxabi Implement demangling for user-defined operators. 2014-01-06 23:05:04 +00:00
lld Update for llvm api change. 2014-01-22 00:14:56 +00:00
lldb Add --lldb-command command-line option to lldb-gdbserver 2014-01-21 18:46:22 +00:00
llvm Add unused result attr to the casting templates 2014-01-22 07:28:49 +00:00
openmp For your Christmas hacking pleasure. 2013-12-23 17:28:57 +00:00
polly Adjust test case to changed cloog output 2014-01-19 11:53:51 +00:00