- Timestamp:
- Jul 19, 2015 1:03:20 AM (9 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/string.h
r56291 r57005 534 534 * @sa RTCString::printfV 535 535 */ 536 Utf8Str(const char *a_pszFormat, va_list a_va) 536 Utf8Str(const char *a_pszFormat, va_list a_va) RT_IPRT_FORMAT_ATTR(1, 0) 537 537 : RTCString(a_pszFormat, a_va) 538 538 { … … 750 750 * the format string. 751 751 */ 752 explicit Utf8StrFmt(const char *a_pszFormat, ...) 752 explicit Utf8StrFmt(const char *a_pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2) 753 753 { 754 754 va_list va; … … 781 781 * @param ... List of the arguments for the format string. 782 782 */ 783 explicit BstrFmt(const char *aFormat, ...) 783 explicit BstrFmt(const char *aFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2) 784 784 { 785 785 va_list args; … … 806 806 * @param aArgs List of arguments for the format string 807 807 */ 808 BstrFmtVA(const char *aFormat, va_list aArgs) 808 BstrFmtVA(const char *aFormat, va_list aArgs) RT_IPRT_FORMAT_ATTR(1, 0) 809 809 { 810 810 copyFrom(Utf8Str(aFormat, aArgs).c_str()); -
trunk/include/iprt/cpp/ministring.h
r56291 r57005 172 172 * @remarks Not part of std::string. 173 173 */ 174 RTCString(const char *a_pszFormat, va_list a_va) 174 RTCString(const char *a_pszFormat, va_list a_va) RT_IPRT_FORMAT_ATTR(1, 0) 175 175 : m_psz(NULL), 176 176 m_cch(0), … … 341 341 * @returns Reference to the object. 342 342 */ 343 RTCString &printf(const char *pszFormat, ...) ;343 RTCString &printf(const char *pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2); 344 344 345 345 /** … … 355 355 * @returns Reference to the object. 356 356 */ 357 RTCString &printfV(const char *pszFormat, va_list va) ;357 RTCString &printfV(const char *pszFormat, va_list va) RT_IPRT_FORMAT_ATTR(1, 0); 358 358 359 359 /** … … 1060 1060 * the format string. 1061 1061 */ 1062 explicit RTCStringFmt(const char *a_pszFormat, ...) 1062 explicit RTCStringFmt(const char *a_pszFormat, ...) RT_IPRT_FORMAT_ATTR(1, 2) 1063 1063 { 1064 1064 va_list va;
Note:
See TracChangeset
for help on using the changeset viewer.