malavikasamak added inline comments.
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:11786
+ "%select{"
+"unsafe operation on raw pointer in expression|"
+"unsafe arithmetic on raw pointer|"
NoQ wrote:
> The first mode doesn't show up in any
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9bd0db80784e: [-Wunsafe-buffer-usage] Bug fix: Handles the
assertion violations for code… (authored by malavikasamak).
Herald added a project: clang.
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG777eb4bcfc32: [-Wunsafe-buffer-usage] Handle unevaluated
contexts that contain unsafe buffer… (authored by malavikasamak).
Herald added a project: cl
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGa046d1877201: [-Wunsafe-buffer-usage] FixableGadget for
handling stand alone pointers under… (authored by malavikasamak).
Herald added a project: cla
malavikasamak added inline comments.
Comment at: clang/lib/Analysis/UnsafeBufferUsage.cpp:1096
+ } else {
+SS << "&" << getExprText(DRE, SM, LangOpts).str() << ".data()"
+ << "[" << getExprText(Idx, SM, LangOpts).str() << "]";
The title and
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe7596a99fca6: [-Wunsafe-buffer-usage] Add Fixable for simple
pointer dereference (authored by malavikasamak).
Herald added a project: clang.
Herald a
malavikasamak added inline comments.
Comment at: clang/lib/Analysis/UnsafeBufferUsage.cpp:156
+ // 2. the operand of a cast-to-(Integer or Boolean) operation; or
+ // 3. the operand of a pointer subtraction operation; or
+ // 4. the operand of a pointer comparison operation; o
malavikasamak added inline comments.
Comment at: clang/lib/Analysis/UnsafeBufferUsage.cpp:156
+ // 2. the operand of a cast-to-(Integer or Boolean) operation; or
+ // 3. the operand of a pointer subtraction operation; or
+ // 4. the operand of a pointer comparison operation; o
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG50d4a1f70e11: [-Wunsafe-buffer-usage] Safe-buffers
re-architecture to introduce Fixable… (authored by malavikasamak).
Herald added a project: clang.
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG678ded017f21: [clang] Support for read-only types (authored
by malavikasamak).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc74a204826da: [analyzer] Fix false positive in
use-after-move checker (authored by malavikasamak).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monor
11 matches
Mail list logo