summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-04-01 16:23:44 +0000
committerReid Kleckner <reid@kleckner.net>2015-04-01 16:23:44 +0000
commit0a33e615f31ca2882893cf16f619e21632fbad66 (patch)
tree55a4b6073ca47a680457226a513fee3f092cfc0f /clang/test/CodeGen
parentba7c3ff32f7564b4503e5245a09052b4d0c23291 (diff)
downloadbcm5719-llvm-0a33e615f31ca2882893cf16f619e21632fbad66.tar.gz
bcm5719-llvm-0a33e615f31ca2882893cf16f619e21632fbad66.zip
Mark instantiated function decls as inline specified if any pattern is
A function template pattern can be declared without the 'inline' specifier and defined later with the 'inline' specifier. However, during instantiation, we were only looking at the canonical decl to see if we should mark the instantiated decl as inline specified. Since the instantiated decl actually represents many pattern declarations, put the inline specifier on the instantiation decl if any of the pattern decls have it. llvm-svn: 233817
Diffstat (limited to 'clang/test/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud