https://bugs.llvm.org/show_bug.cgi?id=32067
Bug ID: 32067
Summary: clang incorrectly treats strlen as an integer constant
expression
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: efrie...@codeaurora.org
CC: llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
Testcase (C):
#include <string.h>
int a[strlen("z")];
clang emits no error, even in -pedantic mode.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs