Pass information in a record instead of stack. NFC
authorSerge Pavlov <sepavloff@gmail.com>
Mon, 8 Aug 2016 04:02:15 +0000 (04:02 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Mon, 8 Aug 2016 04:02:15 +0000 (04:02 +0000)
commitd931b9f20060ce3751614e889fa4629db13e9e66
tree3282627d886c0e0376ef6a3079b4e0d3f0b9818c
parent6af0a6bcfebd7eecf55f5451b4c2a9d2046737ec
Pass information in a record instead of stack. NFC

Functions of Sema that work with building of nested name specifiers have too
many parameters (BuildCXXNestedNameSpecifier already expects 10 arguments).
With this change the information about identifier and its context is packed
into a structure, which is then passes to the semantic functions.

llvm-svn: 277976
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseExprCXX.cpp
clang/lib/Sema/SemaCXXScopeSpec.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/TreeTransform.h