| 2655 | } |
| 2656 | |
| 2657 | void Token::Impl::setCppcheckAttribute(CppcheckAttributesType attrType, MathLib::bigint value) |
| 2658 | { |
| 2659 | CppcheckAttributes *attr = mCppcheckAttributes; |
| 2660 | while (attr && attr->type != attrType) |
| 2661 | attr = attr->next; |
| 2662 | if (attr) |
| 2663 | attr->value = value; |
| 2664 | else { |
| 2665 | attr = new CppcheckAttributes; |
| 2666 | attr->type = attrType; |
| 2667 | attr->value = value; |
| 2668 | attr->next = mCppcheckAttributes; |
| 2669 | mCppcheckAttributes = attr; |
| 2670 | } |
| 2671 | } |
| 2672 | |
| 2673 | bool Token::Impl::getCppcheckAttribute(CppcheckAttributesType attrType, MathLib::bigint &value) const |
| 2674 | { |
no outgoing calls
no test coverage detected