summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-13 14:39:41 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-13 14:39:41 +0000
commit3a88c1d784d818afbcec58af6b4a44678ae09d00 (patch)
tree880a7a14d0eadfcc0aae1732a03af6b555982111 /clang/lib/CodeGen/CodeGenModule.cpp
parent87876a00537f7be696cc34f516da268bb8de4397 (diff)
downloadbcm5719-llvm-3a88c1d784d818afbcec58af6b4a44678ae09d00.tar.gz
bcm5719-llvm-3a88c1d784d818afbcec58af6b4a44678ae09d00.zip
Improve the internal representation and semantic analysis of friend
function templates. This commit ensures that friend function templates are constructed as FunctionTemplateDecls rather than partial FunctionDecls (as they previously were). It then implements template instantiation for friend function templates, injecting the friend function template only when no previous declaration exists at the time of instantiation. Oh, and make sure that explicit specialization declarations are not friends. llvm-svn: 83970
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud