ValueType: Hide assignment operator
This commit is contained in:
parent
f4c0ab5dd5
commit
5fb0f46a3a
|
@ -1028,6 +1028,9 @@ private:
|
||||||
|
|
||||||
/** Value type */
|
/** Value type */
|
||||||
class CPPCHECKLIB ValueType {
|
class CPPCHECKLIB ValueType {
|
||||||
|
private:
|
||||||
|
// No assignment
|
||||||
|
ValueType &operator=(const ValueType &other);
|
||||||
public:
|
public:
|
||||||
enum Sign { UNKNOWN_SIGN, SIGNED, UNSIGNED } sign;
|
enum Sign { UNKNOWN_SIGN, SIGNED, UNSIGNED } sign;
|
||||||
enum Type { UNKNOWN_TYPE, NONSTD, RECORD, CONTAINER, ITERATOR, VOID, BOOL, CHAR, SHORT, INT, LONG, LONGLONG, UNKNOWN_INT, FLOAT, DOUBLE, LONGDOUBLE } type;
|
enum Type { UNKNOWN_TYPE, NONSTD, RECORD, CONTAINER, ITERATOR, VOID, BOOL, CHAR, SHORT, INT, LONG, LONGLONG, UNKNOWN_INT, FLOAT, DOUBLE, LONGDOUBLE } type;
|
||||||
|
|
Loading…
Reference in New Issue