]> granicus.if.org Git - clang/commit
Update StmtProfile.cpp to handle zero template arguments.
authorRichard Trieu <rtrieu@google.com>
Tue, 13 Feb 2018 19:53:40 +0000 (19:53 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 13 Feb 2018 19:53:40 +0000 (19:53 +0000)
commit3dd36031ada95bb8eb2174f90e86c854fd0582f4
treecb9bb7df8f420efba3e0925a85eddbf86ba1e9fe
parentc7b51f6714b68cc8b2e37441294ca08945e45e04
Update StmtProfile.cpp to handle zero template arguments.

Treat having no templates arguments differently than having zero template
arguments when profiling.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@325040 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/StmtProfile.cpp
test/Modules/odr_hash.cpp