[all-commits] [llvm/llvm-project] 449866: [AST] Initialized data after TypeSourceInfo
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Thu May 25 09:53:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4498663f3de0857359502469bb93fb850b0a8c2e
https://github.com/llvm/llvm-project/commit/4498663f3de0857359502469bb93fb850b0a8c2e
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-05-25 (Thu, 25 May 2023)
Changed paths:
M clang/include/clang/AST/Type.h
M clang/include/clang/AST/TypeLoc.h
M clang/lib/AST/ASTContext.cpp
Log Message:
-----------
[AST] Initialized data after TypeSourceInfo
There is no initialization of the data between allocation
and first getBeginLoc call.
allocation: llvm-project/clang/lib/AST/ASTContext.cpp:3022
use: llvm-project/clang/lib/AST/TypeLoc.cpp:222
Msan report https://reviews.llvm.org/P8306
Reviewed By: thurston
Differential Revision: https://reviews.llvm.org/D150499
More information about the All-commits
mailing list