diff options
author | John McCall <rjmccall@apple.com> | 2009-08-15 02:09:25 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-08-15 02:09:25 +0000 |
commit | 07a5c22bb6fb0674c95205ae189365bf8e1b695e (patch) | |
tree | 65165508917e7a1e73b1edf3238c547bc1818744 /include/clang | |
parent | 2cff7d16fe58e6d6447ec9cad2af083beb20d6b5 (diff) |
Disable all recognition of main() in -ffreestanding. Addresses bug #4720.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r-- | include/clang/AST/Decl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 697c561cb7..d603e677b2 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -850,7 +850,7 @@ public: /// \brief Determines whether this is a function "main", which is /// the entry point into an executable program. - bool isMain() const; + bool isMain(ASTContext &Context) const; /// \brief Determines whether this function is a function with /// external, C linkage. |