commit | 63c895a3cf935ba984b92320000262f5593b3e59 | [log] [tgz] |
---|---|---|
author | Jan Korous <jkorous@apple.com> | Mon Mar 19 20:26:18 2018 +0000 |
committer | Jan Korous <jkorous@apple.com> | Mon Mar 19 20:26:18 2018 +0000 |
tree | 6bf91c43135455c081a7ab723447c987aab1b478 | |
parent | 3c137a5ce2067253d676c883d146c77efe439a18 [diff] |
[clangd] Fix undefined behavior due to misaligned type cast The current code was casting pointer to a misaligned type which is undefined behavior. Found by compiling with Undefined Behavior Sanitizer and running tests (check-clang-tools). git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@327902 91177308-0d34-0410-b5e6-96231b3b80d8