llvm-project/clang/lib/Parse
Hal Finkel 23a0739161 Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo
Clang supports __restrict__ as a function qualifier, but
DeclaratorChunk::FunctionTypeInfo lacked a field to track the qualifier's
source location (as we do with volatile, etc.). This was the subject of a FIXME
in GetFullTypeForDeclarator (in SemaType.cpp). This should also prove useful as
we add more warnings regarding questionable uses of the restrict qualifier.

There is no significant functional change (except for an improved source range
associated with the err_invalid_qualified_function_type diagnostic fixit
generated by GetFullTypeForDeclarator).

llvm-svn: 220215
2014-10-20 17:32:04 +00:00
..
CMakeLists.txt [CMake] Reorder libdeps by alphabetical order. 2014-07-14 04:59:27 +00:00
Makefile
ParseAST.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-12 05:09:18 +00:00
ParseCXXInlineMethods.cpp PR20760: Don't assert (and produce better diagnostics) if a default initializer 2014-08-27 03:23:12 +00:00
ParseDecl.cpp Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo 2014-10-20 17:32:04 +00:00
ParseDeclCXX.cpp -ms-extensions: Implement __super scope specifier (PR13236). 2014-09-26 00:28:20 +00:00
ParseExpr.cpp Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo 2014-10-20 17:32:04 +00:00
ParseExprCXX.cpp Add RestrictQualifierLoc to DeclaratorChunk::FunctionTypeInfo 2014-10-20 17:32:04 +00:00
ParseInit.cpp Refactoring. Remove release and take methods from ActionResult. Rename takeAs to getAs. 2014-05-29 10:55:11 +00:00
ParseObjc.cpp Parse: Replace polymorphic functor objects with lambdas and llvm::function_ref. 2014-09-03 11:06:10 +00:00
ParseOpenMP.cpp [OPENMP] 'omp teams' directive basic support. 2014-10-09 04:18:56 +00:00
ParsePragma.cpp MS Compat: mark globals emitted in read-only sections const 2014-10-16 20:52:46 +00:00
ParseStmt.cpp C++1y is now C++14! 2014-08-19 15:55:55 +00:00
ParseStmtAsm.cpp Initialize MCObjectFileInfo when parsing ms-style asm. 2014-10-03 21:48:23 +00:00
ParseTemplate.cpp C++1y is now C++14! 2014-08-19 15:55:55 +00:00
ParseTentative.cpp Be smarter when parsing variable declarations with unknown types. 2014-10-14 21:57:21 +00:00
Parser.cpp Revert "Fix late template parsing leak with incremental processing" 2014-10-15 17:22:56 +00:00
RAIIObjectsForParser.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00