hanchenye-llvm-project/clang/lib/Parse
Alp Toker 314cc81b8c Rename getResultType() on function and method declarations to getReturnType()
A return type is the declared or deduced part of the function type specified in
the declaration.

A result type is the (potentially adjusted) type of the value of an expression
that calls the function.

Rule of thumb:

  * Declarations have return types and parameters.
  * Expressions have result types and arguments.

llvm-svn: 200082
2014-01-25 16:55:45 +00:00
..
CMakeLists.txt Removing a bit of custom parsing functionality used by the thread safety analysis APIs. Now using tablegen to determine whether an attribute's arguments should be parsed in an unevaluated context instead of relying on a separate, hard-coded list of attributes. 2014-01-09 19:39:35 +00:00
Makefile
ParseAST.cpp Use SmallVectorImpl instead of SmallVector for iterators and references to avoid specifying the vector size unnecessarily. 2013-07-04 03:08:24 +00:00
ParseCXXInlineMethods.cpp Rename getResultType() on function and method declarations to getReturnType() 2014-01-25 16:55:45 +00:00
ParseDecl.cpp Remove some hard-coded specialness for thread-safety attributes from the parser, and made it more declarative. If an attribute is allowed to appear on a function definition when late parsed, it can now use the FunctionDefinition attribute subject. It's treated as a FunctionDecl for most purposes, except it also gets exposed on the AttributeList so that it can be used while parsing. 2014-01-20 17:18:35 +00:00
ParseDeclCXX.cpp Allow virt-specifiers after GNU attributes in member-declarators. GCC doesn't 2014-01-24 22:34:35 +00:00
ParseExpr.cpp Fix for PR9812: warn about bool instead of _Bool. 2014-01-15 09:15:43 +00:00
ParseExprCXX.cpp Fix for PR9812: warn about bool instead of _Bool. 2014-01-15 09:15:43 +00:00
ParseInit.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParseObjc.cpp ExpectAndConsume: Diagnose errors automatically 2014-01-01 03:08:43 +00:00
ParseOpenMP.cpp Sort all the #include lines with LLVM's utils/sort_includes.py which 2014-01-07 11:51:46 +00:00
ParsePragma.cpp Support and use token kinds as diagnostic arguments 2013-12-24 09:48:30 +00:00
ParsePragma.h Adding support for MSVC #pragma detect_mismatch functionality by emitting a FAILIFMISMATCH linker command into the object file. 2013-06-04 02:07:14 +00:00
ParseStmt.cpp Fix to PR8880 (clang dies processing a for loop) 2014-01-23 15:05:00 +00:00
ParseTemplate.cpp Introduce and use Decl::getAsFunction() to simplify templated function checks 2014-01-22 07:29:52 +00:00
ParseTentative.cpp TryConsume parser cleanups 2014-01-10 11:19:30 +00:00
Parser.cpp Introduce and use Decl::getAsFunction() to simplify templated function checks 2014-01-22 07:29:52 +00:00
RAIIObjectsForParser.h ExpectAndConsume: Diagnose errors automatically 2014-01-01 03:08:43 +00:00