[all-commits] [llvm/llvm-project] b3e2da: [NFC] Don't pass temporary LangOptions to Lexer
yurai007 via All-commits
all-commits at lists.llvm.org
Mon Feb 28 11:45:39 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b3e2dac27c0cd4562e4ece5d5e24a1e59705c746
https://github.com/llvm/llvm-project/commit/b3e2dac27c0cd4562e4ece5d5e24a1e59705c746
Author: Dawid Jurczak <dawid_jurek at vp.pl>
Date: 2022-02-28 (Mon, 28 Feb 2022)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
M clang/lib/Tooling/Inclusions/HeaderIncludes.cpp
Log Message:
-----------
[NFC] Don't pass temporary LangOptions to Lexer
Since https://reviews.llvm.org/D120334 we shouldn't pass temporary LangOptions to Lexer.
This change fixes stack-use-after-scope UB in LocalizationChecker found by sanitizer-x86_64-linux-fast buildbot
and resolve similar issue in HeaderIncludes.
More information about the All-commits
mailing list