]> granicus.if.org Git - clang/commit
Add fixits suggesting parenthesis around type name in expressions like sizeof.
authorSerge Pavlov <sepavloff@gmail.com>
Tue, 8 Oct 2013 16:56:30 +0000 (16:56 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Tue, 8 Oct 2013 16:56:30 +0000 (16:56 +0000)
commit2a0a49612ec8866fe2e75b1e0aab04326861b5f2
tree7403de5ec5bc9be944b2094f7bf35331d88b63a9
parentcea014bd8d280070caeb27e4e6e33e5723b4226f
Add fixits suggesting parenthesis around type name in expressions like sizeof.
This fixes PR16992 - Fixit missing when "sizeof type" found.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192200 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticParseKinds.td
lib/Parse/ParseExpr.cpp
test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp
test/CXX/expr/expr.unary/expr.sizeof/p1.cpp
test/Parser/expressions.c