]> granicus.if.org Git - clang/commit
Step #1 to fixing PR2012: c89 allows declspecs to be completely
authorChris Lattner <sabre@nondot.org>
Sat, 5 Apr 2008 05:52:15 +0000 (05:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 5 Apr 2008 05:52:15 +0000 (05:52 +0000)
commita798ebc82627ea9cb7a00da07d2b60f9f2114f69
treed93e467566177639096fb005d937f34f4a0513d5
parentb10f273eb60db2f2205b955fe4f7a43e09a5e2f2
Step #1 to fixing PR2012: c89 allows declspecs to be completely
missing from function definitions only.  If we see a function
definiton with missing declspecs, just fudge in an int.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49250 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.h
lib/Parse/Parser.cpp
test/Sema/c89.c