SuccessChanges

Summary

  1. Avoid including CodeView/SymbolRecord.h from MCStreamer.h (details)
  2. Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with (details)
  3. [Docs] Fix header level. (details)
  4. [analyzer] Fix a crash on tracking Objective-C 'self' as a control (details)
  5. [analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor. (details)
Commit 7bbe711fb1b9057e48dec3c15b084eee7f8ff5fb by rnk
Avoid including CodeView/SymbolRecord.h from MCStreamer.h
Move the types needed out so they can be forward declared instead.
llvm-svn: 375325
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h
Commit 637af4cc37802a25564aa96c4d4eb3facbcff9b8 by rtrieu
Add -Wbitwise-conditional-parentheses to warn on mixing '|' and '&' with
"?:"
Extend -Wparentheses to cover mixing bitwise-and and bitwise-or with the
conditional operator. There's two main cases seen with this:
unsigned bits1 = 0xf0 | cond ? 0x4 : 0x1; unsigned bits2 = cond1 ? 0xf0
: 0x10 | cond2 ? 0x5 : 0x2;
// Intended order of evaluation: unsigned bits1 = 0xf0 | (cond ? 0x4 :
0x1); unsigned bits2 = (cond1 ? 0xf0 : 0x10) | (cond2 ? 0x5 : 0x2);
// Actual order of evaluation: unsigned bits1 = (0xf0 | cond) ? 0x4 :
0x1; unsigned bits2 = cond1 ? 0xf0 : ((0x10 | cond2) ? 0x5 : 0x2);
Differential Revision: https://reviews.llvm.org/D66043
llvm-svn: 375326
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/Sema/parentheses.c
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td
Commit d7cf99ae03704dad87cffe49a83af13f5b949c82 by bigcheesegs
[Docs] Fix header level.
llvm-svn: 375327
The file was modifiedclang/docs/Modules.rst
Commit ab2cec8b85cf84f0c734115205cc8b07b56bd3ae by Artem Dergachev
[analyzer] Fix a crash on tracking Objective-C 'self' as a control
dependency.
'self' was previously never tracked, but now it can be tracked because
it may be part of a condition.
llvm-svn: 375328
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was addedclang/test/Analysis/track-control-dependency-conditions.m
Commit 4a5df7312ec2c14360e4e12596a1ef63be39a480 by Artem Dergachev
[analyzer] PR43551: Do not dereferce void* in UndefOrNullArgVisitor.
Patch by Kristóf Umann!
Differential Revision: https://reviews.llvm.org/D68591
llvm-svn: 375329
The file was modifiedclang/test/Analysis/novoidtypecrash.c
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp