[coco] Class static head (#1498)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Fri, 14 Sep 2018 10:57:09 +0000 (19:57 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 14 Sep 2018 10:57:09 +0000 (19:57 +0900)
commitc2986b184cef733b547435a792ddcdd3fd15803f
treef25ad58b97abb483361fa17d0e390871f8a0303e
parent1040c008ece252abbc30f24cbf81995d7627fd6d
[coco] Class static head (#1498)

This commit replaces pure virtual head method with class static version
in order to support detach from destructor.

Note that destructor SHOULD NOT invoke virtual method.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/coco/core/include/coco/ADT/DLinkedList.h
contrib/coco/core/include/coco/IR/Block.h
contrib/coco/core/include/coco/IR/Instr.h
contrib/coco/core/src/ADT/DLinkedList.test.cpp
contrib/coco/core/src/IR/Block.cpp
contrib/coco/core/src/IR/Instr.cpp