Generalize the consumed-parameter array on FunctionProtoType
authorJohn McCall <rjmccall@apple.com>
Tue, 1 Mar 2016 00:49:02 +0000 (00:49 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 1 Mar 2016 00:49:02 +0000 (00:49 +0000)
commit18afab762a6c22de74f1ef714178fb9d1da159b1
tree21e7d816b503992dffbc593f54cca2b040e6bb6f
parent6d0c8a036e1f6eabae4962b711836920f1a354e3
Generalize the consumed-parameter array on FunctionProtoType
to allow arbitrary data to be associated with a parameter.

Also, fix a bug where we apparently haven't been serializing
this information for the last N years.

llvm-svn: 262278
clang/include/clang/AST/ASTContext.h
clang/include/clang/AST/Type.h
clang/lib/AST/ASTContext.cpp
clang/lib/AST/Type.cpp
clang/lib/Sema/SemaOverload.cpp
clang/lib/Sema/SemaType.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp