summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Analysis/LoopPassManagerTest.cpp
diff options
context:
space:
mode:
authorFaisal Vali <faisalv@yahoo.com>2016-02-25 05:09:30 +0000
committerFaisal Vali <faisalv@yahoo.com>2016-02-25 05:09:30 +0000
commit640dc752a9445f67f3955475433b9fa2bbf9de98 (patch)
treed6aaf8d4f4fddc74c09514433341d2f1596fe269 /llvm/unittests/Analysis/LoopPassManagerTest.cpp
parent49bc69b9bbafd026aaa44cbc3ac1c671152f3507 (diff)
downloadbcm5719-llvm-640dc752a9445f67f3955475433b9fa2bbf9de98.tar.gz
bcm5719-llvm-640dc752a9445f67f3955475433b9fa2bbf9de98.zip
Twek fix for PR24473 (r261506) - Preserve the template arguments as written
(within the DeclRefExpr Node) when creating AST nodes that reference specializations of static data member templates. While we pass the template args through for all non-instance members, they should only be relevant (i.e. non-null) for variable template ids (assertion added for that assumption) Also preserve the FoundDecl that refers to the canonical Decl (the primary VarTemplateDecl for a variable template specialization) that we are referencing in our DeclRefExpr. Not sure why this was not being done for non-variable template-ids. No functionality change - so no tests added. Thanks to Richard Smith for drawing my attention to this! llvm-svn: 261823
Diffstat (limited to 'llvm/unittests/Analysis/LoopPassManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud