- Jun 22, 2012
-
-
James Dennett authored
llvm-svn: 158985
-
James Dennett authored
llvm-svn: 158982
-
James Dennett authored
llvm-svn: 158981
-
James Dennett authored
* Primarily fixed \param commands with names not matching any actual parameters of the documented functions. In many cases this consists just of fixing up the parameter name in the \param to match the code, in some it means deleting obsolete documentation and occasionally it means documenting the parameter that has replaced the older one that was documented, which sometimes means some simple reverse-engineering of the docs from the implementation; * Fixed \param ParamName [out] to the correct format with [out] before the parameter name; * Fixed some \brief summaries. llvm-svn: 158980
-
James Dennett authored
* Added \file documentation for PPCallbacks.h; * Added/formated \brief summaries; * Deleted documentation for parameters that no longer exist; * Used \param more systematically for documentation of parameters; * Escaped # characters in Doxygen comments. llvm-svn: 158978
-
James Dennett authored
* Add \file documentation; * Add \verbatim...\endverbatim markup as needed; * Add \brief summaries; * Escaped "::" in Doxygen comments when preceded by space, to avoid a Doxygen warning where Doxygen takes this as an explicit link request; * Add \code...\endcode markup to code examples; * Fix a grammatical glitch in "is this declarator is a". llvm-svn: 158977
-
James Dennett authored
* Add \brief summaries; * Escape # characters in Doxygen comments; * Add \code...\endcode markup for code examples; * Add \verbatim...\endverbatim markup for grammar productions. llvm-svn: 158976
-
James Dennett authored
* Add \brief summaries; * Escaped # characters in Doxygen comments; * Added some \see cross-references. llvm-svn: 158975
-
James Dennett authored
llvm-svn: 158974
-
James Dennett authored
llvm-svn: 158973
-
James Dennett authored
llvm-svn: 158972
-
James Dennett authored
* Use \p param for a parameter reference, not the (erroneous) form \arg param; * Escape # characters in Doxygen comments as needed. llvm-svn: 158971
-
James Dennett authored
llvm-svn: 158970
-
James Dennett authored
llvm-svn: 158969
-
James Dennett authored
llvm-svn: 158968
-
James Dennett authored
a recent commit), and eliminated a Doxygen error by changing a comment inside a function to not be a Doxygen comment. llvm-svn: 158967
-
James Dennett authored
* Escaped # and < characters in Doxygen comments as needed; * Fixed up some \brief summaries; * Marked up some parameter references with \p; * Added \code...\endcode around code examples; * Used \returns a little more. llvm-svn: 158966
-
James Dennett authored
llvm-svn: 158965
-
James Dennett authored
* Made \brief documentation be brief, mostly by adding a blank line to make the rest of the text be part of the detailed description only; * Removed "FunctionOrClassName - " and other redundant text from the start of Doxygen comments. llvm-svn: 158964
-
Anna Zaks authored
transfered with dataWithBytesNoCopy. llvm-svn: 158958
-
Jordan Rose authored
llvm-svn: 158954
-
Rafael Espindola authored
llvm-svn: 158950
-
Rafael Espindola authored
Revert "If an object (such as a std::string) with an appropriate c_str() member function" This reverts commit 7d96f6106bfbd85b1af06f34fdbf2834aad0e47e. llvm-svn: 158949
-
Dmitri Gribenko authored
Handle include directive with comments. It turns out that in this case comments are not coming in source order. Instead of trying to std::sort() comments (which can be costly), just remove comments that are not in order. llvm-svn: 158940
-
- Jun 21, 2012
-
-
Fariborz Jahanian authored
then it should get the same warnings that id->isa gets. // rdar://11702488 llvm-svn: 158938
-
Dmitri Gribenko authored
llvm-svn: 158936
-
Anna Zaks authored
CallGraph's recursive visitor only needs to collect declarations; their bodies will be processed later on. RecursiveASTVisitor will recurse on the bodies if the definition is provided along with declaration. Optimize, by not recursing on any of the statements. llvm-svn: 158934
-
David Blaikie authored
This now correctly covers, I believe, all the pointer types: * 'any' pointers (both function and data normal pointers and ObjC object pointers) * member pointers (both function and data) * block pointers llvm-svn: 158931
-
Fariborz Jahanian authored
method declarations. // rdar://11578353. llvm-svn: 158929
-
John McCall authored
TargetSimulatroVersionFromDefines if present; this also makes it easier to chain things correctly. Noted by an internal review. llvm-svn: 158926
-
Alexey Samsonov authored
llvm-svn: 158916
-
NAKAMURA Takumi authored
Revert r158423 corresponding to r158796, "test/Driver/warning-options.cpp: Mark as XFAIL:cygming. -pedantic is passed with gcc-as driver. PR12920" llvm-svn: 158915
-
Chandler Carruth authored
The fundamental change is to put a CMakeLists.txt file in the unittest directory, with a single test binary produced from it. This has several advantages. Among other fundamental advantages, we start to get the checking logic for when a file is missing from the CMake build, and this caught one missing file already! More fun details in the LLVM commit corresponding to this one. Note that the LLVM commit and this one most both be applied, or neither. Sorry for any skew issues. llvm-svn: 158910
-
Daniel Jasper authored
again. This was broken in r158395. llvm-svn: 158907
-
Alexey Samsonov authored
1. Accept flags -g[0-3], -ggdb[0-3], -gdwarf-[2-4] and collapse them to simple -g (except -g0/-ggdb0). 2. Produce driver error on unsupported formats (-gcoff, -gstabs, -gvms) and options (-gtoggle). 3. Recognize and ignore flags -g[no-]strict-dwarf, -g[no-]record-gcc-switches. llvm-svn: 158906
-
Jordan Rose authored
In C, enum constants have the type of the enum's underlying integer type, rather than the type of the enum. (This is not true in C++.) This leads to odd warnings when returning enum constants directly in blocks with inferred return types. The easiest way out of this is to pretend that, like C++, enum constants have enum type when being returned from a block. <rdar://problem/11662489> llvm-svn: 158899
-
Jordan Rose authored
Also, don't warn if the used function is __attribute__((const)), in which case it's not supposed to use global variables anyway. The inline-in-inline thing is a heuristic, and one that's possibly incorrect fairly often because the function being inlined could definitely use global variables. However, even some C standard library functions are written using other (trivial) static-inline functions in the headers, and we definitely don't want to be warning on that (or on anything that /uses/ these trivial inline functions). So we're using "inlined" as a marker for "fairly trivial". (Note that __attribute__((pure)) does /not/ guarantee safety like ((const), because ((const)) does not guarantee that global variables are not being used, and the warning is about globals not being shared across TUs.) llvm-svn: 158898
-
Chandler Carruth authored
implementation. Yay for '-' lines in CMake! llvm-svn: 158897
-
Richard Smith authored
appropriate. Patch by João Matos! llvm-svn: 158895
-
Chandler Carruth authored
match the LLVM implemenation. This also simplifies the name management and splits the custom library management out from the unittest specific management. It finally drops the dependency on parsing cmake arguments. llvm-svn: 158894
-