]> granicus.if.org Git - clang/commit
Fix PR1992 by computing the right type for string literals, which
authorChris Lattner <sabre@nondot.org>
Mon, 11 Feb 2008 00:02:17 +0000 (00:02 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 11 Feb 2008 00:02:17 +0000 (00:02 +0000)
commita7ad98ff0919d6a24ea7c46634ea29bea551c1a0
tree81b36b35fcba035193d751e5de0470fad9cc212c
parent68f624e9eb2d80b2e5c1a51471a76782cb1bc70b
Fix PR1992 by computing the right type for string literals, which
is an array type not a pointer type.  This requires updating some
diags that change and updating the code generator to handle the
proper form of strings.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46941 91177308-0d34-0410-b5e6-96231b3b80d8
CodeGen/CGExprConstant.cpp
CodeGen/CodeGenModule.cpp
CodeGen/CodeGenModule.h
Sema/SemaExpr.cpp
include/clang/AST/Expr.h
test/Sema/argument-checking.m
test/Sema/array-init.c
test/Sema/compound-literal.c
test/Sema/i-c-e2.c