aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-07-02 07:07:20 +0000
committerAlp Toker <alp@nuanti.com>2014-07-02 07:07:20 +0000
commit70fc29ca86f0f852ed0e3d007cff7b45bb396e7c (patch)
tree1ac8daef9f9e14a8af87f5862f13a3b97e509c7a /llvm/lib/CodeGen/MachineScheduler.cpp
parentf94baeb363a0c012563c19b7e1e281496543380c (diff)
downloadllvm-70fc29ca86f0f852ed0e3d007cff7b45bb396e7c.zip
llvm-70fc29ca86f0f852ed0e3d007cff7b45bb396e7c.tar.gz
llvm-70fc29ca86f0f852ed0e3d007cff7b45bb396e7c.tar.bz2
Don't accept qualified 'int' main return types in C++ or standard C mode
C++ [basic.start.main]p1: "It shall have a return type of type int" ISO C is also clear about this, so only accept 'int' with qualifiers in GNUMode C. llvm-svn: 212171
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions