Paul Fultz II c0c6f92221 Fix issue 8431 and 8776: Size of constant string
Fixes these cases:

```cpp
void f(void) {
        const std::string msg="xyz";
        if(!msg.empty()){} // Always true
}
```

And out of bounds access:

```cpp
#include <string>
char fstr1(){const std::string s = "<a><b>"; return s[42]; }
wchar_t fwstr1(){const std::wstring s = L"<a><b>"; return s[42]; }
```
2019-08-12 20:24:16 +02:00
..
2019-06-29 07:49:14 +02:00
2018-10-13 18:20:31 +02:00
2019-03-16 09:17:50 +01:00
2019-07-25 17:19:51 +02:00
2019-02-09 07:24:06 +01:00
2019-03-16 09:17:50 +01:00
2019-06-29 07:49:14 +02:00
2019-03-16 09:17:50 +01:00
2019-03-16 09:17:50 +01:00
2019-06-15 13:01:45 +02:00
2019-03-16 09:17:50 +01:00
2019-08-07 08:04:10 +02:00
2019-07-24 09:59:01 +02:00
2019-06-29 07:49:14 +02:00
2019-03-16 09:17:50 +01:00
2019-04-06 06:54:38 +02:00
2019-03-16 09:17:50 +01:00
2019-02-09 07:24:06 +01:00
2019-03-16 09:17:50 +01:00
2019-05-17 09:31:41 +02:00
2019-04-14 15:00:03 +02:00
2019-07-31 22:56:16 +02:00
2019-08-12 12:54:25 +02:00
2019-07-17 10:43:18 +02:00
2019-02-09 07:24:06 +01:00
2019-02-09 07:24:06 +01:00
2018-10-13 18:20:31 +02:00
2018-10-13 18:20:31 +02:00
2019-05-09 06:55:36 +02:00
2018-06-17 09:06:16 +02:00
2019-06-29 07:49:14 +02:00
2019-07-31 22:35:51 +02:00
2019-07-31 22:35:51 +02:00
2019-08-07 08:02:07 +02:00
2019-07-17 10:14:25 +02:00
2019-07-17 10:14:25 +02:00
2019-07-02 20:59:52 +02:00