1. Remove unused variable. NFC. (details)
  2. [NFCI] update formating for misleading indentation warning (details)
  3. [Diagnostic] add a warning which warns about misleading indentation (details)
  4. Switch to opening the temp file in binary mode (details)
  5. [Coverage] Emit a gap region to cover switch bodies (details)
  6. Fix warning on extra ';'. NFC. (details)
  7. Revert "[NFC] Pass a reference to CodeGenFunction to methods of LValue (details)
  8. [clangd] Fix comparator const after (details)
Commit 3953540d8bb5cf1d34851eeeadc0fd5ece486818 by michael.hliao
Remove unused variable. NFC.
The file was modifiedllvm/unittests/IR/PatternMatch.cpp
Commit 2f9604727526dedcd20b776ace4adfc058641ab2 by tyker
[NFCI] update formating for misleading indentation warning
Reviewers: xbolva00
Reviewed By: xbolva00
Differential Revision:
The file was modifiedclang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
Commit bc840b21e1612adb603b6c17be0329e3737bb943 by tyker
[Diagnostic] add a warning which warns about misleading indentation
Summary: Add a warning for misleading indentation similar to GCC's
Reviewers: aaron.ballman, xbolva00
Reviewed By: aaron.ballman, xbolva00
Subscribers: tstellar, cfe-commits, arphaman, Ka-Ka, thakis
Tags: #clang
Differential Revision:
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was modifiedclang/test/Index/pragma-diag-reparse.c
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/include/clang/Basic/
The file was modifiedclang/test/Misc/warning-wall.c
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/test/Preprocessor/pragma_diagnostic_sections.cpp
The file was addedclang/test/Parser/warn-misleading-indentation.cpp
The file was modifiedclang/include/clang/Basic/
Commit bf830b01a21e6ff2f44c17be4ad4ee897465a677 by aaron
Switch to opening the temp file in binary mode
This corrects an issue where the script would write the file with the
incorrect line endings on Windows.
The file was modifiedclang/test/AST/
Commit 859bf4d2bea2404bd2eac92451f2db4371ec6eb4 by Vedant Kumar
[Coverage] Emit a gap region to cover switch bodies
Emit a gap region beginning where the switch body begins. This sets line
execution counts in the areas between non-overlapping cases to 0.
This also removes some special handling of the first case in a switch:
these are now treated like any other case.
This does not resolve an outstanding issue with case statement regions
that do not end when a region is terminated. But it should address
Differential Revision:
The file was modifiedclang/docs/SourceBasedCodeCoverage.rst
The file was modifiedclang/test/CoverageMapping/switchmacro.c
The file was modifiedclang/lib/CodeGen/CoverageMappingGen.cpp
The file was modifiedclang/test/CoverageMapping/switch.cpp
Commit 59e69fefab883984e81c77aef58ba587060e87f2 by michael.hliao
Fix warning on extra ';'. NFC.
The file was modifiedclang/lib/Format/TokenAnnotator.cpp
Commit 9f37c0e703c095e6bee20dd3a64a5087dca967a8 by Akira
Revert "[NFC] Pass a reference to CodeGenFunction to methods of LValue
This reverts commit 8a5b7c35709d9ce1f44a99f0c5b084bf2696ea17. This seems
to have broken UBSan because of a null dereference.
The file was modifiedclang/lib/CodeGen/CGDecl.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/lib/CodeGen/CGExprComplex.cpp
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp
The file was modifiedclang/lib/CodeGen/CGExprAgg.cpp
The file was modifiedclang/lib/CodeGen/CGCall.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedclang/lib/CodeGen/CGValue.h
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
The file was modifiedclang/lib/CodeGen/CGAtomic.cpp
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/lib/CodeGen/CGExprCXX.cpp
The file was modifiedclang/lib/CodeGen/CGNonTrivialStruct.cpp
The file was modifiedclang/lib/CodeGen/CGClass.cpp
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp
The file was modifiedclang/lib/CodeGen/CGBlocks.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/lib/CodeGen/CGObjC.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp
The file was modifiedclang/lib/CodeGen/CGDeclCXX.cpp
Commit 1374f7bd9f07115a7c69908bf50ba22e77b0e149 by sam.mccall
[clangd] Fix comparator const after
The file was modifiedclang-tools-extra/clangd/Selection.cpp